Index
A B C D E F G H I L M N P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- get(String) - Static method in class quickparse.grammar.symbol.ConstructSymbol
-
Gets a new
ConstructSymbolinstance for the given string.
This method uses the Flyweight design pattern by GoF to cache already created instances. - get(String, String) - Static method in class quickparse.grammar.symbol.TokenSymbol
-
Gets a new
TokenSymbolinstance for the given name and pattern.
This method uses the Flyweight design pattern by GoF to cache already created instances. - getAxiom() - Method in class quickparse.grammar.Grammar
-
Gets the axiom of the grammar (i.e., the first symbol from which a parser should start to interpret the grammar)
- getConstructSymbol(String) - Method in class quickparse.grammar.Grammar
-
Gets the
ConstructSymbolassociated to the given construct name, if any. - getConstructSymbols() - Method in class quickparse.grammar.Grammar
-
Gets all the construct symbols that are specified in this grammar.
- getCurrentSyntaxNode() - Method in class quickparse.semantics.interpreters.typed.TypedInterpreter
-
Gets the node that this interpreter is currently analyzing.
This method is useful to generate detailed semantic errors from inside the annotated methods of the interpreter. - getGrammar() - Method in class quickparse.semantics.interpreters.typed.TypedInterpreter
- getHead() - Method in class quickparse.grammar.Rule
-
Gets the construct symbol produced by this
Rule - getIgnoredPatterns() - Method in class quickparse.grammar.Grammar
-
Returns the list of patterns to ignore.
- getName() - Method in class quickparse.grammar.symbol.ConstructSymbol
- getName() - Method in class quickparse.grammar.symbol.Symbol
-
The name of the symbol
- getName() - Method in class quickparse.grammar.symbol.TokenSymbol
- getPattern() - Method in class quickparse.grammar.symbol.TokenSymbol
-
Gets the pattern that matches this
TokenSymbol - getRules() - Method in class quickparse.grammar.Grammar
-
Returns the rules contained in this grammar.
- getRules(String) - Method in class quickparse.grammar.Grammar
-
Gets all rules used to produce the specified construct (i.e., rules whose head is the specified symbol)
- getRules(ConstructSymbol) - Method in class quickparse.grammar.Grammar
-
Gets all rules used to produce the specified construct (i.e., rules whose head is the specified symbol)
- getSymbols() - Method in class quickparse.grammar.Rule
-
Gets the production body of this
Rule - getSyntaxNodeByResult(Object) - Method in class quickparse.semantics.interpreters.typed.TypedInterpreter
-
Gets the node whose interpretation generated the given result object.
This method is useful to generate detailed semantic errors from inside the annotated methods of the interpreter. - getTokenSymbol(String) - Method in class quickparse.grammar.Grammar
-
Gets the
TokenSymbolassociated to the given token name, if any. - getTokenSymbols() - Method in class quickparse.grammar.Grammar
-
Gets all the token symbols that are specified in this grammar.
- Grammar - Class in quickparse.grammar
-
Represents a BNF (Backus-Naur Form) grammar as a set of syntactical rules.
- Grammar.Builder - Class in quickparse.grammar
-
Allows the construction of a
grammar, rule by rule
All Classes All Packages