PhrasePathRecord

class PhrasePathRecord(val rootTrees: MutableList<Repository.PhraseNode> = mutableListOf())

Information for efficiently navigating from any position in a module's source to the hierarchy of A_Phrases containing that position.

Constructors

Link copied to clipboard
fun PhrasePathRecord(rootTrees: MutableList<Repository.PhraseNode> = mutableListOf())

Construct an instance from an optional list of PhraseNodes.

Functions

Link copied to clipboard
fun phraseNodesDo(action: (Repository.PhraseNode) -> Unit)

For each PhraseNode in this module, working top-down, invoke the action with that PhraseNode.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val rootTrees: MutableList<Repository.PhraseNode>

The PhraseNodes representing the sequence of top-level phrases of the module.