-
(static) empty() → {Obj}
-
Get an empty Obj already parsed
This obj, when parsed, will give `{}`
- Source:
Returns:
-
Type
-
Obj
-
execute(context, name) → {*}
-
Execute and return the result for the parsed Obj
Parameters:
Name |
Type |
Description |
context |
Object
|
|
name |
string
|
A string like '<' + description + '>' to be part of a thrown execption |
- Source:
Throws:
if not parsed
Returns:
-
Type
-
*
-
parse() → {Obj}
-
Parses the object content and make it ready to execute
- Source:
Returns:
itself
-
Type
-
Obj
-
push(line)
-
Add one more line as the source of the Obj
Parameters:
Name |
Type |
Description |
line |
string
|
|
- Source:
Throws:
if already parsed