Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cpp.ast.AstBuilder Class Reference
+ Inheritance diagram for cpp.ast.AstBuilder:
+ Collaboration diagram for cpp.ast.AstBuilder:

Public Member Functions

def __init__
 
def HandleError
 
def Generate
 
def GetScope
 
def GetName
 
def GetMethod
 
def handle_bool
 
def handle_char
 
def handle_int
 
def handle_long
 
def handle_short
 
def handle_double
 
def handle_float
 
def handle_void
 
def handle_wchar_t
 
def handle_unsigned
 
def handle_signed
 
def handle_struct
 
def handle_union
 
def handle_enum
 
def handle_auto
 
def handle_register
 
def handle_const
 
def handle_inline
 
def handle_extern
 
def handle_static
 
def handle_virtual
 
def handle_volatile
 
def handle_mutable
 
def handle_public
 
def handle_protected
 
def handle_private
 
def handle_friend
 
def handle_static_cast
 
def handle_const_cast
 
def handle_dynamic_cast
 
def handle_reinterpret_cast
 
def handle_new
 
def handle_delete
 
def handle_typedef
 
def handle_typeid
 
def handle_typename
 
def handle_template
 
def handle_true
 
def handle_false
 
def handle_asm
 
def handle_class
 
def handle_namespace
 
def handle_using
 
def handle_explicit
 
def handle_this
 
def handle_operator
 
def handle_sizeof
 
def handle_case
 
def handle_switch
 
def handle_default
 
def handle_if
 
def handle_else
 
def handle_return
 
def handle_goto
 
def handle_try
 
def handle_catch
 
def handle_throw
 
def handle_while
 
def handle_do
 
def handle_for
 
def handle_break
 
def handle_continue
 

Public Attributes

 tokens
 
 filename
 
 token_queue
 
 namespace_stack
 
 in_class
 
 in_class_name_only
 
 visibility
 
 in_function
 
 current_token
 
 converter
 

Private Member Functions

def _CreateVariable
 
def _GenerateOne
 
def _GetTokensUpTo
 
def _GetVarTokensUpTo
 
def _IgnoreUpTo
 
def _SkipIf0Blocks
 
def _GetMatchingChar
 
def _GetParameters
 
def _GetNextToken
 
def _AddBackToken
 
def _AddBackTokens
 
def _GetMethod
 
def _GetReturnTypeAndClassName
 
def _GetNestedType
 
def _GetTemplatedTypes
 
def _GetBases
 
def _GetClass
 

Private Attributes

 _handling_typedef
 

Detailed Description

Definition at line 676 of file ast.py.

View newest version in sPHENIX GitHub at line 676 of file ast.py

Constructor & Destructor Documentation

def cpp.ast.AstBuilder.__init__ (   self,
  token_stream,
  filename,
  in_class = '',
  visibility = None,
  namespace_stack = [] 
)

Definition at line 678 of file ast.py.

View newest version in sPHENIX GitHub at line 678 of file ast.py

Member Function Documentation

def cpp.ast.AstBuilder._AddBackToken (   self,
  token 
)
private

Definition at line 910 of file ast.py.

View newest version in sPHENIX GitHub at line 910 of file ast.py

Referenced by cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder._GetBases(), cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder.handle_namespace(), cpp.ast.AstBuilder.handle_struct(), and cpp.ast.AstBuilder.handle_template().

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._AddBackTokens (   self,
  tokens 
)
private

Definition at line 918 of file ast.py.

View newest version in sPHENIX GitHub at line 918 of file ast.py

References cpp.ast.reversed(), and cpp.ast.AstBuilder.token_queue.

Referenced by cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder.handle_namespace(), cpp.ast.AstBuilder.handle_struct(), and cpp.ast.AstBuilder.handle_template().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._CreateVariable (   self,
  pos_token,
  name,
  type_name,
  type_modifiers,
  ref_pointer_name_seq,
  templated_types,
  value = None 
)
private

Definition at line 728 of file ast.py.

View newest version in sPHENIX GitHub at line 728 of file ast.py

References cpp.ast.TypeConverter.namespace_stack, and cpp.ast.AstBuilder.namespace_stack.

Referenced by cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder._GetMethod(), cpp.ast.AstBuilder.Generate(), and cpp.ast.AstBuilder.handle_struct().

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GenerateOne (   self,
  token 
)
private

Definition at line 738 of file ast.py.

View newest version in sPHENIX GitHub at line 738 of file ast.py

References cpp.ast.AstBuilder._AddBackToken(), cpp.ast.AstBuilder._AddBackTokens(), cpp.ast.AstBuilder._CreateVariable(), cpp.ast.AstBuilder._GetMethod(), cpp.ast.AstBuilder._GetNextToken(), cpp.ast.AstBuilder._GetTokensUpTo(), cpp.ast.AstBuilder._GetVarTokensUpTo(), cpp.ast.AstBuilder._SkipIf0Blocks(), Acts.enumerate(), cpp.ast.Method.in_class, cpp.ast.AstBuilder.in_class, cpp.ast.AstBuilder.in_class_name_only, and join().

Referenced by cpp.ast.AstBuilder.Generate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetBases (   self)
private

Definition at line 1457 of file ast.py.

View newest version in sPHENIX GitHub at line 1457 of file ast.py

References cpp.ast.AstBuilder._AddBackToken(), cpp.ast.AstBuilder._GetNextToken(), PHSartreGenTrigger.GetName(), PHPy8GenTrigger.GetName(), PHPy6GenTrigger.GetName(), PHG4StackingAction.GetName(), PHG4DisplayAction.GetName(), PHG4SteppingAction.GetName(), PHG4Detector.GetName(), and cpp.ast.AstBuilder.GetName().

Referenced by cpp.ast.AstBuilder._GetClass().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetClass (   self,
  class_type,
  visibility,
  templated_types 
)
private
def cpp.ast.AstBuilder._GetMatchingChar (   self,
  open_paren,
  close_paren,
  GetNextToken = None 
)
private

Definition at line 880 of file ast.py.

View newest version in sPHENIX GitHub at line 880 of file ast.py

References cpp.ast.AstBuilder._GetNextToken().

Referenced by cpp.ast.AstBuilder._GetMethod(), cpp.ast.AstBuilder._GetParameters(), cpp.ast.AstBuilder._GetTemplatedTypes(), cpp.ast.AstBuilder.GetName(), and cpp.ast.AstBuilder.GetScope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetMethod (   self,
  return_type_and_name,
  modifiers,
  templated_types,
  get_paren 
)
private

Definition at line 960 of file ast.py.

View newest version in sPHENIX GitHub at line 960 of file ast.py

References cpp.ast.AstBuilder._CreateVariable(), cpp.ast.AstBuilder._GetMatchingChar(), cpp.ast.AstBuilder._GetNextToken(), cpp.ast.AstBuilder._GetParameters(), cpp.ast.AstBuilder._GetReturnTypeAndClassName(), cpp.ast.AstBuilder.GetScope(), cpp.ast.AstBuilder.HandleError(), cpp.ast.Method.in_class, cpp.ast.AstBuilder.in_class, cpp.ast.TypeConverter.namespace_stack, and cpp.ast.AstBuilder.namespace_stack.

Referenced by cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder.GetMethod(), and cpp.ast.AstBuilder.handle_struct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetNestedType (   self,
  ctor 
)
private

Definition at line 1193 of file ast.py.

View newest version in sPHENIX GitHub at line 1193 of file ast.py

Referenced by cpp.ast.AstBuilder.handle_enum(), and cpp.ast.AstBuilder.handle_union().

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetNextToken (   self)
private

Definition at line 905 of file ast.py.

View newest version in sPHENIX GitHub at line 905 of file ast.py

References cpp.ast.next(), cpp.ast.AstBuilder.token_queue, and cpp.ast.AstBuilder.tokens.

Referenced by cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder._GetBases(), cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder._GetMatchingChar(), cpp.ast.AstBuilder._GetMethod(), cpp.ast.AstBuilder._GetVarTokensUpTo(), cpp.ast.AstBuilder._SkipIf0Blocks(), cpp.ast.AstBuilder.Generate(), cpp.ast.AstBuilder.GetName(), cpp.ast.AstBuilder.handle_namespace(), cpp.ast.AstBuilder.handle_struct(), cpp.ast.AstBuilder.handle_template(), and cpp.ast.AstBuilder.handle_typedef().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetParameters (   self)
private

Definition at line 899 of file ast.py.

View newest version in sPHENIX GitHub at line 899 of file ast.py

References cpp.ast.AstBuilder._GetMatchingChar().

Referenced by cpp.ast.AstBuilder._GetMethod().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetReturnTypeAndClassName (   self,
  token_seq 
)
private

Definition at line 1116 of file ast.py.

View newest version in sPHENIX GitHub at line 1116 of file ast.py

References PHSartreGenTrigger.GetName(), PHPy8GenTrigger.GetName(), PHPy6GenTrigger.GetName(), PHG4StackingAction.GetName(), PHG4DisplayAction.GetName(), PHG4SteppingAction.GetName(), PHG4Detector.GetName(), and cpp.ast.AstBuilder.GetName().

Referenced by cpp.ast.AstBuilder._GetMethod().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetTemplatedTypes (   self)
private

Definition at line 1395 of file ast.py.

View newest version in sPHENIX GitHub at line 1395 of file ast.py

References cpp.ast.AstBuilder._GetMatchingChar(), PHSartreGenTrigger.GetName(), PHPy8GenTrigger.GetName(), PHPy6GenTrigger.GetName(), PHG4StackingAction.GetName(), PHG4DisplayAction.GetName(), PHG4SteppingAction.GetName(), PHG4Detector.GetName(), and cpp.ast.AstBuilder.GetName().

Referenced by cpp.ast.AstBuilder.handle_template().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetTokensUpTo (   self,
  expected_token_type,
  expected_token 
)
private

Definition at line 849 of file ast.py.

View newest version in sPHENIX GitHub at line 849 of file ast.py

References cpp.ast.AstBuilder._GetVarTokensUpTo().

Referenced by cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder._IgnoreUpTo(), cpp.ast.AstBuilder.GetMethod(), cpp.ast.AstBuilder.handle_friend(), cpp.ast.AstBuilder.handle_goto(), cpp.ast.AstBuilder.handle_typedef(), and cpp.ast.AstBuilder.handle_using().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._GetVarTokensUpTo (   self,
  expected_token_type,
  expected_tokens 
)
private

Definition at line 852 of file ast.py.

View newest version in sPHENIX GitHub at line 852 of file ast.py

References cpp.ast.AstBuilder._GetNextToken().

Referenced by cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder._GetTokensUpTo(), and cpp.ast.AstBuilder.handle_template().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._IgnoreUpTo (   self,
  token_type,
  token 
)
private

Definition at line 862 of file ast.py.

View newest version in sPHENIX GitHub at line 862 of file ast.py

References cpp.ast.AstBuilder._GetTokensUpTo().

Referenced by cpp.ast.AstBuilder.handle_continue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder._SkipIf0Blocks (   self)
private

Definition at line 865 of file ast.py.

View newest version in sPHENIX GitHub at line 865 of file ast.py

References cpp.ast.AstBuilder._GetNextToken().

Referenced by cpp.ast.AstBuilder._GenerateOne().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder.Generate (   self)

Definition at line 704 of file ast.py.

View newest version in sPHENIX GitHub at line 704 of file ast.py

References cpp.ast.AstBuilder._CreateVariable(), cpp.ast.AstBuilder._GenerateOne(), cpp.ast.AstBuilder._GetNextToken(), cpp.ast.AstBuilder.current_token, and cpp.ast.AstBuilder.HandleError().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.GetMethod (   self,
  modifiers,
  templated_types 
)

Definition at line 953 of file ast.py.

View newest version in sPHENIX GitHub at line 953 of file ast.py

References cpp.ast.AstBuilder._GetMethod(), and cpp.ast.AstBuilder._GetTokensUpTo().

Referenced by cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder.handle_explicit(), and cpp.ast.AstBuilder.handle_template().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder.GetName (   self,
  seq = None 
)
Returns ([tokens], next_token_info).

