Zen
A cross-platform functional programming language
|
Concrete class for AST Node representing a dictionary value. More...
#include <Ast.hpp>
Public Member Functions | |
DictExpr (const QualifiedType &type, const DictList &list) | |
Default constructor. | |
Private Member Functions | |
virtual void | visit (Expr::Visitor &visitor) const |
Abstract visitor function. |
Concrete class for AST Node representing a dictionary value.
This creates an instance of an initialized dictionary of string:int For example:
local y = ["a":1, "b":2, "c":3];
DictExpr | ( | const QualifiedType & | type, |
const DictList & | list | ||
) | [inline] |
Default constructor.
type | Expression type |
list | The initialization parameters |
void visit | ( | Expr::Visitor & | visitor | ) | const [private, virtual] |