MysoreScript
List of all members
AST::NewExpr Class Reference

A new expression, which constructs a new instance of a class. More...

#include <ast.hh>

Inheritance diagram for AST::NewExpr:
Inheritance graph
[legend]
Collaboration diagram for AST::NewExpr:
Collaboration graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from AST::Expression
virtual bool isConstantExpression ()
 Returns true if the expression is constant and therefore doesn't need interpreting every time. More...
 
Obj evaluate (Interpreter::Context &c)
 Evaluate the expression, caching the result if it's a constant expression. More...
 
void interpret (Interpreter::Context &c) override final
 Interpret this expression as if it were a statement. More...
 
void compile (Compiler::Context &c) override final
 Compile this expression as if it were a statement. More...
 
- Protected Attributes inherited from AST::Expression
Interpreter::Value cache
 Cached result for constant expression. More...
 

Detailed Description

A new expression, which constructs a new instance of a class.

Definition at line 853 of file ast.hh.


The documentation for this class was generated from the following files: