Uses of Class
ca.phon.phontalk.parser.AntlrTokens
-
Uses of AntlrTokens in ca.phon.phontalk.parser
Modifier and TypeMethodDescriptionstatic void
AntlrUtils.addTextNode
(org.antlr.runtime.tree.CommonTree parent, AntlrTokens tokens, String data) add a text nodestatic org.antlr.runtime.tree.CommonTree
AntlrUtils.createToken
(AntlrTokens tokens, String tokenName) Create a new common tree node with the given token type.static List<org.antlr.runtime.tree.CommonTree>
AntlrUtils.findAllChildrenWithType
(org.antlr.runtime.tree.CommonTree tree, AntlrTokens tokens, String typeName) Find all children and sub-children with the given type.static List<org.antlr.runtime.tree.CommonTree>
AntlrUtils.findAllChildrenWithType
(org.antlr.runtime.tree.CommonTree tree, AntlrTokens tokens, String... typeNames) Find all children and sub-children with the given type.static List<org.antlr.runtime.tree.CommonTree>
AntlrUtils.findChildrenWithType
(org.antlr.runtime.tree.CommonTree tree, AntlrTokens tokens, String typeName) Find all children with the given type in the provided tree.static void
AntlrUtils.printTree
(AntlrTokens chatTokens, org.antlr.runtime.tree.CommonTree tree, int indent, PrintStream stream)