Monero
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
cpp.ast.Node Class Reference
Inheritance diagram for cpp.ast.Node:
Inheritance graph
[legend]
Collaboration diagram for cpp.ast.Node:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

 start
 
 end
 

Protected Member Functions

 _StringHelper (self, name, suffix)
 

Detailed Description

Base AST node.

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __repr__()

cpp.ast.Node.__repr__ ( self)

◆ _StringHelper()

cpp.ast.Node._StringHelper ( self,
name,
suffix )
protected

◆ IsDeclaration()

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

Reimplemented in cpp.ast.Class, cpp.ast.Function, and cpp.ast.Type.

◆ IsDefinition()

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

Reimplemented in cpp.ast.Typedef, cpp.ast._NestedType, cpp.ast.Class, cpp.ast.Function, and cpp.ast.Type.

◆ IsExportable()

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

Reimplemented in cpp.ast.Typedef, cpp.ast._NestedType, cpp.ast.Class, cpp.ast.Function, and cpp.ast.Type.

◆ Requires()

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

Reimplemented in cpp.ast.Expr, cpp.ast.Parameter, cpp.ast.VariableDeclaration, cpp.ast.Typedef, cpp.ast.Class, and cpp.ast.Function.

◆ XXX__str__()

cpp.ast.Node.XXX__str__ ( self)

Member Data Documentation

◆ end

cpp.ast.Node.end

◆ start

cpp.ast.Node.start

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