Gyoji Compiler
|
Primitive operation in a scope. More...
#include <function-scope.hpp>
Public Types | |
enum | ScopeOperationType { VAR_DECL , LABEL_DEFINITION , GOTO_DEFINITION , CHILD_SCOPE } |
Public Member Functions | |
~ScopeOperation () | |
Move along, nothing to see here. | |
Primitive operation in a scope.
The only types of operations in this scope tracker are variable declarations, label definitions, goto statements, and sub-scopes. This is a HIGHLY abstract representation specifically for the purpose of reasoning about the sequence of operations in a 'goto' scenario. Other types of operations inside scopes are deliberately omitted because they are irrelevant to the problem this is trying to solve.
ScopeOperation::~ScopeOperation | ( | ) |
Move along, nothing to see here.
Move along, nothing to see here.