Zen
A cross-platform functional programming language
|
Concrete class for all binary expression AST nodes. More...
#include <Ast.hpp>
Public Member Functions | |
BinaryOpExpr (const QualifiedType &type, const Expr &lhs, const z::string &op, const Expr &rhs) | |
Default constructor. | |
Private Member Functions | |
virtual void | visit (Visitor &visitor) const |
Abstract visitor function. |
Concrete class for all binary expression AST nodes.
BinaryOpExpr | ( | const QualifiedType & | type, |
const Expr & | lhs, | ||
const z::string & | op, | ||
const Expr & | rhs | ||
) | [inline] |
Default constructor.
type | Expression type |
lhs | The LHS of the expression |
op | The operator of the expression |
rhs | The RHS of the expression |
void visit | ( | Visitor & | visitor | ) | const [private, virtual] |