nbox.framework.on_functions
This contains the code for our public static code parsers. We will be moving them internally as we expand our scope. Till then here's all the code we have written till now. Keep a lookout for Timeless
from NimbleBox.
Functions
Render code for any program.
Returns code piece for any section given all the lines it contains
Takes an ast.arguments
list and reutrns kwarg/value pair from it.
Given a node, try to extract it's name.
Given a node, try to extract it's kwargs.
Return nbox.hyperloop
Node for assign or expressions
Return nbox.hyperloop
Node for if conditional
Return nbox.hyperloop
Node for as for loop.
Return nbox.hyperloop
Node for a return method.
Return nbox.hyperloop
Node for any function or class definition.
Return nbox.hyperloop
Node for any asyn function.
Return default nbox.hyperloop
Node.
- forward -
the function whose flowchart is to be generated
Get NBX flowchart. Read python grammar here <https://docs.python.org/3/reference/grammar.html>
_
Classes
Render code for any function.
Render code for any definition.
Render code for any for loop.
Render code for any return statement.