![]() |
Zen
A cross-platform functional programming language
|
The AST Node that represents a variable initialization, such as local variables and for() variables. More...
#include <Ast.hpp>
Public Member Functions | |
| InitVariableDef (const DefType &defType, const Ast::QualifiedType &qtype, const z::string &name, const Ast::Expr &expr) | |
| Default constructor. | |
The AST Node that represents a variable initialization, such as local variables and for() variables.
| InitVariableDef | ( | const DefType & | defType, |
| const Ast::QualifiedType & | qtype, | ||
| const z::string & | name, | ||
| const Ast::Expr & | expr | ||
| ) | [inline] |
Default constructor.
| defType | The location where the variable is defined. |
| qtype | The type of the variable being defined. |
| name | The name of the variable being defined. |
| expr | AST node holding the default value of the variable being defined. |