App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine._internal.antlr3.streams.ANTLRStringStream Class Reference
Inheritance diagram for google.appengine._internal.antlr3.streams.ANTLRStringStream:
google.appengine._internal.antlr3.streams.CharStream google.appengine._internal.antlr3.streams.IntStream google.appengine._internal.antlr3.streams.ANTLRFileStream google.appengine._internal.antlr3.streams.ANTLRInputStream

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
 
- Public Member Functions inherited from google.appengine._internal.antlr3.streams.CharStream
def substring
 
def LT
 
def getLine
 
def setLine
 
def getCharPositionInLine
 
def setCharPositionInLine
 
- Public Member Functions inherited from google.appengine._internal.antlr3.streams.IntStream
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

- Static Public Attributes inherited from google.appengine._internal.antlr3.streams.CharStream
int EOF = -1
 

Detailed Description

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

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

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