Zen
A cross-platform functional programming language
|
Concrete AST class for items in dictionary containers. More...
#include <Ast.hpp>
Public Member Functions | |
DictItem (const Expr &key, const Expr &expr) | |
Default constructor. | |
const Ast::Expr & | getKey () const |
Returns a reference to the list key expression. | |
const Ast::Expr & | getExpr () const |
Returns a reference to the list value expression. | |
Private Attributes | |
const Expr & | _key |
List key expression. | |
const Expr & | _expr |
List value expression. |
Concrete AST class for items in dictionary containers.
Default constructor.
key | Dictionary key expression |
expr | Dictionary value expression |
const Ast::Expr& getExpr | ( | ) | const [inline] |
Returns a reference to the list value expression.
const Ast::Expr& getKey | ( | ) | const [inline] |
Returns a reference to the list key expression.