Function get expression from stmt

get expression from stmt

Format:

get expression from stmt

Input:

statement stmt -

Output:

any - None

Properties that reference this function:

get expression from (assign statement with target c and expression (constant of value x)) = constant of value x (Get expression from assignment)
get expression from (assign statement with target c and expression (variable of value x)) = variable of value x (Get variable expression from assignment)
get expression from (assign statement with target c and expression (function call with name: a and arguments: b)) = function call with name: a and arguments: b (Get call expression from assignment)
get expression from if test: = test (Get test from if statement)
get expression from while test: = test (Get test from while statement)

Conditional properties that reference this function:

  • if is (value at j in map (the element at index i of stack stmts)) an assign statement = True, then result of executing a Python program where statements is stmts, line is i, tab isj, expression stack is[ ], values stack isvals, variables isvars, and control map iscontrol = result of executing a Python program where statements is stmts, line is i, tab isj, expression stack is[ [ get expression from (value at j in map (the element at index i of stack stmts)), [ ] ], [ ] ], values stack is[ [ ], [ ] ], variables isvars, and control map iscontrol

    (link)
  • if is (value at j in map (the element at index i of stack stmts)) an if statement = True, then result of executing a Python program where statements is stmts, line is i, tab isj, expression stack is[ ], values stack isvals, variables isvars, and control map iscontrol = result of executing a Python program where statements is stmts, line is i, tab isj, expression stack is[ [ get expression from (value at j in map (the element at index i of stack stmts)), [ ] ], [ ] ], values stack is[ [ ], [ ] ], variables isvars, and control map iscontrol

    (link)
  • if is (value at j in map (the element at index i of stack stmts)) a while statement = True, then result of executing a Python program where statements is stmts, line is i, tab isj, expression stack is[ ], values stack isvals, variables isvars, and control map iscontrol = result of executing a Python program where statements is stmts, line is i, tab isj, expression stack is[ [ get expression from (value at j in map (the element at index i of stack stmts)), [ ] ], [ ] ], values stack is[ [ ], [ ] ], variables isvars, and control map iscontrol

    (link)


Comments

Please log in to add comments