OpenMW
|
#include <compilercontext.hpp>
Public Types | |
enum | Type { Type_Full, Type_Dialgoue, Type_Console } |
Public Member Functions | |
CompilerContext (Type type) | |
virtual bool | canDeclareLocals () const |
Is the compiler allowed to declare local variables? | |
virtual char | getGlobalType (const std::string &name) const |
'l: long, 's': short, 'f': float, ' ': does not exist. | |
virtual char | getMemberType (const std::string &name, const std::string &id) const |
'l: long, 's': short, 'f': float, ' ': does not exist. | |
virtual bool | isId (const std::string &name) const |
Does name match an ID, that can be referenced? | |
Private Attributes | |
Type | mType |
bool MWScript::CompilerContext::canDeclareLocals | ( | ) | const [virtual] |
Is the compiler allowed to declare local variables?
Implements Compiler::Context.
char MWScript::CompilerContext::getGlobalType | ( | const std::string & | name | ) | const [virtual] |
'l: long, 's': short, 'f': float, ' ': does not exist.
Implements Compiler::Context.
char MWScript::CompilerContext::getMemberType | ( | const std::string & | name, |
const std::string & | id | ||
) | const [virtual] |
'l: long, 's': short, 'f': float, ' ': does not exist.
Implements Compiler::Context.
bool MWScript::CompilerContext::isId | ( | const std::string & | name | ) | const [virtual] |
Does name match an ID, that can be referenced?
Implements Compiler::Context.
Type MWScript::CompilerContext::mType [private] |