Classes | |
| class | graph |
Functions | |
| def | expr_split |
| def | expr_prepend |
| def | get_variable_dependencies |
| def | get_graph |
| def | sort_variables |
Variables | |
| string | VAR_CHARS = '_' |
| def grc_gnuradio.utils.expr_utils.expr_prepend | ( | expr, | ||
| vars, | ||||
| prepend | ||||
| ) |
Search for vars in the expression and add the prepend.
| expr | an expression string | |
| vars | a list of variable names | |
| prepend | the prepend string |
Definition at line 81 of file expr_utils.py.
| def grc_gnuradio.utils.expr_utils.expr_split | ( | expr | ) |
Split up an expression by non alphanumeric characters, including underscore. Leave strings in-tact. TODO ignore escaped quotes, use raw strings.
| expr | an expression string |
Definition at line 55 of file expr_utils.py.
| def grc_gnuradio.utils.expr_utils.get_graph | ( | exprs | ) |
Get a graph representing the variable dependencies
| exprs | a mapping of variable name to expression |
Definition at line 104 of file expr_utils.py.
| def grc_gnuradio.utils.expr_utils.get_variable_dependencies | ( | expr, | ||
| vars | ||||
| ) |
Return a set of variables used in this expression.
| expr | an expression string | |
| vars | a list of variable names |
Definition at line 94 of file expr_utils.py.
| def grc_gnuradio.utils.expr_utils.sort_variables | ( | exprs | ) |
Get a list of variables in order of dependencies.
| exprs | a mapping of variable name to expression |
| AssertionError | circular dependencies |
Definition at line 119 of file expr_utils.py.
string grc_gnuradio::utils::expr_utils.VAR_CHARS = '_' [static] |
Definition at line 24 of file expr_utils.py.
1.5.4