![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
Inheritance diagram for cpp.ast.TypeConverter:
Collaboration diagram for cpp.ast.TypeConverter:Public Member Functions | |
| def | __init__ |
| def | ToType |
| def | DeclarationToParts |
| def | ToParameters |
| def | CreateReturnType |
| def | GetTemplateIndices |
Public Attributes | |
| namespace_stack | |
Private Member Functions | |
| def | _GetTemplateEnd |
Definition at line 458 of file ast.py.
View newest version in sPHENIX GitHub at line 458 of file ast.py
| def cpp.ast.TypeConverter.__init__ | ( | self, | |
| namespace_stack | |||
| ) |
|
private |
Definition at line 463 of file ast.py.
View newest version in sPHENIX GitHub at line 463 of file ast.py
Referenced by cpp.ast.TypeConverter.DeclarationToParts(), and cpp.ast.TypeConverter.ToType().
Here is the caller graph for this function:| def cpp.ast.TypeConverter.CreateReturnType | ( | self, | |
| return_type_seq | |||
| ) |
Definition at line 652 of file ast.py.
View newest version in sPHENIX GitHub at line 652 of file ast.py
References cpp.ast.TypeConverter.DeclarationToParts().
Here is the call graph for this function:| def cpp.ast.TypeConverter.DeclarationToParts | ( | self, | |
| parts, | |||
| needs_name_removed | |||
| ) |
Definition at line 536 of file ast.py.
View newest version in sPHENIX GitHub at line 536 of file ast.py
References cpp.ast.TypeConverter._GetTemplateEnd(), Acts.enumerate(), join(), and cpp.ast.TypeConverter.ToType().
Referenced by cpp.ast.TypeConverter.CreateReturnType(), and cpp.ast.TypeConverter.ToParameters().
Here is the call graph for this function:
Here is the caller graph for this function:| def cpp.ast.TypeConverter.GetTemplateIndices | ( | self, | |
| names | |||
| ) |
| def cpp.ast.TypeConverter.ToParameters | ( | self, | |
| tokens | |||
| ) |
Definition at line 591 of file ast.py.
View newest version in sPHENIX GitHub at line 591 of file ast.py
References cpp.ast.TypeConverter.DeclarationToParts().
Here is the call graph for this function:| def cpp.ast.TypeConverter.ToType | ( | self, | |
| tokens | |||
| ) |
Convert [Token,...] to [Class(...), ] useful for base classes.
For example, code like class Foo : public Bar<x, y> { ... };
the "Bar<x, y>" portion gets converted to an AST.
Returns:
[Class(...), ...]
Definition at line 477 of file ast.py.
View newest version in sPHENIX GitHub at line 477 of file ast.py
References cpp.ast.TypeConverter._GetTemplateEnd(), join(), and cpp.ast.TypeConverter.ToType().
Referenced by cpp.ast.TypeConverter.DeclarationToParts(), and cpp.ast.TypeConverter.ToType().
Here is the call graph for this function:
Here is the caller graph for this function:| cpp.ast.TypeConverter.namespace_stack |
Definition at line 461 of file ast.py.
View newest version in sPHENIX GitHub at line 461 of file ast.py
Referenced by cpp.ast.AstBuilder._CreateVariable(), cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder._GetMethod(), cpp.ast.AstBuilder.handle_friend(), and cpp.ast.AstBuilder.handle_typedef().