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

The v register, which represents the current value in the grid. More...

#include <ast.hh>

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

Public Member Functions

virtual uint16_t interpret (Interpreter::State &) override
 Returns the value in this register (when interpreting the AST).
 
virtual void assign (Interpreter::State &, uint16_t) override
 Assigns a value to the register (when interpreting the AST).
 
virtual llvm::Value * compile (Compiler::State &) override
 Returns an LLVM value representing an access to this register (when compiling).
 
virtual void assign (Compiler::State &, llvm::Value *) override
 Generates code for assigning the specified value to this register (when compiling).
 

Detailed Description

The v register, which represents the current value in the grid.

Definition at line 147 of file ast.hh.


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