Constructor
new BlockBuilder(context)
Parameters:
| Name | Type | Description |
|---|---|---|
context |
object | The shared lowering context. |
- Source:
Members
ops :Array:.<object:>
Type:
- Source:
Methods
markElement(node) → {number}
Allocates an element marker on a skeleton node.
Parameters:
| Name | Type | Description |
|---|---|---|
node |
object | The skeleton node being built. |
- Source:
Returns:
The marker id.
- Type
- number
markText() → {Object}
Allocates a text marker and returns the skeleton comment that holds it.
- Source:
Returns:
The marker id and its skeleton node.
- Type
- Object