Public Member Functions | Public Attributes | List of all members
cpp.ast.VariableDeclaration Class Reference
Inheritance diagram for cpp.ast.VariableDeclaration:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, start, end, name, var_type, initial_value, namespace)
 
def __str__ (self)
 
def Requires (self, node)
 
def ToString (self)
 
- Public Member Functions inherited from cpp.ast._GenericDeclaration
def __init__ (self, start, end, name, namespace)
 
def FullName (self)
 
- Public Member Functions inherited from cpp.ast.Node
def __init__ (self, start, end)
 
def __repr__ (self)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def XXX__str__ (self)
 

Public Attributes

 initial_value
 
 type
 
- Public Attributes inherited from cpp.ast._GenericDeclaration
 name
 
 namespace
 
- Public Attributes inherited from cpp.ast.Node
 end
 
 start
 

Detailed Description

Definition at line 252 of file ast.py.

Constructor & Destructor Documentation

◆ __init__()

def cpp.ast.VariableDeclaration.__init__ (   self,
  start,
  end,
  name,
  var_type,
  initial_value,
  namespace 
)

Definition at line 253 of file ast.py.

Member Function Documentation

◆ __str__()

def cpp.ast.VariableDeclaration.__str__ (   self)

Definition at line 269 of file ast.py.

◆ Requires()

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

Reimplemented from cpp.ast.Node.

Definition at line 258 of file ast.py.

◆ ToString()

def cpp.ast.VariableDeclaration.ToString (   self)
Return a string that tries to reconstitute the variable decl.

Definition at line 262 of file ast.py.

Member Data Documentation

◆ initial_value

cpp.ast.VariableDeclaration.initial_value

Definition at line 256 of file ast.py.

◆ type

cpp.ast.VariableDeclaration.type

Definition at line 255 of file ast.py.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08