Zen
A cross-platform functional programming language

StructMemberVariableDef Class Reference

The AST Node that represents a member variable inside a struct. More...

#include <Ast.hpp>

Inheritance diagram for StructMemberVariableDef:
ExprVariableDef VariableDef Node

List of all members.

Public Member Functions

 StructMemberVariableDef (const Ast::QualifiedType &type, const z::string &name, const Ast::Expr &expr)
 Default constructor.

Detailed Description

The AST Node that represents a member variable inside a struct.


Constructor & Destructor Documentation

StructMemberVariableDef ( const Ast::QualifiedType type,
const z::string name,
const Ast::Expr expr 
) [inline]

Default constructor.

Parameters:
typeThe 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