|
OpenMW
|
#include <context.hpp>
Public Member Functions | |
| Context () | |
| virtual | ~Context () |
| virtual bool | canDeclareLocals () const =0 |
| Is the compiler allowed to declare local variables? | |
| void | setExtensions (const Extensions *extensions=0) |
| const Extensions * | getExtensions () const |
| virtual char | getGlobalType (const std::string &name) const =0 |
| 'l: long, 's': short, 'f': float, ' ': does not exist. | |
| virtual char | getMemberType (const std::string &name, const std::string &id) const =0 |
| 'l: long, 's': short, 'f': float, ' ': does not exist. | |
| virtual bool | isId (const std::string &name) const =0 |
| Does name match an ID, that can be referenced? | |
Private Attributes | |
| const Extensions * | mExtensions |
| Compiler::Context::Context | ( | ) | [inline] |
| virtual Compiler::Context::~Context | ( | ) | [inline, virtual] |
| virtual bool Compiler::Context::canDeclareLocals | ( | ) | const [pure virtual] |
Is the compiler allowed to declare local variables?
Implemented in MWScript::CompilerContext, and CSMWorld::ScriptContext.
| const Extensions* Compiler::Context::getExtensions | ( | ) | const [inline] |
| virtual char Compiler::Context::getGlobalType | ( | const std::string & | name | ) | const [pure virtual] |
'l: long, 's': short, 'f': float, ' ': does not exist.
Implemented in MWScript::CompilerContext, and CSMWorld::ScriptContext.
| virtual char Compiler::Context::getMemberType | ( | const std::string & | name, |
| const std::string & | id | ||
| ) | const [pure virtual] |
'l: long, 's': short, 'f': float, ' ': does not exist.
Implemented in MWScript::CompilerContext, and CSMWorld::ScriptContext.
| virtual bool Compiler::Context::isId | ( | const std::string & | name | ) | const [pure virtual] |
Does name match an ID, that can be referenced?
Implemented in MWScript::CompilerContext, and CSMWorld::ScriptContext.
| void Compiler::Context::setExtensions | ( | const Extensions * | extensions = 0 | ) | [inline] |
const Extensions* Compiler::Context::mExtensions [private] |
1.7.6.1