![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | getText |
def | setText |
def | getType |
def | setType |
def | getLine |
def | setLine |
def | getCharPositionInLine |
def | setCharPositionInLine |
def | getChannel |
def | setChannel |
def | getTokenIndex |
def | setTokenIndex |
def | getInputStream |
def | setInputStream |
def | toString |
![]() | |
def | getText |
def | setText |
def | getType |
def | setType |
def | getLine |
def | setLine |
def | getCharPositionInLine |
def | setCharPositionInLine |
def | getChannel |
def | setChannel |
def | getTokenIndex |
def | setTokenIndex |
def | getInputStream |
def | setInputStream |
Public Attributes | |
text | |
type | |
line | |
charPositionInLine | |
channel | |
index | |
@brief Alternative token implementation. A Token object like we'd use in ANTLR 2.x; has an actual string created and associated with this object. These objects are needed for imaginary tree nodes that have payload objects. We need to create a Token object that has a string; the tree node will point at this token. CommonToken has indexes into a char stream and hence cannot be used to introduce new strings.