Uses of Class
org.jparsec.TreeNode
-
Packages that use TreeNode Package Description org.jparsec Provides core Parser implementations for parser combinator logic. -
-
Uses of TreeNode in org.jparsec
Fields in org.jparsec declared as TreeNode Modifier and Type Field Description private TreeNodeParseContext. currentErrorNode(package private) TreeNodeTreeNode. latestChildprivate TreeNodeTreeNode. parentprivate TreeNodeTreeNode. previousMethods in org.jparsec that return TreeNode Modifier and Type Method Description (package private) TreeNodeTreeNode. addChild(java.lang.String childName, int childIndex)(package private) TreeNodeTreeNode. 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.TreeNodeParseContext.ParserTrace. getCurrentNode()Returns the current node, that is being parsed (not necessarily finished).TreeNodeParseContext.ParserTrace. getLatestChild()Called by branching parsers, to save the current state of tree, before trying parsers that could modify the tree state.(package private) TreeNodeTreeNode. 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) TreeNodeTreeNode. parent()Methods in org.jparsec with parameters of type TreeNode Modifier and Type Method Description private voidBestParser. applyForBestFit(int from, ParseContext ctxt, java.lang.Object originalResult, int originalStep, int originalAt, TreeNode originalLatestChild)voidParseContext.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 Constructor Description TreeNode(java.lang.String name, int beginIndex, TreeNode parent, TreeNode previous)
-