Zen
A cross-platform functional programming language

SharedVariableDef Class Reference

The AST Node that represents a variable in shared closure. More...

#include <Ast.hpp>

Inheritance diagram for SharedVariableDef:
ExprVariableDef VariableDef Node

List of all members.

Public Member Functions

 SharedVariableDef (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 in shared closure.


Constructor & Destructor Documentation

SharedVariableDef ( 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