Definition at line 928 of file ast.py.

View newest version in sPHENIX GitHub at line 928 of file ast.py

References cpp.ast.AstBuilder._GetMatchingChar(), cpp.ast.AstBuilder._GetNextToken(), and cpp.ast.next().

Referenced by cpp.ast.AstBuilder._GetBases(), cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder._GetReturnTypeAndClassName(), cpp.ast.AstBuilder._GetTemplatedTypes(), cpp.ast.AstBuilder.handle_namespace(), and cpp.ast.AstBuilder.handle_struct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder.GetScope (   self)

Definition at line 902 of file ast.py.

View newest version in sPHENIX GitHub at line 902 of file ast.py

References cpp.ast.AstBuilder._GetMatchingChar().

Referenced by cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder._GetMethod(), and cpp.ast.AstBuilder.handle_namespace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder.handle_asm (   self)

Definition at line 1451 of file ast.py.

View newest version in sPHENIX GitHub at line 1451 of file ast.py

def cpp.ast.AstBuilder.handle_auto (   self)

Definition at line 1269 of file ast.py.

View newest version in sPHENIX GitHub at line 1269 of file ast.py

def cpp.ast.AstBuilder.handle_bool (   self)

Definition at line 1160 of file ast.py.

View newest version in sPHENIX GitHub at line 1160 of file ast.py

def cpp.ast.AstBuilder.handle_break (   self)

Definition at line 1656 of file ast.py.

View newest version in sPHENIX GitHub at line 1656 of file ast.py

def cpp.ast.AstBuilder.handle_case (   self)

Definition at line 1610 of file ast.py.

View newest version in sPHENIX GitHub at line 1610 of file ast.py

def cpp.ast.AstBuilder.handle_catch (   self)

Definition at line 1641 of file ast.py.

View newest version in sPHENIX GitHub at line 1641 of file ast.py

def cpp.ast.AstBuilder.handle_char (   self)

Definition at line 1163 of file ast.py.

View newest version in sPHENIX GitHub at line 1163 of file ast.py

def cpp.ast.AstBuilder.handle_class (   self)

Definition at line 1454 of file ast.py.

View newest version in sPHENIX GitHub at line 1454 of file ast.py

References cpp.ast.AstBuilder._GetClass().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_const (   self)

Definition at line 1277 of file ast.py.

View newest version in sPHENIX GitHub at line 1277 of file ast.py

def cpp.ast.AstBuilder.handle_const_cast (   self)

Definition at line 1332 of file ast.py.

View newest version in sPHENIX GitHub at line 1332 of file ast.py

def cpp.ast.AstBuilder.handle_continue (   self)

Definition at line 1659 of file ast.py.

View newest version in sPHENIX GitHub at line 1659 of file ast.py

References cpp.ast.AstBuilder._IgnoreUpTo().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_default (   self)

Definition at line 1616 of file ast.py.

View newest version in sPHENIX GitHub at line 1616 of file ast.py

def cpp.ast.AstBuilder.handle_delete (   self)

Definition at line 1344 of file ast.py.

View newest version in sPHENIX GitHub at line 1344 of file ast.py

def cpp.ast.AstBuilder.handle_do (   self)

Definition at line 1650 of file ast.py.

View newest version in sPHENIX GitHub at line 1650 of file ast.py

def cpp.ast.AstBuilder.handle_double (   self)

Definition at line 1175 of file ast.py.

View newest version in sPHENIX GitHub at line 1175 of file ast.py

def cpp.ast.AstBuilder.handle_dynamic_cast (   self)

Definition at line 1335 of file ast.py.

View newest version in sPHENIX GitHub at line 1335 of file ast.py

def cpp.ast.AstBuilder.handle_else (   self)

Definition at line 1624 of file ast.py.

View newest version in sPHENIX GitHub at line 1624 of file ast.py

def cpp.ast.AstBuilder.handle_enum (   self)

Definition at line 1266 of file ast.py.

View newest version in sPHENIX GitHub at line 1266 of file ast.py

References cpp.ast.AstBuilder._GetNestedType().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_explicit (   self)

Definition at line 1593 of file ast.py.

