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

runtime::Scanner Class Reference

List of all members.

Detailed Description

Yapps scanner.

The Yapps scanner can work in context sensitive or context
insensitive modes.  The token(i) method is used to retrieve the
i-th token.  It takes a restrict set that limits the set of tokens
it is allowed to return.  In context sensitive mode, this restrict
set guides the scanner.  In context insensitive mode, there is no
restriction (the set is always the full set of tokens).

Definition at line 38 of file runtime.py.

Public Member Functions

def __init__
def __repr__
def get_char_pos
def get_column_number
def get_input_scanned
def get_input_unscanned
def get_line_number
def get_prev_char_pos
def get_token_pos
def scan
def token

Public Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index