Pegmatite
 All Classes Functions Variables Enumerations
Public Member Functions | List of all members
AST::Statement Struct Referenceabstract

Root class for all statement AST nodes in the Cellular Automata grammar. More...

#include <ast.hh>

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

Public Member Functions

virtual uint16_t interpret (Interpreter::State &)=0
 Interpret this node, updating the given interpreter step and returning the value (if there is one).
 
virtual llvm::Value * compile (Compiler::State &)=0
 Compile this node, returning the LLVM value representing the result, if there is one.
 

Detailed Description

Root class for all statement AST nodes in the Cellular Automata grammar.

Definition at line 77 of file ast.hh.


The documentation for this struct was generated from the following file: