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

Public Member Functions

def __init__
 
def IsDeclaration
 
def IsDefinition
 
def IsExportable
 
def Requires
 
def XXX__str__
 
def __repr__
 

Public Attributes

 start
 
 end
 

Private Member Functions

def _StringHelper
 

Detailed Description

Base AST node.

Definition at line 109 of file ast.py.

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

Constructor & Destructor Documentation

def cpp.ast.Node.__init__ (   self,
  start,
  end 
)

Definition at line 112 of file ast.py.

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

Member Function Documentation

def cpp.ast.Node.__repr__ (   self)

Definition at line 140 of file ast.py.

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

References str.

def cpp.ast.Node._StringHelper (   self,
  name,
  suffix 
)
private

Definition at line 135 of file ast.py.

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

References cpp.ast.Node.end, cpp.ast.Node.start, and ActsExamples::StopWatch.start.

Referenced by cpp.ast.Define.__str__(), cpp.ast.Include.__str__(), cpp.ast.Goto.__str__(), cpp.ast.Expr.__str__(), cpp.ast.Using.__str__(), cpp.ast.Parameter.__str__(), cpp.ast.VariableDeclaration.__str__(), cpp.ast._GenericDeclaration._TypeStringHelper(), and cpp.ast.Node.XXX__str__().

+ Here is the caller graph for this function:

def cpp.ast.Node.IsDeclaration (   self)
Returns bool if this node is a declaration.

Definition at line 116 of file ast.py.

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

Referenced by cpp.ast.Class.IsDefinition(), and cpp.ast.Class.IsExportable().

+ Here is the caller graph for this function:

def cpp.ast.Node.IsDefinition (   self)
Returns bool if this node is a definition.

Definition at line 120 of file ast.py.

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

def cpp.ast.Node.IsExportable (   self)
Returns bool if this node exportable from a header file.

Definition at line 124 of file ast.py.

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

def cpp.ast.Node.Requires (   self,
  node 
)
Does this AST node require the definition of the node passed in?

Definition at line 128 of file ast.py.

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

def cpp.ast.Node.XXX__str__ (   self)

Definition at line 132 of file ast.py.

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

References cpp.ast.Node._StringHelper().

+ Here is the call graph for this function:

Member Data Documentation

cpp.ast.Node.end

Definition at line 114 of file ast.py.

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

Referenced by cpp.tokenize.Token.__str__(), and cpp.ast.Node._StringHelper().

cpp.ast.Node.start

Definition at line 113 of file ast.py.

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

Referenced by cpp.tokenize.Token.__str__(), pump.Token.__str__(), and cpp.ast.Node._StringHelper().


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