Uses of Class
org.javacc.parser.Expansion
-
Packages that use Expansion Package Description org.javacc.jjdoc Generates BNF documentation from a grammar.org.javacc.parser A grammar and lexer generator. -
-
Uses of Expansion in org.javacc.jjdoc
Methods in org.javacc.jjdoc with parameters of type Expansion Modifier and Type Method Description private 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.parser Modifier and Type Class Description classActionDescribes actions that may occur on the right hand side of productions.classBNFProductionDescribes BNF productions.classCharacterRangeDescribes character range descriptors in a character list.classChoiceDescribes expansions where one of many choices is taken (c1|c2|...).classCodeProductionDescribes a CODE productions.classCppCodeProductionDescribes CPPCODE productions.classJavaCodeProductionDescribes JAVACODE productions.classLookaheadDescribes lookahead rule for a particular expansion or expansion sequence (See Sequence.java).classNonTerminalDescribes non terminals.classNormalProductionDescribes JavaCC productions.classOneOrMoreDescribes one-or-more expansions (e.g., foo+).classRCharacterListDescribes character lists.classRChoiceDescribes regular expressions which are choices from from among included regular expressions.classRegularExpressionDescribes regular expressions.classREndOfFileDescribes the EOF regular expressionclassRJustNameDescribes regular expressions which are referred to just by their name.classROneOrMoreDescribes one-or-more regular expressions (). classRRepetitionRangeDescribes one-or-more regular expressions (). classRSequenceDescribes regular expressions which are sequences of other regular expressions.classRStringLiteralDescribes string literals.classRZeroOrMoreDescribes zero-or-more regular expressions (). classRZeroOrOneDescribes zero-or-one regular expressions (). classSequenceDescribes expansions that are sequences of expansion units.classSingleCharacterDescribes single character descriptors in a character list.classTryBlockDescribes expansions of the form "try {...} ...".classZeroOrMoreDescribes zero-or-more expansions (e.g., foo*).classZeroOrOneDescribes zero-or-one expansions (e.g., [foo], foo?).Fields in org.javacc.parser declared as Expansion Modifier and Type Field Description ExpansionTryBlock. expThe expansion contained within the try block.private ExpansionNormalProduction. expansionThe RHS of this production.private ExpansionOneOrMore. expansionThe expansion which is repeated zero or one times.private ExpansionZeroOrMore. expansionThe expansion which is repeated zero or more times.private 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 Expansion Modifier and Type Field Description private java.util.List<Expansion>Choice. choicesThe list of choices of this expansion unit.java.util.List<Expansion>RCharacterList. descriptorsThis is the list of descriptors of the character list.private java.util.List<Expansion>NormalProduction. parentsThe NonTerminal nodes which refer to this production.java.util.List<Expansion>Sequence. unitsThe list of units in this expansion sequence.Methods in org.javacc.parser that return Expansion Modifier and Type Method Description ExpansionNormalProduction. getExpansion()ExpansionOneOrMore. getExpansion()Gets theExpansion.ExpansionZeroOrMore. getExpansion()Gets theExpansion.ExpansionZeroOrOne. getExpansion()Gets theExpansion.ExpansionLookahead. getLaExpansion()Methods in org.javacc.parser that return types with arguments of type Expansion Modifier and Type Method Description java.util.List<Expansion>Choice. getChoices()(package private) java.util.List<Expansion>NormalProduction. getParents()Methods in org.javacc.parser with parameters of type Expansion Modifier and Type Method Description voidSemanticize.EmptyChecker. action(Expansion e)voidSemanticize.FixRJustNames. action(Expansion e)voidSemanticize.LookaheadChecker. action(Expansion e)voidSemanticize.LookaheadFixer. action(Expansion e)voidSemanticize.ProductionDefinedChecker. action(Expansion e)voidTreeWalkerOp. action(Expansion e)When 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)(package private) java.util.List<MatchInfo>LookaheadWalk. genFirstSet(java.util.List<MatchInfo> partialMatches, Expansion exp)(package private) java.util.List<MatchInfo>LookaheadWalk. genFollowSet(java.util.List<MatchInfo> partialMatches, Expansion exp, long generation, Semanticize semanticize)booleanSemanticize.EmptyChecker. goDeeper(Expansion e)booleanSemanticize.FixRJustNames. goDeeper(Expansion e)booleanSemanticize.LookaheadChecker. goDeeper(Expansion e)booleanSemanticize.LookaheadFixer. goDeeper(Expansion e)booleanSemanticize.ProductionDefinedChecker. goDeeper(Expansion e)booleanTreeWalkerOp. goDeeper(Expansion e)When called at a particular node, this specifies to the tree walker if it should visit more nodes under this node.private static java.lang.StringLookaheadCalc. image(Expansion exp)(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 Expansion Modifier and Type Method Description java.lang.StringBufferAction. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferChoice. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferExpansion. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferLookahead. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferNonTerminal. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferNormalProduction. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferOneOrMore. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferRegularExpression. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferRStringLiteral. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferSequence. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferTryBlock. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferZeroOrMore. dump(int indent, java.util.Set<Expansion> alreadyDumped)java.lang.StringBufferZeroOrOne. dump(int indent, java.util.Set<Expansion> alreadyDumped)voidJavaCCParser. expansion_choices(Container<Expansion> c1)Constructors in org.javacc.parser with parameters of type Expansion Constructor Description Choice(Expansion expansion)OneOrMore(Token token, Expansion expansion)ZeroOrMore(Token token, Expansion expansion)ZeroOrOne(Token token, Expansion expansion)
-