- 3.0.1 core module.
cpp.ast.Node Class Reference
Inheritance diagram for cpp.ast.Node:
cpp.ast._GenericDeclaration cpp.ast.Define cpp.ast.Expr cpp.ast.Goto cpp.ast.Include cpp.ast.Parameter cpp.ast.Using cpp.ast._NestedType cpp.ast.Class cpp.ast.Function cpp.ast.Type cpp.ast.Typedef cpp.ast.VariableDeclaration cpp.ast.Delete cpp.ast.Friend cpp.ast.Return

Public Member Functions

def __init__ (self, start, end)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
def XXX__str__ (self)
 
def __repr__ (self)
 

Public Attributes

 start
 
 end
 

Detailed Description

Base AST node.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

def cpp.ast.Node.IsDefinition (   self)
Returns bool if this node is a definition.
def cpp.ast.Node.IsExportable (   self)
Returns bool if this node exportable from a header file.
def cpp.ast.Node.Requires (   self,
  node 
)
Does this AST node require the definition of the node passed in?
def cpp.ast.Node.XXX__str__ (   self)

References cpp.ast.Node._StringHelper(), cpp.ast.Node.end, and cpp.ast.Node.start.

def cpp.ast.Node.__repr__ (   self)

Member Data Documentation

cpp.ast.Node.end

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