Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
Public Member Functions | |
def | __init__ |
def | __str__ |
Public Attributes | |
parent | |
scanner | |
rule | |
args | |
token |
Class to represent the parser's call stack. Every rule creates a Context that links to its parent rule. The contexts can be used for debugging.
def aidacc.yapps2runtime.Context.__init__ | ( | self, | |
parent, | |||
scanner, | |||
rule, | |||
args = () |
|||
) |
Create a new context. Args: parent: Context object or None scanner: Scanner object rule: string (name of the rule) args: tuple listing parameters to the rule