Logo Search packages:      
Sourcecode: yapps2 version File versions  Download package

def runtime::Context::__init__ (   self,
  parent,
  scanner,
  tokenpos,
  rule,
  args = () 
)

Create a new context.

Args:
parent: Context object or None
scanner: Scanner object
pos: integer (scanner token position)
rule: string (name of the rule)
args: tuple listing parameters to the rule

Definition at line 215 of file runtime.py.

00215                                                                 :
        """Create a new context.

        Args:
        parent: Context object or None
        scanner: Scanner object
        pos: integer (scanner token position)
        rule: string (name of the rule)
        args: tuple listing parameters to the rule

        """
        self.parent = parent
        self.scanner = scanner
        self.tokenpos = tokenpos
        self.rule = rule
        self.args = args

    def __str__(self):


Generated by  Doxygen 1.6.0   Back to index