(self, values, memory, syntax)
Initialise statement context.
Initialise statement context.
Initialise statement context .
def __init__(self, values, memory, syntax):
        """Initialise statement context."""
        # re-execute current statement after Break
        self.redo_on_break = False
        # expression parser
        self.expression_parser = expressions.ExpressionParser(values, memory)
        self.user_functions = self.expression_parser.user_functions
        # syntax: advanced, pcjr, tandy
        self._syntax = syntax
        # initialise syntax parser tables
        self._init_syntax()
def __init__ ( self , values , memory , syntax ) : # re-execute current statement after Break self . redo_on_break = False # expression parser self . expression_parser = expressions . ExpressionParser ( values , memory ) self . user_functions = self . expression_parser . user_functions # syntax: advanced, pcjr, tandy self . _syntax = syntax # initialise syntax parser tables self . _init_syntax ( )