A (number) literal. More...
#include <ast.hh>
Public Member Functions | |
virtual uint16_t | interpret (Interpreter::State &) override |
Interpret this node, updating the given interpreter step and returning the value (if there is one). | |
virtual void | construct (const pegmatite::InputRange &r, pegmatite::ASTStack &st) override |
virtual llvm::Value * | compile (Compiler::State &) override |
Compile this node, returning the LLVM value representing the result, if there is one. | |
Public Attributes | |
uint16_t | value |
The value for this literal. | |