Methods
(static) parse(text) → {module:kdljs/parser~parseResult}
Parameters:
Name | Type | Description |
---|---|---|
text |
string | Input KDL file (or fragment) |
Returns:
Output
Type Definitions
Document
A Document.
Type:
- Array.<module:kdljs~Node>
Node
A Node.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
name |
string | The name of the Node |
values |
Array.<module:kdljs~Value> | Collection of Arguments |
properties |
Object.<string, module:kdljs~Value> | Collection of Properties |
children |
module:kdljs~Document | Nodes in the Children block |
Value
A Value.
Type:
- string | number | boolean | null