Class MLParser
Inherits from
-
Object
(base class)
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
_code
|
string |
|
_context
|
Widget |
|
_currentWidget
|
Widget |
|
_filename
|
string |
|
_ownContext
|
bool |
|
_token
|
Token |
|
_tokenizer
|
Tokenizer |
|
_treeStack
|
dlangui |
Methods
Name | Description |
---|---|
createWidget
|
|
applySuffix
|
|
checkNoEof
|
throw exception if current token is eof |
createContext
|
|
error
|
|
nextToken
|
move to next token |
nextTokenNoEof
|
move to next token, throw exception if eof |
parse
|
|
parseProperty
|
|
parseRectProperty
|
|
parseWidgetProperties
|
|
setBoolProperty
|
|
setFloatProperty
|
|
setIdentProperty
|
|
setIntProperty
|
|
setRectProperty
|
|
setStringProperty
|
|
skipWhitespace
|
|
skipWhitespaceAndEols
|
|
skipWhitespaceAndEolsNoEof
|
|
skipWhitespaceNoEof
|
|
unknownObjectError
|
|
unknownPropertyError
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2015
License
Boost License 1.0