OpenMW
Namespaces | Classes | Functions | Variables
Compiler Namespace Reference

script compiler More...

Namespaces

namespace  Ai
namespace  Animation
namespace  Cell
namespace  Console
namespace  Container
namespace  Control
namespace  Dialogue
namespace  Generator
namespace  Gui
namespace  Misc
namespace  Sky
namespace  Sound
namespace  Stats
namespace  Transformation
namespace  User

Classes

class  Context
class  ControlParser
class  ErrorHandler
 Error handling. More...
class  SourceException
 Exception: Error while parsing the source. More...
class  FileException
 Exception: File error. More...
class  EOFException
 Exception: EOF condition encountered. More...
class  ExprParser
class  Extensions
 Collection of compiler extensions. More...
class  FileParser
class  LineParser
 Line parser, to be used in console scripts and as part of ScriptParser. More...
class  Literals
 Literal values. More...
class  Locals
 Local variable declarations. More...
class  NullErrorHandler
 Error handler implementation: Ignore all error messages. More...
class  Output
class  Parser
 Parser base class. More...
class  Scanner
 Scanner. More...
class  ScriptParser
class  SkipParser
class  StreamErrorHandler
 Error handler implementation: Write errors into stream. More...
class  StringParser
struct  TokenLoc
 Location of a token in a source file. More...

Functions

void registerExtensions (Extensions &extensions, bool consoleOnly)

Variables

static const char * keywords []

Detailed Description

script compiler


Function Documentation

void Compiler::registerExtensions ( Extensions &  extensions,
bool  consoleOnly 
)

Variable Documentation

const char* Compiler::keywords[] [static]
Initial value:
    {
        "begin", "end",
        "short", "long", "float",
        "if", "endif", "else", "elseif",
        "while", "endwhile",
        "return",
        "messagebox",
        "set", "to",
        "getsquareroot",
        "menumode",
        "random",
        "startscript", "stopscript", "scriptrunning",
        "getdistance",
        "getsecondspassed",
        "enable", "disable", "getdisabled",
        0
    }