virtual bool isJournalId(const std::string &name) const
Does name match a journal ID?
Definition: compilercontext.cpp:90
Type
Definition: compilercontext.hpp:12
Definition: context.hpp:10
Type mType
Definition: compilercontext.hpp:21
CompilerContext(Type type)
Definition: compilercontext.cpp:19
Definition: compilercontext.hpp:15
virtual bool canDeclareLocals() const
Is the compiler allowed to declare local variables?
Definition: compilercontext.cpp:23
virtual char getGlobalType(const std::string &name) const
'l: long, 's': short, 'f': float, ' ': does not exist.
Definition: compilercontext.cpp:28
Definition: compilercontext.hpp:16
Definition: compilercontext.hpp:14
virtual bool isId(const std::string &name) const
Does name match an ID, that can be referenced?
Definition: compilercontext.cpp:61
virtual std::pair< char, bool > getMemberType(const std::string &name, const std::string &id) const
Definition: compilercontext.cpp:33
Definition: compilercontext.hpp:8