|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
A single scope level, tracking declared identifiers by category. More...
#include <validator.hpp>
Public Attributes | |
| std::unordered_set< std::string > | vars |
| variable names | |
| std::unordered_set< std::string > | consts |
| constant names | |
| std::unordered_set< std::string > | types |
| type names | |
| std::unordered_set< std::string > | funcs |
| function names | |
| std::unordered_set< std::string > | procs |
| procedure names | |
| std::unordered_set< std::string > | params |
| parameter names | |
A single scope level, tracking declared identifiers by category.
Definition at line 18 of file validator.hpp.
| std::unordered_set<std::string> mxx::Scope::consts |
constant names
Definition at line 20 of file validator.hpp.
| std::unordered_set<std::string> mxx::Scope::funcs |
function names
Definition at line 22 of file validator.hpp.
Referenced by mxx::TPValidator::declareFunc(), and mxx::TPValidator::isFuncDeclaredHere().
| std::unordered_set<std::string> mxx::Scope::params |
parameter names
Definition at line 24 of file validator.hpp.
Referenced by mxx::TPValidator::declareParam(), and mxx::TPValidator::isParamDeclaredHere().
| std::unordered_set<std::string> mxx::Scope::procs |
procedure names
Definition at line 23 of file validator.hpp.
Referenced by mxx::TPValidator::declareProc(), and mxx::TPValidator::isProcDeclaredHere().
| std::unordered_set<std::string> mxx::Scope::types |
type names
Definition at line 21 of file validator.hpp.
Referenced by mxx::TPValidator::declareType(), and mxx::TPValidator::isTypeDeclaredHere().
| std::unordered_set<std::string> mxx::Scope::vars |
variable names
Definition at line 19 of file validator.hpp.
Referenced by mxx::TPValidator::declareVar(), and mxx::TPValidator::isVarDeclaredHere().