| Package | Description |
|---|---|
| com.helger.pgcc.jjdoc |
Generates BNF documentation from a grammar.
|
| com.helger.pgcc.parser |
A grammar and lexer generator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XTextGenerator.expansionEnd(Expansion e,
boolean first) |
void |
TextGenerator.expansionEnd(Expansion e,
boolean first) |
void |
IDocGenerator.expansionEnd(Expansion e,
boolean first)
Output end of Expansion.
|
void |
HTMLGenerator.expansionEnd(Expansion e,
boolean first) |
void |
BNFGenerator.expansionEnd(Expansion e,
boolean first) |
void |
XTextGenerator.expansionStart(Expansion e,
boolean first) |
void |
TextGenerator.expansionStart(Expansion e,
boolean first) |
void |
IDocGenerator.expansionStart(Expansion e,
boolean first)
Output start of an Expansion.
|
void |
HTMLGenerator.expansionStart(Expansion e,
boolean first) |
void |
BNFGenerator.expansionStart(Expansion e,
boolean bFirst) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExpRegularExpression
Describes regular expressions.
|
class |
ExpAction
Describes actions that may occur on the right hand side of productions.
|
class |
ExpChoice
Describes expansions where one of many choices is taken (c1|c2|...).
|
class |
ExpLookahead
Describes lookahead rule for a particular expansion or expansion sequence
(See Sequence.java).
|
class |
ExpNonTerminal
Describes non terminals.
|
class |
ExpOneOrMore
Describes one-or-more expansions (e.g., foo+).
|
class |
ExpRCharacterList
Describes character lists.
|
class |
ExpRChoice
Describes regular expressions which are choices from from among included
regular expressions.
|
class |
ExpREndOfFile
Describes the EOF regular expression
|
class |
ExpRJustName
Describes regular expressions which are referred to just by their name.
|
class |
ExpROneOrMore
Describes one-or-more regular expressions (<foo+>).
|
class |
ExpRRepetitionRange
Describes one-or-more regular expressions (<foo+>).
|
class |
ExpRSequence
Describes regular expressions which are sequences of other regular
expressions.
|
class |
ExpRStringLiteral
Describes string literals.
|
class |
ExpRZeroOrMore
Describes zero-or-more regular expressions (<foo*>).
|
class |
ExpRZeroOrOne
Describes zero-or-one regular expressions (<foo?
|
class |
ExpSequence
Describes expansions that are sequences of expansion units.
|
class |
ExpTryBlock
Describes expansions of the form "try {...} ...".
|
class |
ExpZeroOrMore
Describes zero-or-more expansions (e.g., foo*).
|
class |
ExpZeroOrOne
Describes zero-or-one expansions (e.g., [foo], foo?).
|
| Modifier and Type | Field and Description |
|---|---|
Expansion |
ExpTryBlock.m_exp
The expansion contained within the try block.
|
Expansion |
ExpZeroOrOne.m_expansion
The expansion which is repeated zero or one times.
|
Expansion |
ExpZeroOrMore.m_expansion
The expansion which is repeated zero or more times.
|
Expansion |
ExpOneOrMore.m_expansion
The expansion which is repeated one or more times.
|
| Modifier and Type | Method and Description |
|---|---|
Expansion |
NormalProduction.getExpansion() |
Expansion |
ExpLookahead.getLaExpansion() |
| Modifier and Type | Method and Description |
|---|---|
List<Expansion> |
ExpChoice.getChoices() |
Iterable<Expansion> |
ExpSequence.units() |
| Modifier and Type | Method and Description |
|---|---|
void |
ITreeWalkerOperation.action(Expansion e)
When a node is visited, this method is invoked with the node as parameter.
|
void |
ExpSequence.addUnit(Expansion aObj) |
static void |
LookaheadCalc.ebnfCalc(Expansion exp,
Expansion nested) |
static boolean |
Semanticize.emptyExpansionExists(Expansion exp) |
static List<MatchInfo> |
LookaheadWalk.genFirstSet(List<MatchInfo> partialMatches,
Expansion exp) |
static List<MatchInfo> |
LookaheadWalk.genFollowSet(List<MatchInfo> partialMatches,
Expansion exp,
long generation) |
boolean |
ITreeWalkerOperation.goDeeper(Expansion e)
When called at a particular node, this specifies to the tree walker if it
should visit more nodes under this node.
|
protected static void |
JavaCCParserInternals.productionAddExpansion(BNFProduction p,
Expansion e) |
void |
NormalProduction.setExpansion(Expansion expansion) |
void |
ExpLookahead.setLaExpansion(Expansion la_expansion) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
ExpZeroOrOne.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpZeroOrMore.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpTryBlock.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpSequence.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpRStringLiteral.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpOneOrMore.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpNonTerminal.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpLookahead.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpChoice.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
Expansion.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
ExpAction.dump(int indent,
Set<? super Expansion> alreadyDumped) |
StringBuilder |
AbstractExpRegularExpression.dump(int indent,
Set<? super Expansion> alreadyDumped) |
void |
ExpChoice.setChoices(List<Expansion> choices) |
| Constructor and Description |
|---|
ExpChoice(Expansion expansion) |
ExpOneOrMore(Token t,
Expansion e) |
ExpZeroOrMore(Token token,
Expansion expansion) |
ExpZeroOrOne(Token t,
Expansion e) |
Copyright © 2017–2019 Philip Helger. All rights reserved.