![]() |
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 | __str__ |
![]() | |
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 | |
type | |
line | |
charPositionInLine | |
channel | |
index | |
input | |
start | |
stop | |
Properties | |
text = property(getText, setText) | |
@brief Basic token implementation. This implementation does not copy the text from the input stream upon creation, but keeps start/stop pointers into the stream to avoid unnecessary copy operations.
def google.appengine._internal.antlr3.tokens.CommonToken.setText | ( | self, | |
text | |||
) |
Override the text for this token. getText() will return this text rather than pulling from the buffer. Note that this does not mean that start/stop indexes are not valid. It means that that input was converted to a new string in the token object.