Function get expression from stmt
get expression from stmt
Format:
get expression from stmt
Input:
Output:
Properties that reference this function:
if test:
= test (Get test from if statement)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