![]() |
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 | reset |
def | consume |
def | LA |
def | LT |
def | index |
def | size |
def | mark |
def | rewind |
def | release |
def | seek |
def | substring |
def | getLine |
def | getCharPositionInLine |
def | setLine |
def | setCharPositionInLine |
def | getSourceName |
![]() | |
def | substring |
def | LT |
def | getLine |
def | setLine |
def | getCharPositionInLine |
def | setCharPositionInLine |
![]() | |
def | consume |
def | LA |
def | mark |
def | index |
def | rewind |
def | release |
def | seek |
def | size |
def | getSourceName |
Public Attributes | |
p | |
line | |
charPositionInLine | |
lastMarker | |
markDepth | |
Additional Inherited Members | |
![]() | |
int | EOF = -1 |
@brief CharStream that pull data from a unicode string. A pretty quick CharStream that pulls all data from an array directly. Every method call counts in the lexer.
def google.appengine._internal.antlr3.streams.ANTLRStringStream.__init__ | ( | self, | |
data | |||
) |
@param data This should be a unicode string holding the data you want to parse. If you pass in a byte string, the Lexer will choke on non-ascii data.
def google.appengine._internal.antlr3.streams.ANTLRStringStream.getCharPositionInLine | ( | self | ) |
Using setter/getter methods is deprecated. Use o.charPositionInLine instead.
def google.appengine._internal.antlr3.streams.ANTLRStringStream.getLine | ( | self | ) |
Using setter/getter methods is deprecated. Use o.line instead.
def google.appengine._internal.antlr3.streams.ANTLRStringStream.index | ( | self | ) |
Return the current input symbol index 0..n where n indicates the last symbol has been read. The index is the index of char to be returned from LA(1).
def google.appengine._internal.antlr3.streams.ANTLRStringStream.reset | ( | self | ) |
Reset the stream so that it's in the same state it was when the object was created *except* the data array is not touched.
def google.appengine._internal.antlr3.streams.ANTLRStringStream.seek | ( | self, | |
index | |||
) |
consume() ahead until p==index; can't just set p=index as we must update line and charPositionInLine.
def google.appengine._internal.antlr3.streams.ANTLRStringStream.setCharPositionInLine | ( | self, | |
pos | |||
) |
Using setter/getter methods is deprecated. Use o.charPositionInLine instead.
def google.appengine._internal.antlr3.streams.ANTLRStringStream.setLine | ( | self, | |
line | |||
) |
Using setter/getter methods is deprecated. Use o.line instead.