View newest version in sPHENIX GitHub at line 1593 of file ast.py

References cpp.ast.AstBuilder.GetMethod(), cpp.ast.Method.in_class, and cpp.ast.AstBuilder.in_class.

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_extern (   self)

Definition at line 1283 of file ast.py.

View newest version in sPHENIX GitHub at line 1283 of file ast.py

def cpp.ast.AstBuilder.handle_false (   self)

Definition at line 1448 of file ast.py.

View newest version in sPHENIX GitHub at line 1448 of file ast.py

def cpp.ast.AstBuilder.handle_float (   self)

Definition at line 1178 of file ast.py.

View newest version in sPHENIX GitHub at line 1178 of file ast.py

def cpp.ast.AstBuilder.handle_for (   self)

Definition at line 1653 of file ast.py.

View newest version in sPHENIX GitHub at line 1653 of file ast.py

def cpp.ast.AstBuilder.handle_friend (   self)

Definition at line 1323 of file ast.py.

View newest version in sPHENIX GitHub at line 1323 of file ast.py

References cpp.ast.AstBuilder._GetTokensUpTo(), cpp.ast.TypeConverter.namespace_stack, and cpp.ast.AstBuilder.namespace_stack.

Referenced by cpp.ast.AstBuilder.handle_template().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.ast.AstBuilder.handle_goto (   self)

Definition at line 1633 of file ast.py.

View newest version in sPHENIX GitHub at line 1633 of file ast.py

References cpp.ast.AstBuilder._GetTokensUpTo(), and str.

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_if (   self)

Definition at line 1621 of file ast.py.

View newest version in sPHENIX GitHub at line 1621 of file ast.py

def cpp.ast.AstBuilder.handle_inline (   self)

Definition at line 1280 of file ast.py.

View newest version in sPHENIX GitHub at line 1280 of file ast.py

def cpp.ast.AstBuilder.handle_int (   self)

Definition at line 1166 of file ast.py.

View newest version in sPHENIX GitHub at line 1166 of file ast.py

def cpp.ast.AstBuilder.handle_long (   self)

Definition at line 1169 of file ast.py.

View newest version in sPHENIX GitHub at line 1169 of file ast.py

def cpp.ast.AstBuilder.handle_mutable (   self)

Definition at line 1308 of file ast.py.

View newest version in sPHENIX GitHub at line 1308 of file ast.py

def cpp.ast.AstBuilder.handle_namespace (   self)

Definition at line 1561 of file ast.py.

View newest version in sPHENIX GitHub at line 1561 of file ast.py

References cpp.ast.AstBuilder._AddBackToken(), cpp.ast.AstBuilder._AddBackTokens(), cpp.ast.AstBuilder._GetNextToken(), PHSartreGenTrigger.GetName(), PHPy8GenTrigger.GetName(), PHPy6GenTrigger.GetName(), PHG4StackingAction.GetName(), PHG4DisplayAction.GetName(), PHG4SteppingAction.GetName(), PHG4Detector.GetName(), cpp.ast.AstBuilder.GetName(), and cpp.ast.AstBuilder.GetScope().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_new (   self)

Definition at line 1341 of file ast.py.

View newest version in sPHENIX GitHub at line 1341 of file ast.py

def cpp.ast.AstBuilder.handle_operator (   self)

Definition at line 1603 of file ast.py.

View newest version in sPHENIX GitHub at line 1603 of file ast.py

def cpp.ast.AstBuilder.handle_private (   self)

Definition at line 1319 of file ast.py.

View newest version in sPHENIX GitHub at line 1319 of file ast.py

References cpp.ast.Method.in_class, cpp.ast.AstBuilder.in_class, and cpp.ast.AstBuilder.visibility.

def cpp.ast.AstBuilder.handle_protected (   self)

Definition at line 1315 of file ast.py.

View newest version in sPHENIX GitHub at line 1315 of file ast.py

References cpp.ast.Method.in_class, cpp.ast.AstBuilder.in_class, and cpp.ast.AstBuilder.visibility.

def cpp.ast.AstBuilder.handle_public (   self)

Definition at line 1311 of file ast.py.

View newest version in sPHENIX GitHub at line 1311 of file ast.py

def cpp.ast.AstBuilder.handle_register (   self)

Definition at line 1274 of file ast.py.

View newest version in sPHENIX GitHub at line 1274 of file ast.py

def cpp.ast.AstBuilder.handle_reinterpret_cast (   self)

Definition at line 1338 of file ast.py.

View newest version in sPHENIX GitHub at line 1338 of file ast.py

def cpp.ast.AstBuilder.handle_return (   self)

Definition at line 1627 of file ast.py.

View newest version in sPHENIX GitHub at line 1627 of file ast.py

def cpp.ast.AstBuilder.handle_short (   self)

Definition at line 1172 of file ast.py.

View newest version in sPHENIX GitHub at line 1172 of file ast.py

def cpp.ast.AstBuilder.handle_signed (   self)

Definition at line 1190 of file ast.py.

View newest version in sPHENIX GitHub at line 1190 of file ast.py

def cpp.ast.AstBuilder.handle_sizeof (   self)

Definition at line 1607 of file ast.py.

View newest version in sPHENIX GitHub at line 1607 of file ast.py

def cpp.ast.AstBuilder.handle_static (   self)

Definition at line 1286 of file ast.py.

View newest version in sPHENIX GitHub at line 1286 of file ast.py

def cpp.ast.AstBuilder.handle_static_cast (   self)

Definition at line 1329 of file ast.py.

View newest version in sPHENIX GitHub at line 1329 of file ast.py

def cpp.ast.AstBuilder.handle_struct (   self)
def cpp.ast.AstBuilder.handle_switch (   self)

Definition at line 1613 of file ast.py.

View newest version in sPHENIX GitHub at line 1613 of file ast.py

def cpp.ast.AstBuilder.handle_template (   self)

Definition at line 1422 of file ast.py.

View newest version in sPHENIX GitHub at line 1422 of file ast.py

References cpp.ast.AstBuilder._AddBackToken(), cpp.ast.AstBuilder._AddBackTokens(), cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder._GetNextToken(), cpp.ast.AstBuilder._GetTemplatedTypes(), cpp.ast.AstBuilder._GetVarTokensUpTo(), cpp.ast.AstBuilder.GetMethod(), and cpp.ast.AstBuilder.handle_friend().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_this (   self)

Definition at line 1600 of file ast.py.

View newest version in sPHENIX GitHub at line 1600 of file ast.py

def cpp.ast.AstBuilder.handle_throw (   self)

Definition at line 1644 of file ast.py.

View newest version in sPHENIX GitHub at line 1644 of file ast.py

def cpp.ast.AstBuilder.handle_true (   self)

Definition at line 1445 of file ast.py.

View newest version in sPHENIX GitHub at line 1445 of file ast.py

def cpp.ast.AstBuilder.handle_try (   self)

Definition at line 1638 of file ast.py.

View newest version in sPHENIX GitHub at line 1638 of file ast.py

def cpp.ast.AstBuilder.handle_typedef (   self)

Definition at line 1349 of file ast.py.

View newest version in sPHENIX GitHub at line 1349 of file ast.py

References cpp.ast.AstBuilder._GetNextToken(), cpp.ast.AstBuilder._GetTokensUpTo(), cpp.ast.AstBuilder._handling_typedef, cpp.ast.TypeConverter.namespace_stack, and cpp.ast.AstBuilder.namespace_stack.

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_typeid (   self)

Definition at line 1389 of file ast.py.

View newest version in sPHENIX GitHub at line 1389 of file ast.py

def cpp.ast.AstBuilder.handle_typename (   self)

Definition at line 1392 of file ast.py.

View newest version in sPHENIX GitHub at line 1392 of file ast.py

def cpp.ast.AstBuilder.handle_union (   self)

Definition at line 1263 of file ast.py.

View newest version in sPHENIX GitHub at line 1263 of file ast.py

References cpp.ast.AstBuilder._GetNestedType().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_unsigned (   self)

Definition at line 1187 of file ast.py.

View newest version in sPHENIX GitHub at line 1187 of file ast.py

def cpp.ast.AstBuilder.handle_using (   self)

