Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list For NameStore NameLoad body TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body Expr Str Assert CompareEq Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases body Assign NameStore Dict Str Str Str Str Str Str Str Str NameLoad Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str NameLoad Str Str Str Str Str Str Str Str Str Str Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpAdd Str Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str UnaryOpNot Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr BinOpMult Call NameLoad AttributeLoad NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore BinOpMult Str BinOpMult NameLoad Num If CompareIn NameLoad NameLoad body Return Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str BinOpAdd Str NameLoad Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str Str Str Str Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str Str Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str Str Str Str Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr Str body Assign NameStore ListLoad Str Assign NameStore ListLoad Str Str Str Str Assign NameStore ListLoad Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore ListLoad For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str BinOpMod Str TupleLoad NameLoad NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A 
Code generator for targets such as the tracer and trace player.
 Cheetah.Template Template N/A sys N/A os N/A Common common Log common Config GeneratorException N/A Exception N/A N/A N/A generate N/A N/A templates namespace outputFile N/A N/A sys stdout N/A N/A 
  Process a list of templates and write the result to a file object.
  
  @param templates:       A list of templates to process
  @param namespace:       A dictionary of objects that the templates may access
  @param outputFile:      Output file object.
   processTemplate N/A N/A inputFile outputFile searchList N/A N/A N/A t N/A Template file inputFile searchList searchList N/A N/A N/A outputFile write N/A str t N/A process N/A N/A templateName N/A N/A N/A N/A processTemplate N/A open templateName outputFile namespace N/A N/A template templates N/A N/A N/A N/A N/A process template N/A N/A N/A Exception N/A e N/A N/A N/A N/A Log error N/A Exception while processing template '%s': %s N/A template e N/A N/A Generator N/A object N/A N/A 
  Main code generator.
   __init__ N/A N/A self config platform libraries templatePath N/A templates N/A N/A 
    Generator constructor.
    
    @param config:        Configuration object, see L{Parser.parseConfig}.
    @param platform:      Code generation target Platform
    @param libraries:     List of one or more Libraries to generate code from
    @param templatePath:  Path to template files
     N/A N/A N/A type libraries list N/A N/A self config config N/A N/A self templatePath templatePath N/A N/A self platform platform N/A N/A self libraries libraries N/A generate N/A N/A self outputFile N/A N/A sys stdout N/A N/A N/A RuntimeError The abstract generator should not be used. N/A N/A GeneratorTemplateInterface N/A N/A N/A nativeTypeLogger N/A int enum float double short byte pointer object None trIntegerValue trIntegerValue trFloatValue trDoubleValue trShortValue trByteValue trPointerValue trObjectValue trIntegerValue N/A nativeArrayTypeLogger N/A object pointer int float double short byte enum trObjectArrayValue trIntegerArrayValue trIntegerArrayValue trFloatArrayValue trDoubleArrayValue trShortArrayValue trByteArrayValue trIntegerArrayValue N/A cType N/A int enum pointer object float double short byte TRint TRenum void TRhandle TRfloat TRdouble TRshort TRubyte N/A nativeTypeLoader N/A int enum float double short byte short pointer object None trGetIntegerValue trGetIntegerValue trGetFloatValue trGetDoubleValue trGetShortValue trGetByteValue trGetFloatValue trGetPointerValue trGetObjectValue trGetIntegerValue N/A 
  An interface that the tracer templates may use when generating code.
   __init__ N/A N/A self platform config libraries N/A N/A N/A 
    @param libraries:   Libraries for code generation
     N/A N/A self libraries libraries N/A N/A self config config N/A N/A self platform platform N/A logMessage N/A N/A self msg N/A N/A N/A 
    Emit an informational message from a template.
    @param msg Message to log
     N/A N/A getNativeType N/A N/A self library type N/A N/A N/A 
    Get the native equivalent of a Type instance.
    
    @param library:   Library from which the type is searched
    @param type:      Type instance to convert to native type
    @returns the name of the matching native type or None
     N/A t N/A N/A library getNativeType type N/A N/A t N/A N/A N/A N/A Log warn N/A Type '%s' has no mapping to a native equivalent; defaulting to 'int'. N/A type declaration N/A t int N/A t N/A isVoidType N/A N/A self library type N/A N/A N/A 
    Determine whether a type corresponds to void.
    
    @param library:   Library from which the type is searched
    @param type:      Type to test
     N/A N/A N/A N/A self getNativeType library type void N/A safeName N/A N/A self name N/A N/A N/A 
    @returns a C identifier compatible version of string 'name'.
     N/A N/A N/A N/A N/A name replace - _ replace _ N/A getStatePathIdentifier N/A N/A self path N/A N/A N/A 
    Get a unique identifier for a given state path.
     N/A N/A TRS_ N/A N/A _ join N/A N/A N/A n upper N/A n path N/A getClassIdentifier N/A N/A self type N/A N/A N/A 
    Get a unique identifier for a given type.
     N/A N/A TR_%s_CLSID N/A N/A N/A type name upper N/A getMangledFunctionName N/A N/A self function N/A N/A N/A 
    Get a mangled name for a function as determined by the calling convention
     N/A N/A N/A N/A N/A self platform entryLinkage __stdcall N/A N/A int N/A N/A N/A self config get disable_stdcall_mangling 0 N/A N/A N/A _%s@%d N/A N/A function name N/A N/A len N/A function parameters 4 N/A N/A function name N/A getMacroParameterList N/A N/A self function N/A N/A N/A 
    A comma-separated list of parameters for a given function suitable for passing
    to the TR_CALL macro
     N/A N/A N/A ,  join N/A N/A %s, %s N/A N/A p type N/A p name N/A p N/A N/A N/A function parameters values N/A N/A p name None N/A emitHook N/A N/A self name collection indent N/A 1 N/A N/A 
    Return code for a function hook from the given collection,
    or a comment describing the hook if no hook implementation was found.
    
    @param name:        Code hook name
    @param collection:  Dictionary of available hook implementations
    @param indent:      Indentation level, zero for no indendation
     N/A indent N/A N/A indent 4 N/A N/A name collection N/A N/A N/A N/A N/A collection N/A name replace N/A indent N/A N/A /* Code hook: %s */ name N/A fail N/A N/A self reason N/A N/A N/A N/A GeneratorException reason N/A N/A TracerGenerator N/A Generator N/A N/A 
  Tracer code generator.
   generate N/A N/A self outputFile N/A N/A sys stdout N/A N/A templates N/A tracer/header.c.tmpl tracer/state.c.tmpl tracer/classes.c.tmpl tracer/functions.c.tmpl tracer/init.c.tmpl N/A templates N/A N/A N/A N/A os path join N/A self templatePath t N/A t templates N/A namespace N/A N/A GeneratorTemplateInterface N/A self platform N/A self config N/A self libraries N/A libraries platform config N/A self libraries N/A self platform N/A self config N/A N/A generate templates namespace outputFile N/A N/A PassthroughTracerGenerator N/A Generator N/A N/A 
  Tracer code generator.
   generate N/A N/A self outputFile N/A N/A sys stdout N/A N/A templates N/A passthrough-tracer/header.c.tmpl passthrough-tracer/functions.c.tmpl passthrough-tracer/init.c.tmpl N/A templates N/A N/A N/A N/A os path join N/A self templatePath t N/A t templates N/A namespace N/A N/A GeneratorTemplateInterface N/A self platform N/A self config N/A self libraries N/A libraries platform config N/A self libraries N/A self platform N/A self config N/A N/A generate templates namespace outputFile N/A N/A PlayerGenerator N/A Generator N/A N/A 
  Player code generator.
   generate N/A N/A self outputFile N/A N/A sys stdout N/A N/A templates N/A player/header.c.tmpl tracer/state.c.tmpl player/classes.c.tmpl player/functions.c.tmpl player/init.c.tmpl N/A templates N/A N/A N/A N/A os path join N/A self templatePath t N/A t templates N/A namespace N/A N/A GeneratorTemplateInterface N/A self platform N/A self config N/A self libraries N/A libraries platform config N/A self libraries N/A self platform N/A self config N/A N/A generate templates namespace outputFile N/A N/A CSourcePlayerGenerator N/A Generator N/A N/A 
  C source code player code generator.
   generate N/A N/A self outputFile N/A N/A sys stdout N/A N/A templates N/A cplayer/cplayer-symbian.cpp.tmpl N/A templates N/A N/A N/A N/A os path join N/A self templatePath t N/A t templates N/A namespace N/A N/A GeneratorTemplateInterface N/A self platform N/A self config N/A self libraries N/A libraries platform config N/A self libraries N/A self platform N/A self config N/A N/A generate templates namespace outputFile N/A N/A generateMakefile N/A N/A outputFile templatePath N/A N/A sys stdout templates N/A N/A templates N/A generator-makefile.tmpl N/A platforms N/A android unix symbian win32 N/A genTargets N/A tracer passthrough_tracer player N/A apis N/A egl13 gles11 gles20 vg11 gles11-egl11 vgu11 gles11-vg101-egl13 gles11-vg11-egl13 gles20-vg11-egl13 gles20-egl13 gles11-egl13 vg11-vgu11-egl13 gles11-vg11-vgu11-egl13 gles20-vg11-vgu11-egl13 vg11-egl13 config/egl/v1.3/egl.conf config/gles/v1.1/gles.conf config/gles/v2.0/gles.conf config/vg/v1.1/vg.conf config/gles/v1.1/gles-egl.conf config/vgu/v1.1/vgu.conf config/cross-api/gles-vg-egl/gles-vg-egl.conf config/cross-api/gles-vg-egl/gles11-vg11-egl13.conf config/cross-api/gles-vg-egl/gles20-vg11-egl13.conf config/cross-api/gles-egl/gles20-egl13.conf config/cross-api/gles-egl/gles11-egl13.conf config/cross-api/vg-vgu-egl/vg11-vgu11-egl13.conf config/cross-api/gles-vg-vgu-egl/gles11-vg11-vgu11-egl13.conf config/cross-api/gles-vg-vgu-egl/gles20-vg11-vgu11-egl13.conf config/cross-api/vg-egl/vg11-egl13.conf N/A configs N/A N/A platform platforms N/A N/A N/A api conf N/A N/A apis items N/A N/A N/A N/A configs append N/A name deps conf platform N/A %s-%s N/A api platform N/A N/A N/A N/A os path dirname conf /* conf platform N/A targets N/A N/A platform platforms N/A N/A target genTargets N/A N/A N/A api conf N/A N/A apis items N/A N/A N/A N/A targets append N/A name target conf api platform N/A %s-%s-%s N/A api target platform target conf api platform N/A templates N/A N/A N/A N/A os path join templatePath t N/A t templates N/A namespace N/A configs targets platforms apis genTargets configs targets platforms apis genTargets N/A N/A generate templates namespace outputFile N/A