Zen
A cross-platform functional programming language
|
Concrete class for AST Node representing a typedef instantiation. More...
#include <Ast.hpp>
Public Member Functions | |
TypeDefExpr (const QualifiedType &type, const Ast::ExprList &list) | |
Default constructor. | |
Private Member Functions | |
virtual void | visit (Expr::Visitor &visitor) const |
Abstract visitor function. |
Concrete class for AST Node representing a typedef instantiation.
This creates an instance of a typedef'd type. For example:
typedef X Y;
...
local y = X[];
Here, Y is typedef'd as X, and y is an instance of X, which is the same as Y.
TypeDefExpr | ( | const QualifiedType & | type, |
const Ast::ExprList & | list | ||
) | [inline] |
Default constructor.
type | Expression type |
list | The initialization parameters |
void visit | ( | Expr::Visitor & | visitor | ) | const [private, virtual] |