Functions
-
internal
findAndAddListHeadToMap( position, itemToListHead ) → void
module:list/list/utils/postfixers~findAndAddListHeadToMap
Based on the provided positions looks for the list head and stores it in the provided map.
Parameters
position
:
Position
The search starting position.
itemToListHead
:
Map<ListElement, ListElement>
The map from list item element to the list head element.
Returns
void
-
-
internal
fixListIndents( listNodes, writer ) → boolean
module:list/list/utils/postfixers~fixListIndents
Scans the list starting from the given list head element and fixes items' indentation.
Parameters
listNodes
:
Iterable<ListIteratorValue>
The iterable of list nodes.
writer
:
Writer
The model writer.
Returns
boolean
Whether the model was modified.
-
internal
fixListItemIds( listNodes, seenIds, writer ) → boolean
module:list/list/utils/postfixers~fixListItemIds
Scans the list starting from the given list head element and fixes items' types.
Parameters
listNodes
:
Iterable<ListIteratorValue>
The iterable of list nodes.
seenIds
:
Set<string>
The set of already known IDs.
writer
:
Writer
The model writer.
Returns
boolean
Whether the model was modified.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing?
Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features.
We appreciate your feedback to help us ensure its accuracy and completeness.