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

Public Member Functions

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

Public Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from cpp.ast._GenericDeclaration
 _TypeStringHelper (self, suffix)
 
- Protected Member Functions inherited from cpp.ast.Node
 _StringHelper (self, name, suffix)
 

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from cpp.ast._GenericDeclaration.

Member Function Documentation

◆ __str__()

cpp.ast.VariableDeclaration.__str__ ( self)

◆ Requires()

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

Reimplemented from cpp.ast.Node.

◆ ToString()

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

Member Data Documentation

◆ initial_value

cpp.ast.VariableDeclaration.initial_value

◆ type

cpp.ast.VariableDeclaration.type

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