App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Classes | Functions | Variables
google.appengine._internal.antlr3.treewizard Namespace Reference

Classes

class  TreePattern
 
class  TreePatternLexer
 
class  TreePatternParser
 
class  TreePatternTreeAdaptor
 
class  TreeWizard
 
class  WildcardTreePattern
 

Functions

def computeTokenTypes
 

Variables

int EOF = -1
 token types for pattern parser
 
int BEGIN = 1
 
int END = 2
 
int ID = 3
 
int ARG = 4
 
int PERCENT = 5
 
int COLON = 6
 
int DOT = 7
 

Detailed Description

@package antlr3.tree
@brief ANTLR3 runtime package, treewizard module

A utility module to create ASTs at runtime.
See <http://www.antlr.org/wiki/display/~admin/2007/07/02/Exploring+Concept+of+TreeWizard> for an overview. Note that the API of the Python implementation is slightly different.

Function Documentation

def google.appengine._internal.antlr3.treewizard.computeTokenTypes (   tokenNames)
Compute a dict that is an inverted index of
tokenNames (which maps int token types to names).