SPPTParser

class SPPTParser(runtimeRuleSet: RuntimeRuleSet)

Constructors

SPPTParser
Link copied to clipboard
common
fun SPPTParser(rrsb: RuntimeRuleSetBuilder)

Types

SPPTParserException
Link copied to clipboard
common
class SPPTParserException(message: String) : Exception

Functions

addTree
Link copied to clipboard
common
fun addTree(treeString: String): SharedPackedParseTree
branch
Link copied to clipboard
common
fun branch(input: InputFromString, ruleName: String, option: Int, children: List<SPPTNode>): SPPTBranch
emptyLeaf
Link copied to clipboard
common
fun emptyLeaf(ruleNameThatIsEmpty: String, input: InputFromString, startPosition: Int, nextInputPosition: Int): SPPTLeaf
leaf
Link copied to clipboard
common
fun leaf(pattern: String, text: String, input: InputFromString, startPosition: Int, nextInputPosition: Int): SPPTLeaf

Properties

root
Link copied to clipboard
common
var root: SPPTNode? = null
runtimeRuleSet
Link copied to clipboard
common
val runtimeRuleSet: RuntimeRuleSet
tree
Link copied to clipboard
common
val tree: SharedPackedParseTree