virtual std::pair< char, bool > getMemberType(const std::string &name, const std::string &id) const =0
virtual bool isId(const std::string &name) const =0
Does name match an ID, that can be referenced?
Definition: context.hpp:10
const Extensions * mExtensions
Definition: context.hpp:12
const Extensions * getExtensions() const
Definition: context.hpp:28
Context()
Definition: context.hpp:16
virtual ~Context()
Definition: context.hpp:18
virtual char getGlobalType(const std::string &name) const =0
'l: long, 's': short, 'f': float, ' ': does not exist.
virtual bool canDeclareLocals() const =0
Is the compiler allowed to declare local variables?
void setExtensions(const Extensions *extensions=0)
Definition: context.hpp:23
virtual bool isJournalId(const std::string &name) const =0
Does name match a journal ID?