#include <context.hpp>
| Compiler::Context::Context |
( |
| ) |
|
|
inline |
| virtual Compiler::Context::~Context |
( |
| ) |
|
|
inlinevirtual |
| virtual bool Compiler::Context::canDeclareLocals |
( |
| ) |
const |
|
pure virtual |
| const Extensions* Compiler::Context::getExtensions |
( |
| ) |
const |
|
inline |
| virtual char Compiler::Context::getGlobalType |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
| virtual std::pair<char, bool> Compiler::Context::getMemberType |
( |
const std::string & |
name, |
|
|
const std::string & |
id |
|
) |
| const |
|
pure virtual |
Return type of member variable name in script id or in script of reference of id
- Returns
- first: 'l: long, 's': short, 'f': float, ' ': does not exist. second: true: script of reference
Implemented in MWScript::CompilerContext, and CSMWorld::ScriptContext.
| virtual bool Compiler::Context::isId |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
| virtual bool Compiler::Context::isJournalId |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
| void Compiler::Context::setExtensions |
( |
const Extensions * |
extensions = 0 | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/travis/build/OpenMW/openmw/components/compiler/context.hpp