MLParser

Undocumented in source.

Constructors

this
this(string code, string filename, Widget context)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

applySuffix
int applySuffix(int value, string suffix)
Undocumented in source. Be warned that the author may not have intended to support it.
checkNoEof
void checkNoEof()

throw exception if current token is eof

createContext
void createContext(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
createWidget
Widget createWidget(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
error
void error(string msg)
Undocumented in source. Be warned that the author may not have intended to support it.
nextToken
void nextToken()

move to next token

nextTokenNoEof
void nextTokenNoEof()

move to next token, throw exception if eof

parse
Widget parse()
Undocumented in source. Be warned that the author may not have intended to support it.
parseArrayProperty
void parseArrayProperty(string propName)
Undocumented in source. Be warned that the author may not have intended to support it.
parseProperty
void parseProperty()
Undocumented in source. Be warned that the author may not have intended to support it.
parseRectProperty
void parseRectProperty(string propName)
Undocumented in source. Be warned that the author may not have intended to support it.
parseWidgetProperties
void parseWidgetProperties(Widget w)
Undocumented in source. Be warned that the author may not have intended to support it.
setBoolProperty
void setBoolProperty(string propName, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloatProperty
void setFloatProperty(string propName, double value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIdentProperty
void setIdentProperty(string propName, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntProperty
void setIntProperty(string propName, int value, string suffix)
Undocumented in source. Be warned that the author may not have intended to support it.
setRectProperty
void setRectProperty(string propName, Rect value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStringListValueProperty
void setStringListValueProperty(string propName, StringListValue[] values)
Undocumented in source. Be warned that the author may not have intended to support it.
setStringProperty
void setStringProperty(string propName, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
skipWhitespace
void skipWhitespace()
Undocumented in source. Be warned that the author may not have intended to support it.
skipWhitespaceAndEols
void skipWhitespaceAndEols()
Undocumented in source. Be warned that the author may not have intended to support it.
skipWhitespaceAndEolsNoEof
void skipWhitespaceAndEolsNoEof()
Undocumented in source. Be warned that the author may not have intended to support it.
skipWhitespaceNoEof
void skipWhitespaceNoEof()
Undocumented in source. Be warned that the author may not have intended to support it.
unknownObjectError
void unknownObjectError(string objectName)
Undocumented in source. Be warned that the author may not have intended to support it.
unknownPropertyError
void unknownPropertyError(string objectName, string propName)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_code
string _code;
Undocumented in source.
_context
Widget _context;
Undocumented in source.
_currentWidget
Widget _currentWidget;
Undocumented in source.
_filename
string _filename;
Undocumented in source.
_ownContext
bool _ownContext;
Undocumented in source.
_token
Token _token;
Undocumented in source.
_tokenizer
Tokenizer _tokenizer;
Undocumented in source.
_treeStack
Collection!Widget _treeStack;
Undocumented in source.

Meta