Zen
A cross-platform functional programming language

InitVariableDef Class Reference

The AST Node that represents a variable initialization, such as local variables and for() variables. More...

#include <Ast.hpp>

Inheritance diagram for InitVariableDef:
ExprVariableDef VariableDef Node

List of all members.

Public Member Functions

 InitVariableDef (const DefType &defType, const Ast::QualifiedType &qtype, const z::string &name, const Ast::Expr &expr)
 Default constructor.

Detailed Description

The AST Node that represents a variable initialization, such as local variables and for() variables.


Constructor & Destructor Documentation

InitVariableDef ( const DefType defType,
const Ast::QualifiedType qtype,
const z::string name,
const Ast::Expr expr 
) [inline]

Default constructor.

Parameters:
defTypeThe location where the variable is defined.
qtypeThe type of the variable being defined.
nameThe name of the variable being defined.
exprAST node holding the default value of the variable being defined.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines