OpenMW
Public Member Functions | Private Attributes
Compiler::Context Class Reference

#include <context.hpp>

List of all members.

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 ExtensionsgetExtensions () 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 ExtensionsmExtensions

Constructor & Destructor Documentation

virtual Compiler::Context::~Context ( ) [inline, virtual]

Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following file: