Class: UiTranslatorCompiler

UiTranslatorCompiler()

Compiler that translates QubecTalk code into object representation. Facade which parses QubecTalk scripts and converts them into objects which represent the program structure for UI editor-compatiable objects. Detects and reports syntax errors.

Constructor

new UiTranslatorCompiler()

Source:

Methods

compile(input) → {TranslationResult}

Compiles QubecTalk code into an object representation. Parses the input code using ANTLR and translates it into objects representing the program structure. Reports any syntax errors encountered.
Parameters:
Name Type Description
input string The QubecTalk code to compile.
Source:
Returns:
Result containing either the compiled program object or any encountered errors.
Type
TranslationResult