|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
A single case branch (one or more values mapping to a statement). More...
#include <ast.hpp>
Public Member Functions | |
| CaseBranch (std::vector< std::unique_ptr< ASTNode > > vals, std::unique_ptr< ASTNode > stmt) | |
Public Attributes | |
| std::vector< std::unique_ptr< ASTNode > > | values |
| match values | |
| std::unique_ptr< ASTNode > | statement |
| branch body | |
A single case branch (one or more values mapping to a statement).
| std::unique_ptr<ASTNode> pascal::CaseStmtNode::CaseBranch::statement |
| std::vector<std::unique_ptr<ASTNode> > pascal::CaseStmtNode::CaseBranch::values |