Uses of Class
org.javacc.parser.Expansion
Packages that use Expansion
Package
Description
Generates BNF documentation from a grammar.
A grammar and lexer generator.
-
Uses of Expansion in org.javacc.jjdoc
Methods in org.javacc.jjdoc with parameters of type ExpansionModifier and TypeMethodDescriptionprivate static voidJJDoc.emitExpansionTree(Expansion exp, Generator gen, JJDocContext context) voidBNFGenerator.expansionEnd(Expansion e, boolean first) voidGenerator.expansionEnd(Expansion e, boolean first) Output end of Expansion.voidHTMLGenerator.expansionEnd(Expansion e, boolean first) voidJCCGenerator.expansionEnd(Expansion e, boolean first) voidTextGenerator.expansionEnd(Expansion e, boolean first) Output end of Expansion.voidXTextGenerator.expansionEnd(Expansion e, boolean first) voidBNFGenerator.expansionStart(Expansion e, boolean first) voidGenerator.expansionStart(Expansion e, boolean first) Output start of an Expansion.voidHTMLGenerator.expansionStart(Expansion e, boolean first) voidJCCGenerator.expansionStart(Expansion e, boolean first) voidTextGenerator.expansionStart(Expansion e, boolean first) Output start of an Expansion.voidXTextGenerator.expansionStart(Expansion e, boolean first) -
Uses of Expansion in org.javacc.parser
Subclasses of Expansion in org.javacc.parserModifier and TypeClassDescriptionclassDescribes actions that may occur on the right hand side of productions.classDescribes BNF productions.classDescribes character range descriptors in a character list.classDescribes expansions where one of many choices is taken (c1|c2|...).classDescribes a CODE productions.classDescribes CPPCODE productions.classDescribes JAVACODE productions.classDescribes lookahead rule for a particular expansion or expansion sequence (See Sequence.java).classDescribes non terminals.classDescribes JavaCC productions.classDescribes one-or-more expansions (e.g., foo+).classDescribes character lists.classDescribes regular expressions which are choices from from among included regular expressions.classDescribes regular expressions.classDescribes the EOF regular expressionclassDescribes regular expressions which are referred to just by their name.classDescribes one-or-more regular expressions (invalid input: '<'foo+>).classDescribes one-or-more regular expressions (invalid input: '<'foo+>).classDescribes regular expressions which are sequences of other regular expressions.classDescribes string literals.classDescribes zero-or-more regular expressions (invalid input: '<'foo*>).classDescribes zero-or-one regular expressions (invalid input: '<'foo?>).classDescribes expansions that are sequences of expansion units.classDescribes single character descriptors in a character list.classDescribes expansions of the form "try {...} ...".classDescribes zero-or-more expansions (e.g., foo*).classDescribes zero-or-one expansions (e.g., [foo], foo?).Fields in org.javacc.parser declared as ExpansionModifier and TypeFieldDescriptionTryBlock.expThe expansion contained within the try block.private ExpansionNormalProduction.expansionThe RHS of this production.private final ExpansionOneOrMore.expansionThe expansion which is repeated zero or one times.private final ExpansionZeroOrMore.expansionThe expansion which is repeated zero or more times.private final ExpansionZeroOrOne.expansionThe expansion which is repeated zero or one times.private ExpansionLookahead.la_expansionThe expansion used to determine whether or not to choose the corresponding parse option.Fields in org.javacc.parser with type parameters of type ExpansionModifier and TypeFieldDescriptionChoice.choicesThe list of choices of this expansion unit.RCharacterList.descriptorsThis is the list of descriptors of the character list.NormalProduction.parentsThe NonTerminal nodes which refer to this production.Sequence.unitsThe list of units in this expansion sequence.Methods in org.javacc.parser that return ExpansionModifier and TypeMethodDescriptionNormalProduction.getExpansion()final ExpansionOneOrMore.getExpansion()Gets theExpansion.final ExpansionZeroOrMore.getExpansion()Gets theExpansion.final ExpansionZeroOrOne.getExpansion()Gets theExpansion.Lookahead.getLaExpansion()Methods in org.javacc.parser that return types with arguments of type ExpansionMethods in org.javacc.parser with parameters of type ExpansionModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidWhen a node is visited, this method is invoked with the node as parameter.private static voidSemanticize.addLeftMost(NormalProduction prod, Expansion exp) (package private) static voidLookaheadCalc.ebnfCalc(Expansion exp, Expansion nested, Semanticize semanticize) static booleanSemanticize.emptyExpansionExists(Expansion exp) private static booleanLookaheadCalc.explicitLA(Expansion exp) LookaheadWalk.genFirstSet(List<MatchInfo> partialMatches, Expansion exp) LookaheadWalk.genFollowSet(List<MatchInfo> partialMatches, Expansion exp, long generation, Semanticize semanticize) booleanbooleanbooleanbooleanbooleanbooleanWhen called at a particular node, this specifies to the tree walker if it should visit more nodes under this node.private static String(package private) static booleanSemanticize.LookaheadChecker.implicitLA(Expansion exp) (package private) static voidExpansionTreeWalker.postOrderWalk(Expansion node, TreeWalkerOp opObj) Visits the nodes of the tree rooted at "node" in post-order.(package private) static voidExpansionTreeWalker.preOrderWalk(Expansion node, TreeWalkerOp opObj) Visits the nodes of the tree rooted at "node" in pre-order.protected voidJavaCCParserInternals.production_addexpansion(BNFProduction p, Expansion e) voidNormalProduction.setExpansion(Expansion expansion) voidLookahead.setLaExpansion(Expansion la_expansion) Method parameters in org.javacc.parser with type arguments of type ExpansionModifier and TypeMethodDescriptionfinal StringBufferfinal StringBufferfinal StringBufferfinal voidJavaCCParser.expansion_choices(Container<Expansion> c1) Constructors in org.javacc.parser with parameters of type Expansion