App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | Properties | List of all members
google.appengine._internal.antlr3.tokens.CommonToken Class Reference
Inheritance diagram for google.appengine._internal.antlr3.tokens.CommonToken:
google.appengine._internal.antlr3.tokens.Token

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__
 
- Public Member Functions inherited from google.appengine._internal.antlr3.tokens.Token
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)
 

Detailed Description

@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.

Member Function Documentation

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.

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