Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
class | _NullDict |
class | Node |
class | Define |
class | Include |
class | Goto |
class | Expr |
class | Return |
class | Delete |
class | Friend |
class | Using |
class | Parameter |
class | _GenericDeclaration |
class | VariableDeclaration |
class | Typedef |
class | _NestedType |
class | Union |
class | Enum |
class | Class |
class | Struct |
class | Function |
class | Method |
class | Type |
class | TypeConverter |
class | AstBuilder |
Functions | |
def | reversed |
def | next |
def | BuilderFromSource |
def | PrintIndentifiers |
def | PrintAllIndentifiers |
def | main |
Variables | |
string | __author__ 'nnorwitz@google.com (Neal Norwitz)' |
int | FUNCTION_NONE 0x00 |
int | FUNCTION_CONST 0x01 |
int | FUNCTION_VIRTUAL 0x02 |
int | FUNCTION_PURE_VIRTUAL 0x04 |
int | FUNCTION_CTOR 0x08 |
int | FUNCTION_DTOR 0x10 |
int | FUNCTION_ATTRIBUTE 0x20 |
int | FUNCTION_UNKNOWN_ANNOTATION 0x40 |
int | FUNCTION_THROW 0x80 |
int | FUNCTION_OVERRIDE 0x100 |
string | _INTERNAL_TOKEN 'internal' |
string | _NAMESPACE_POP 'ns-pop' |
def cpp.ast.BuilderFromSource | ( | source, | |
filename | |||
) |
Utility method that returns an AstBuilder from source code. Args: source: 'C++ source code' filename: 'file1' Returns: AstBuilder
Definition at line 1663 of file ast.py.
View newest version in sPHENIX GitHub at line 1663 of file ast.py
Referenced by cpp.ast.main(), and cpp.ast.PrintIndentifiers().
def cpp.ast.main | ( | argv | ) |
def cpp.ast.next | ( | obj | ) |
Definition at line 58 of file ast.py.
View newest version in sPHENIX GitHub at line 58 of file ast.py
Referenced by cpp.ast.AstBuilder._GetNextToken(), and cpp.ast.AstBuilder.GetName().
def cpp.ast.PrintAllIndentifiers | ( | filenames, | |
should_print | |||
) |
Prints all identifiers for each C++ source file in filenames. Args: filenames: ['file1', 'file2', ...] should_print: predicate with signature: bool Function(token)
Definition at line 1700 of file ast.py.
View newest version in sPHENIX GitHub at line 1700 of file ast.py
References cpp.ast.PrintIndentifiers().
def cpp.ast.PrintIndentifiers | ( | filename, | |
should_print | |||
) |
Prints all identifiers for a C++ source file. Args: filename: 'file1' should_print: predicate with signature: bool Function(token)
Definition at line 1676 of file ast.py.
View newest version in sPHENIX GitHub at line 1676 of file ast.py
References cpp.ast.BuilderFromSource(), and print().
Referenced by cpp.ast.PrintAllIndentifiers().
def cpp.ast.reversed | ( | seq | ) |
Definition at line 52 of file ast.py.
View newest version in sPHENIX GitHub at line 52 of file ast.py
Referenced by cpp.ast.AstBuilder._AddBackTokens(), PHCASeeding.FindBiLinks(), cpp.ast.AstBuilder.HandleError(), FitterTester.test_ZeroFieldNoSurfaceForward(), FitterTester.test_ZeroFieldShuffled(), FitterTester.test_ZeroFieldWithHole(), FitterTester.test_ZeroFieldWithOutliers(), FitterTester.test_ZeroFieldWithReverseFiltering(), FitterTester.test_ZeroFieldWithSurfaceAtExit(), FitterTester.test_ZeroFieldWithSurfaceBackward(), and FitterTester.test_ZeroFieldWithSurfaceForward().
string cpp.ast.__author__ 'nnorwitz@google.com (Neal Norwitz)' |
string cpp.ast._INTERNAL_TOKEN 'internal' |
string cpp.ast._NAMESPACE_POP 'ns-pop' |
int cpp.ast.FUNCTION_ATTRIBUTE 0x20 |
int cpp.ast.FUNCTION_CONST 0x01 |
int cpp.ast.FUNCTION_CTOR 0x08 |
int cpp.ast.FUNCTION_DTOR 0x10 |
int cpp.ast.FUNCTION_NONE 0x00 |
int cpp.ast.FUNCTION_OVERRIDE 0x100 |
int cpp.ast.FUNCTION_PURE_VIRTUAL 0x04 |
int cpp.ast.FUNCTION_THROW 0x80 |
int cpp.ast.FUNCTION_UNKNOWN_ANNOTATION 0x40 |