Uses of Class
org.jparsec.TreeNode
Packages that use TreeNode
-
Uses of TreeNode in org.jparsec
Fields in org.jparsec declared as TreeNodeModifier and TypeFieldDescriptionprivate TreeNode
ParseContext.currentErrorNode
(package private) TreeNode
TreeNode.latestChild
private final TreeNode
TreeNode.parent
private final TreeNode
TreeNode.previous
Methods in org.jparsec that return TreeNodeModifier and TypeMethodDescription(package private) TreeNode
(package private) TreeNode
TreeNode.freeze
(int index) Freezes the current tree node to make it the latest child of its parent (discarding nodes that have been tacked on after it in the same hierarchy level); and recursively apply to all of its ancestors.ParseContext.ParserTrace.getCurrentNode()
Returns the current node, that is being parsed (not necessarily finished).ParseContext.ParserTrace.getLatestChild()
Called by branching parsers, to save the current state of tree, before trying parsers that could modify the tree state.(package private) TreeNode
TreeNode.orphanize()
When this leaf node has errors, it didn't complete and shouldn't be part of the parse tree that is the current partial parse result with all successful matches.(package private) TreeNode
TreeNode.parent()
Methods in org.jparsec with parameters of type TreeNodeModifier and TypeMethodDescriptionprivate void
BestParser.applyForBestFit
(int from, ParseContext ctxt, Object originalResult, int originalStep, int originalAt, TreeNode originalLatestChild) void
ParseContext.ParserTrace.setLatestChild
(TreeNode node) Called by labeled parser to reset the current child node when the current node failed.Constructors in org.jparsec with parameters of type TreeNode