Definition at line 1588 of file ast.py.

View newest version in sPHENIX GitHub at line 1588 of file ast.py

References cpp.ast.AstBuilder._GetTokensUpTo().

+ Here is the call graph for this function:

def cpp.ast.AstBuilder.handle_virtual (   self)

Definition at line 1289 of file ast.py.

View newest version in sPHENIX GitHub at line 1289 of file ast.py

def cpp.ast.AstBuilder.handle_void (   self)

Definition at line 1181 of file ast.py.

View newest version in sPHENIX GitHub at line 1181 of file ast.py

def cpp.ast.AstBuilder.handle_volatile (   self)

Definition at line 1305 of file ast.py.

View newest version in sPHENIX GitHub at line 1305 of file ast.py

def cpp.ast.AstBuilder.handle_wchar_t (   self)

Definition at line 1184 of file ast.py.

View newest version in sPHENIX GitHub at line 1184 of file ast.py

def cpp.ast.AstBuilder.handle_while (   self)

Definition at line 1647 of file ast.py.

View newest version in sPHENIX GitHub at line 1647 of file ast.py

def cpp.ast.AstBuilder.HandleError (   self,
  msg,
  token 
)

Definition at line 699 of file ast.py.

View newest version in sPHENIX GitHub at line 699 of file ast.py

References PHField3DCartesian.filename, PHIOManager.filename, Fun4AllOscarInputManager.filename, ReadEICFiles.filename, Fun4AllHepMCInputManager.filename, ReadSynRadFiles.filename, cpp.ast.Include.filename, cpp.ast.AstBuilder.filename, SimX.filename, Fe55.filename, Bias.filename, cpp.ast.reversed(), and cpp.ast.AstBuilder.token_queue.

Referenced by cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder._GetMethod(), and cpp.ast.AstBuilder.Generate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

cpp.ast.AstBuilder._handling_typedef
private

Definition at line 695 of file ast.py.

View newest version in sPHENIX GitHub at line 695 of file ast.py

Referenced by cpp.ast.AstBuilder._GetClass(), cpp.ast.AstBuilder.handle_struct(), and cpp.ast.AstBuilder.handle_typedef().

cpp.ast.AstBuilder.converter

Definition at line 697 of file ast.py.

View newest version in sPHENIX GitHub at line 697 of file ast.py

cpp.ast.AstBuilder.current_token

Definition at line 693 of file ast.py.

View newest version in sPHENIX GitHub at line 693 of file ast.py

Referenced by cpp.ast.AstBuilder.Generate().

cpp.ast.AstBuilder.filename

Definition at line 680 of file ast.py.

View newest version in sPHENIX GitHub at line 680 of file ast.py

Referenced by cpp.ast.AstBuilder._GetClass(), and cpp.ast.AstBuilder.HandleError().

cpp.ast.AstBuilder.in_class
cpp.ast.AstBuilder.in_class_name_only

Definition at line 688 of file ast.py.

View newest version in sPHENIX GitHub at line 688 of file ast.py

Referenced by cpp.ast.AstBuilder._GenerateOne().

cpp.ast.AstBuilder.in_function

Definition at line 692 of file ast.py.

View newest version in sPHENIX GitHub at line 692 of file ast.py

cpp.ast.AstBuilder.namespace_stack
cpp.ast.AstBuilder.token_queue

Definition at line 684 of file ast.py.

View newest version in sPHENIX GitHub at line 684 of file ast.py

Referenced by cpp.ast.AstBuilder._AddBackTokens(), cpp.ast.AstBuilder._GetNextToken(), and cpp.ast.AstBuilder.HandleError().

cpp.ast.AstBuilder.tokens

Definition at line 679 of file ast.py.

View newest version in sPHENIX GitHub at line 679 of file ast.py

Referenced by cpp.ast.AstBuilder._GetNextToken().

cpp.ast.AstBuilder.visibility

Definition at line 691 of file ast.py.

View newest version in sPHENIX GitHub at line 691 of file ast.py

Referenced by cpp.ast.AstBuilder.handle_private(), and cpp.ast.AstBuilder.handle_protected().


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