A cross-platform functional programming language

Expr Class Reference

Base class for expression AST Nodes. More...

#include <Ast.hpp>

Inheritance diagram for Expr:
Node AnyExpr BinaryExpr CastExpr ConstantExpr DictExprBase EnumRefExpr FunctionCallExpr FunctionDefImplExpr FunctionImplExpr IndexExpr InstanceExpr InternalCallExpr InvokerCallExpr ListExpr OrderedExpr QueryConstantExpr QueryExpr QueryPartExpr QueryValExpr SpliceExpr StringFormatExpr StructInitExpr TernaryOpExpr UnaryOpExpr VariableRefExpr

List of all members.


class  Visitor
 Expr Visitor interface class. More...

Public Member Functions

 Expr (const QualifiedType &type)
 Default constructor.
virtual void visit (Visitor &visitor) const =0
 Visitor pattern implementation.
const QualifiedTypegetType () const
 Returns a reference to the expression type.

Private Attributes

const QualifiedType_type
 Expression type.

Detailed Description

Base class for expression AST Nodes.

Constructor & Destructor Documentation

Expr ( const QualifiedType type) [inline]

Default constructor.

typeExpression type

Member Function Documentation

const QualifiedType& getType ( ) const [inline]

Returns a reference to the expression type.

Expression type

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines