A B C D E F G H I J K L M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(State, int, int, int) - Method in class org.nineml.coffeegrinder.gll.BinarySubtree
- addAttribute(ParserAttribute) - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Add the specified attribute to the attributes collection.
- addAttributes(Collection<ParserAttribute>) - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Add the specified attributes to the attributes collection.
- addChild(NonterminalSymbol, Map<String, String>) - Method in class org.nineml.coffeegrinder.parser.ParseTree
- addChild(Token, Map<String, String>) - Method in class org.nineml.coffeegrinder.parser.ParseTree
- addEdge(ForestNodeGLL) - Method in class org.nineml.coffeegrinder.parser.ForestNodeGLL
- addFamily(ForestNode, ForestNode, State) - Method in class org.nineml.coffeegrinder.parser.ForestNode
- addFamily(ForestNode, State) - Method in class org.nineml.coffeegrinder.parser.ForestNode
- addRule(NonterminalSymbol, List<Symbol>) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Add a rule to the grammar.
- addRule(NonterminalSymbol, Symbol...) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Add a rule to the grammar.
- addRule(Rule) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Add a rule to the grammar.
- advance() - Method in class org.nineml.coffeegrinder.parser.State
-
Get a new state with the position advanced by one
- attemptToContinueInvalidParse() - Static method in exception org.nineml.coffeegrinder.exceptions.ParseException
-
Raised if an attempt is made to continue after an invalid parse.
- AttributeException - Exception in org.nineml.coffeegrinder.exceptions
-
Exceptions that arise processing the attributes of a symbol or token.
- AttributeException(String, String) - Constructor for exception org.nineml.coffeegrinder.exceptions.AttributeException
-
An attribute exception with a message.
- AttributeException(String, String, Throwable) - Constructor for exception org.nineml.coffeegrinder.exceptions.AttributeException
-
An attribute exception with an underlying cause.
B
- BinarySubtree - Class in org.nineml.coffeegrinder.gll
- BinarySubtree(NonterminalSymbol, ParserOptions) - Constructor for class org.nineml.coffeegrinder.gll.BinarySubtree
- BinarySubtreeNode - Class in org.nineml.coffeegrinder.gll
- BinarySubtreePrefix - Class in org.nineml.coffeegrinder.gll
- BinarySubtreeSlot - Class in org.nineml.coffeegrinder.gll
- bsrPrefixes - Variable in class org.nineml.coffeegrinder.gll.BinarySubtree
- bsrSlots - Variable in class org.nineml.coffeegrinder.gll.BinarySubtree
C
- CachingLogger - Class in org.nineml.logging
-
The caching logger stores all of the messages.
- CachingLogger() - Constructor for class org.nineml.logging.CachingLogger
- ch(char) - Static method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Return a token for a string.
- characterIterator(CharSequence) - Static method in class org.nineml.coffeegrinder.util.Iterators
-
An iterator over a character sequence.
- CharacterSet - Class in org.nineml.coffeegrinder.tokens
-
A class that represents a range of Unicode characters.
- checkumFailed() - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the compiled grammar checksum doesn't match the computed value.
- children - Variable in class org.nineml.coffeegrinder.parser.ParseTree
- chooseFromAll(ForestNode, List<RuleChoice>, List<Boolean>) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- chooseFromRemaining(ForestNode, List<RuleChoice>) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- chooseFromRemaining(ForestNode, List<RuleChoice>) - Method in class org.nineml.coffeegrinder.util.PriorityTreeBuilder
- clearLogLevels() - Method in class org.nineml.logging.Logger
-
Clear the log levels.
- clearMessages() - Method in class org.nineml.logging.CachingLogger
- ClusterNode - Class in org.nineml.coffeegrinder.gll
- CodepointToString - Class in org.nineml.coffeegrinder.util
- CodepointToString() - Constructor for class org.nineml.coffeegrinder.util.CodepointToString
- CoffeeGrinderException - Exception in org.nineml.coffeegrinder.exceptions
-
Exceptions raised by this API.
- CoffeeGrinderException(String, String) - Constructor for exception org.nineml.coffeegrinder.exceptions.CoffeeGrinderException
-
An exception with a message.
- CoffeeGrinderException(String, String, Throwable) - Constructor for exception org.nineml.coffeegrinder.exceptions.CoffeeGrinderException
-
An exception with an underlying cause.
- COLUMN_NUMBER_NAME - Static variable in class org.nineml.coffeegrinder.util.ParserAttribute
- comment - Variable in class org.nineml.coffeegrinder.gll.MComment
- compile(NonterminalSymbol) - Method in class org.nineml.coffeegrinder.util.RegexCompiler
- compile(ParserGrammar) - Method in class org.nineml.coffeegrinder.util.GrammarCompiler
-
Compile a grammar.
- compile(ParserGrammar, PrintStream) - Method in class org.nineml.coffeegrinder.util.GrammarCompiler
-
Compile a grammar.
- CompilerException - Exception in org.nineml.coffeegrinder.exceptions
-
Compiler exceptions.
- CompilerException(String, String) - Constructor for exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Grammar exception with a message.
- CompilerException(String, String, Throwable) - Constructor for exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Grammar exception with an underlying cause.
- completed() - Method in class org.nineml.coffeegrinder.parser.State
-
Are we finished with this symbol?
- constructTree(TreeBuilder, ForestNode) - Method in class org.nineml.coffeegrinder.parser.ParseForest
- contains(int, EarleyItem) - Method in class org.nineml.coffeegrinder.parser.EarleyChart
-
Determine if an item is in the chart.
- contains(Rule) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Does this grammar contain an equivalent rule?
- continueParsing() - Method in class org.nineml.coffeegrinder.gll.GllResult
- continueParsing() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
Continue parsing from the last successfully matched prefix.
- continueParsing() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- CrfNode - Class in org.nineml.coffeegrinder.gll
D
- debug(String) - Method in interface org.nineml.coffeegrinder.parser.ParseListener
-
Emit a debug message.
- debug(String) - Method in class org.nineml.coffeegrinder.util.DefaultParseListener
- debug(String, String, Object...) - Method in class org.nineml.logging.CachingLogger
- debug(String, String, Object...) - Method in class org.nineml.logging.DefaultLogger
- debug(String, String, Object...) - Method in class org.nineml.logging.Logger
-
Issue a debug message.
- debug(String, String, Object...) - Method in class org.nineml.logging.SystemLogger
- DEBUG - Static variable in interface org.nineml.coffeegrinder.parser.ParseListener
-
All messages.
- DEBUG - Static variable in class org.nineml.logging.Logger
-
The log level for debug messages.
- Decoratable - Class in org.nineml.coffeegrinder.util
- Decoratable() - Constructor for class org.nineml.coffeegrinder.util.Decoratable
-
A decoratable item with no attributes.
- Decoratable(Collection<ParserAttribute>) - Constructor for class org.nineml.coffeegrinder.util.Decoratable
-
A decoratable item with attributes.
- DefaultLogger - Class in org.nineml.logging
-
The default logger prints messages on stderr.
- DefaultLogger() - Constructor for class org.nineml.logging.DefaultLogger
- defaultLogLevelProperty - Static variable in class org.nineml.logging.Logger
-
The system property for setting the default log level.
- DefaultParseListener - Class in org.nineml.coffeegrinder.util
-
A default implementation of
ParseListener
. - DefaultParseListener() - Constructor for class org.nineml.coffeegrinder.util.DefaultParseListener
-
Create a default listener.
- DefaultParseListener(int) - Constructor for class org.nineml.coffeegrinder.util.DefaultParseListener
-
Create a default listener with a particular message level.
- DefaultProgressMonitor - Class in org.nineml.coffeegrinder.util
-
A default implementation of
ProgressMonitor
. - DefaultProgressMonitor() - Constructor for class org.nineml.coffeegrinder.util.DefaultProgressMonitor
-
Create a progress monitor.
- Descriptor - Class in org.nineml.coffeegrinder.gll
- Descriptor(State, int, int) - Constructor for class org.nineml.coffeegrinder.gll.Descriptor
- detail(String) - Method in interface org.nineml.coffeegrinder.parser.ParseListener
-
Emit a detail message.
- detail(String) - Method in class org.nineml.coffeegrinder.util.DefaultParseListener
- DETAIL - Static variable in interface org.nineml.coffeegrinder.parser.ParseListener
-
Detail messages and above.
- duration() - Method in class org.nineml.coffeegrinder.util.StopWatch
-
The number of milliseconds that the stopwatch has been running.
E
- Earley - org.nineml.coffeegrinder.parser.ParserType
- EarleyChart - Class in org.nineml.coffeegrinder.parser
-
The chart used for Earley parsing.
- earleyFrequency - Static variable in class org.nineml.coffeegrinder.util.DefaultProgressMonitor
-
The default update interval (number of tokens).
- EarleyItem - Class in org.nineml.coffeegrinder.parser
-
An Earley item.
- EarleyParser - Class in org.nineml.coffeegrinder.parser
-
The Earley parser.
- EarleyResult - Class in org.nineml.coffeegrinder.parser
-
The results of an Earley parse.
- elapsed() - Method in class org.nineml.coffeegrinder.util.StopWatch
-
The elapsed time in a human-friendly format.
- elapsed(long) - Method in class org.nineml.coffeegrinder.util.StopWatch
-
The elapsed time in a human-friendly format.
- endAlternative(RuleChoice) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- endNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- endNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.NopPriorityTreeBuilder
- endNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.NopTreeBuilder
- endNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.ParseTreeBuilder
- endNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.PrintStreamTreeBuilder
- endTree() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- EOF - Static variable in class org.nineml.coffeegrinder.parser.TerminalSymbol
- EOF - Static variable in class org.nineml.coffeegrinder.tokens.TokenEOF
- epsilon - Variable in class org.nineml.coffeegrinder.gll.MBsrAdd
- EPSILON - Static variable in class org.nineml.coffeegrinder.parser.TerminalSymbol
- EPSILON - Static variable in class org.nineml.coffeegrinder.tokens.TokenEPSILON
- epsilonRule() - Method in class org.nineml.coffeegrinder.parser.Rule
- equals(Object) - Method in class org.nineml.coffeegrinder.gll.BinarySubtreePrefix
- equals(Object) - Method in class org.nineml.coffeegrinder.gll.BinarySubtreeSlot
- equals(Object) - Method in class org.nineml.coffeegrinder.gll.ClusterNode
- equals(Object) - Method in class org.nineml.coffeegrinder.gll.CrfNode
- equals(Object) - Method in class org.nineml.coffeegrinder.gll.Descriptor
- equals(Object) - Method in class org.nineml.coffeegrinder.gll.PoppedNode
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.EarleyItem
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.Family
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.ForestNode
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.ForestNodeGLL
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.NonterminalSymbol
-
Test nonterminals for equality.
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.RightHandSide
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.Rule
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.State
- equals(Object) - Method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Test tokens for equality.
- equals(Object) - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Tests for the equality of two
CharacterSet
objects. - equals(Object) - Method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Test tokens for equality.
- equals(Object) - Method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Are two token character sets "equal"?
- equals(Object) - Method in class org.nineml.coffeegrinder.tokens.TokenEOF
-
Test tokens for equality.
- equals(Object) - Method in class org.nineml.coffeegrinder.tokens.TokenEPSILON
-
Test tokens for equality.
- equals(Object) - Method in class org.nineml.coffeegrinder.tokens.TokenRegex
- equals(Object) - Method in class org.nineml.coffeegrinder.tokens.TokenString
-
Test tokens for equality.
- equals(Object) - Method in class org.nineml.coffeegrinder.util.ParserAttribute
- error(String) - Method in interface org.nineml.coffeegrinder.parser.ParseListener
-
Emit an error message.
- error(String) - Method in class org.nineml.coffeegrinder.util.DefaultParseListener
- error(String, String, Object...) - Method in class org.nineml.logging.CachingLogger
- error(String, String, Object...) - Method in class org.nineml.logging.DefaultLogger
- error(String, String, Object...) - Method in class org.nineml.logging.Logger
-
Issue an error message.
- error(String, String, Object...) - Method in class org.nineml.logging.SystemLogger
- ERROR - Static variable in interface org.nineml.coffeegrinder.parser.ParseListener
-
Error messages only.
- ERROR - Static variable in class org.nineml.logging.Logger
-
The log level for error messages.
- errorReadingGrammar(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if an error occurs reading the grammar
- exclusion(List<CharacterSet>) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character not in any of the specified ranges.
- exclusion(List<CharacterSet>, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character not in any of the specified ranges (with attributes).
- exclusion(CharacterSet) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character not in the specified range.
- exclusion(CharacterSet...) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character not in the specified ranges.
- exclusion(CharacterSet, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character not in the specified range (with attributes).
- extendableLeaf() - Method in class org.nineml.coffeegrinder.parser.ParseForestGLL
F
- Family - Class in org.nineml.coffeegrinder.parser
-
An internal class representing a family of nodes in the SPPF.
- fileIterator(String) - Static method in class org.nineml.coffeegrinder.util.Iterators
- findOrCreate(State, Symbol, int, int) - Method in class org.nineml.coffeegrinder.parser.ParseForestGLL
- finished(GearleyParser) - Method in interface org.nineml.coffeegrinder.parser.ProgressMonitor
-
Indicates that the parse has finished.
- finished(GearleyParser) - Method in class org.nineml.coffeegrinder.util.DefaultProgressMonitor
-
Finish the monitor.
- ForestException - Exception in org.nineml.coffeegrinder.exceptions
-
Exceptions that arise processing the shared packed parse forest (SPPF).
- ForestException(String, String) - Constructor for exception org.nineml.coffeegrinder.exceptions.ForestException
-
An SPPF exception with a message.
- ForestException(String, String, Throwable) - Constructor for exception org.nineml.coffeegrinder.exceptions.ForestException
-
An SPPF exception with an underlying cause.
- ForestNode - Class in org.nineml.coffeegrinder.parser
-
A node in the SPPF.
- ForestNodeGLL - Class in org.nineml.coffeegrinder.parser
- ForestNodeSet - Class in org.nineml.coffeegrinder.parser
G
- GearleyParser - Interface in org.nineml.coffeegrinder.parser
- GearleyResult - Interface in org.nineml.coffeegrinder.parser
- get(int) - Method in class org.nineml.coffeegrinder.parser.EarleyChart
-
Get a row from the chart.
- get(int) - Method in class org.nineml.coffeegrinder.parser.RightHandSide
- get(int) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Create a token for the specified character.
- get(int, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Create a token for the specified character.
- get(int, ParserAttribute) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Create a token for the specified character.
- get(String) - Static method in class org.nineml.coffeegrinder.tokens.TokenRegex
-
Create a token for the specified regular expression.
- get(String) - Static method in class org.nineml.coffeegrinder.tokens.TokenString
-
Create a token for the specified string.
- get(String, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenRegex
-
Create a token for the specified regular expression (with attributes)
- get(String, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenString
-
Create a token for the specified string (with attributes)
- get(String, ParserAttribute) - Static method in class org.nineml.coffeegrinder.tokens.TokenRegex
-
Create a token for the specified regular expression (with an attribute)
- get(String, ParserAttribute) - Static method in class org.nineml.coffeegrinder.tokens.TokenString
-
Create a token for the specified string (with an attribute)
- getAttribute(String) - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Get a specific token attribute.
- getAttribute(String, String) - Method in class org.nineml.coffeegrinder.parser.ParseTree
- getAttributes() - Method in class org.nineml.coffeegrinder.parser.ParseTree
- getAttributes() - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Get all the token's attributes.
- getAttributesMap() - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Get all the token's attributes as a map.
- getAttributeValue(String, String) - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Get a specific token attribute value.
- getBinarySubtree() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getCharacters() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
What characters are in the set?
- getCharacterSets() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
What are the character sets?
- getChart() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
Get the Earley chart for the parse.
- getChildren() - Method in class org.nineml.coffeegrinder.parser.ParseTree
-
Get the children
- getCode() - Method in exception org.nineml.coffeegrinder.exceptions.CoffeeGrinderException
-
Get the error code.
- getCodepoint() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Return the codepoint value of this token (its character codepoint)
- getColumnNumber() - Method in class org.nineml.coffeegrinder.gll.GllParser
- getColumnNumber() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getColumnNumber() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
- getColumnNumber() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- getColumnNumber() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- getColumnNumber() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getCompiledGrammar() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Get the grammar associated with this report.
- getCompiledGrammar(NonterminalSymbol) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
- getCompiledGrammar(ParserType, NonterminalSymbol) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
- getDefaultLogLevel() - Method in class org.nineml.logging.Logger
-
Get the default log level
- getDescriptor(int, int) - Method in class org.nineml.coffeegrinder.parser.State
- getEdgeCounts(ForestNode) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- getFamilies() - Method in class org.nineml.coffeegrinder.parser.ForestNode
- getFamilies() - Method in class org.nineml.coffeegrinder.util.NodeChoices
- getFirst() - Method in class org.nineml.coffeegrinder.parser.RightHandSide
- getFirst(ParserGrammar) - Method in class org.nineml.coffeegrinder.parser.State
- getFirst(Symbol) - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
- getFollow(Symbol) - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
- getForest() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getForest() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- getForest() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getGrammar() - Method in class org.nineml.coffeegrinder.gll.GllParser
- getGrammar() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Get the grammar used by this parser.
- getGrammar() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- getHygieneReport() - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
-
Get a hygiene report for this compiled grammar.
- getHygieneReport(NonterminalSymbol) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Get a hygiene report for this grammar.
- getInstructionPointer() - Method in class org.nineml.coffeegrinder.parser.State
- getLastToken() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getLastToken() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
What was the last token parsed?
- getLastToken() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getLeftNode() - Method in class org.nineml.coffeegrinder.parser.Family
- getLeftNode() - Method in class org.nineml.coffeegrinder.parser.ForestNode
- getLeftNode() - Method in interface org.nineml.coffeegrinder.parser.RuleChoice
- getLeftNode() - Method in class org.nineml.coffeegrinder.parser.RuleChoiceImpl
- getLineNumber() - Method in class org.nineml.coffeegrinder.gll.GllParser
- getLineNumber() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getLineNumber() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
- getLineNumber() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- getLineNumber() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- getLineNumber() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getLogCategories() - Method in class org.nineml.logging.Logger
-
Get all of the configured log level categories
- getLogger() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
The parser logger.
- getLogLevel(String) - Method in class org.nineml.logging.Logger
-
Get the log level for a particular category.
- getLoops() - Method in class org.nineml.coffeegrinder.parser.ForestNode
- getMessageLevel() - Method in interface org.nineml.coffeegrinder.parser.ParseListener
-
How verbose are we being?
- getMessageLevel() - Method in class org.nineml.coffeegrinder.util.DefaultParseListener
- getMessages() - Method in class org.nineml.logging.CachingLogger
- getMetadataProperies() - Method in class org.nineml.coffeegrinder.parser.Grammar
-
Gets the metadata properties.
- getMetadataProperty(String) - Method in class org.nineml.coffeegrinder.parser.Grammar
-
Gets a metadata property.
- getName() - Method in class org.nineml.coffeegrinder.parser.NonterminalSymbol
-
The name of this symbol.
- getName() - Method in class org.nineml.coffeegrinder.util.ParserAttribute
-
Get the name of an attribute.
- getNodes() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Get the nodes in the graph.
- getNonterminal(String) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Return the nonterminal symbol identified by name.
- getNonterminal(String, Collection<ParserAttribute>) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Return the nonterminal symbol identified by name.
- getNonterminal(String, ParserAttribute) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Return the nonterminal symbol identified by name.
- getOffset() - Method in class org.nineml.coffeegrinder.gll.GllParser
- getOffset() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getOffset() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
- getOffset() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- getOffset() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- getOffset() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getOptions() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Get the options for this forest.
- getParent() - Method in class org.nineml.coffeegrinder.parser.ParseTree
-
Get the parent.
- getParseCount() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- getParser() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getParser() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
Get the parser for this result.
- getParser() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getParser(ParserOptions) - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
-
Get a parser for this grammar.
- getParser(ParserOptions, String) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
- getParser(ParserOptions, NonterminalSymbol) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Get a parser for this grammar.
- getParserOptions() - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
- getParserOptions() - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Gets the parser options.
- getParserType() - Method in class org.nineml.coffeegrinder.gll.GllParser
-
Return the parser type.
- getParserType() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Return the parser type.
- getParserType() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- getParserType() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Return the default parser type.
- getParseTime() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getParseTime() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
How long did the parse take?
- getParseTime() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getParseTree() - Method in class org.nineml.coffeegrinder.util.ParseTreeBuilder
- getPosition() - Method in class org.nineml.coffeegrinder.parser.State
-
Get the current position in this state
- getPredictedTerminals() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getPredictedTerminals() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- getPredictedTerminals() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getPrefixParsing() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
If a parse fails, but some prefix of the input was successfully parsed, make that available.
- getProgressMonitor() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
The progress monitor.
- getRangeFrom() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Where does the range begin?
- getRangeTo() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Where does the range end?
- getReturnChart() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Return the Earley chart even for a successful parse?
- getRevealedParses() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- getRhs() - Method in class org.nineml.coffeegrinder.parser.Rule
-
The sequence of symbols that comprise the definition of the rule's nonterminal.
- getRhs() - Method in class org.nineml.coffeegrinder.parser.State
-
Get the list of symbols that define this state's nonterminal symbol.
- getRightExtent() - Method in class org.nineml.coffeegrinder.gll.BinarySubtree
- getRightHandSide() - Method in class org.nineml.coffeegrinder.parser.Family
- getRightHandSide() - Method in class org.nineml.coffeegrinder.parser.ForestNode
- getRightHandSide() - Method in interface org.nineml.coffeegrinder.parser.RuleChoice
- getRightHandSide() - Method in class org.nineml.coffeegrinder.parser.RuleChoiceImpl
- getRightNode() - Method in class org.nineml.coffeegrinder.parser.Family
- getRightNode() - Method in class org.nineml.coffeegrinder.parser.ForestNode
- getRightNode() - Method in interface org.nineml.coffeegrinder.parser.RuleChoice
- getRightNode() - Method in class org.nineml.coffeegrinder.parser.RuleChoiceImpl
- getRoots() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Get the root nodes in the graph.
- getRule() - Method in class org.nineml.coffeegrinder.parser.State
-
Get the rule that originated this state.
- getRules() - Method in class org.nineml.coffeegrinder.parser.Grammar
-
Get the rules currently defined in this grammar.
- getRulesBySymbol() - Method in class org.nineml.coffeegrinder.parser.Grammar
-
Get the rules currently defined in this grammar organized by symbol.
- getRulesForSymbol(NonterminalSymbol) - Method in class org.nineml.coffeegrinder.parser.Grammar
-
Get the rules currently defined in this grammar for a particular symbol.
- getSeed() - Method in class org.nineml.coffeegrinder.gll.GllParser
- getSeed() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Get the
NonterminalSymbol
seed value used by this parser. - getSeed() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- getSeed() - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
- getSlots() - Method in class org.nineml.coffeegrinder.parser.Rule
- getState() - Method in class org.nineml.coffeegrinder.parser.ForestNode
-
What state does this node represent?
- getSuffix() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- getSymbol() - Method in class org.nineml.coffeegrinder.parser.Family
- getSymbol() - Method in class org.nineml.coffeegrinder.parser.ForestNode
-
What symbol does this node represent?
- getSymbol() - Method in class org.nineml.coffeegrinder.parser.ParseTree
-
Get the symbol associated with this node in the tree.
- getSymbol() - Method in class org.nineml.coffeegrinder.parser.Rule
-
The nonterminal symbol defined by this rule.
- getSymbol() - Method in interface org.nineml.coffeegrinder.parser.RuleChoice
- getSymbol() - Method in class org.nineml.coffeegrinder.parser.RuleChoiceImpl
- getSymbol() - Method in class org.nineml.coffeegrinder.parser.State
-
Get the nonterminal associated with this state
- getSymbols() - Method in class org.nineml.coffeegrinder.parser.Grammar
-
Get the currently defined nonterminals in the grammar.
- getToken() - Method in class org.nineml.coffeegrinder.parser.ParseTree
-
Get the token associated with this node in the tree.
- getToken() - Method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Get the token associated with this terminal symbol.
- getTokenCount() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getTokenCount() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
How many tokens were parsed?
- getTokenCount() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getTokens() - Method in class org.nineml.coffeegrinder.gll.GllParser
- getTree() - Method in class org.nineml.coffeegrinder.gll.GllResult
- getTree() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- getTree() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getTree() - Method in class org.nineml.coffeegrinder.parser.ParseForest
- getTree() - Method in class org.nineml.coffeegrinder.util.StringTreeBuilder
- getTree(TreeBuilder) - Method in class org.nineml.coffeegrinder.gll.GllResult
- getTree(TreeBuilder) - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
Get a tree.
- getTree(TreeBuilder) - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- getTree(TreeBuilder) - Method in class org.nineml.coffeegrinder.parser.ParseForest
- getUndefinedSymbols() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Get the unreachable symbols.
- getUnicodeCharacterClass() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
What is the Unicode character class?
- getUnproductiveRules() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Get the unproductive rules.
- getUnproductiveSymbols() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Get the unproductive symbols.
- getUnreachableSymbols() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Get the unreachable symbols.
- getValue() - Method in class org.nineml.coffeegrinder.tokens.Token
-
What is this token?
- getValue() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Return the value of this token (its character).
- getValue() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
- getValue() - Method in class org.nineml.coffeegrinder.tokens.TokenEOF
-
Return the string value of this token.
- getValue() - Method in class org.nineml.coffeegrinder.tokens.TokenEPSILON
-
Return the string value of this token.
- getValue() - Method in class org.nineml.coffeegrinder.tokens.TokenRegex
-
Get the regular expression.
- getValue() - Method in class org.nineml.coffeegrinder.tokens.TokenString
-
Get the string.
- getValue() - Method in class org.nineml.coffeegrinder.util.ParserAttribute
-
Get the value of an attribute.
- GLL - org.nineml.coffeegrinder.parser.ParserType
- gllexecution - Static variable in class org.nineml.coffeegrinder.gll.GllParser
- gllFrequency - Static variable in class org.nineml.coffeegrinder.util.DefaultProgressMonitor
-
The default update interval (number of states).
- GllParser - Class in org.nineml.coffeegrinder.gll
- GllParser(ParserGrammar, ParserOptions) - Constructor for class org.nineml.coffeegrinder.gll.GllParser
- GllResult - Class in org.nineml.coffeegrinder.gll
- GllResult(GllParser, BinarySubtree) - Constructor for class org.nineml.coffeegrinder.gll.GllResult
- grammar - Variable in class org.nineml.coffeegrinder.gll.GllParser
- grammar - Variable in class org.nineml.coffeegrinder.parser.XEarleyParser
- Grammar - Class in org.nineml.coffeegrinder.parser
- Grammar() - Constructor for class org.nineml.coffeegrinder.parser.Grammar
- GrammarCompiler - Class in org.nineml.coffeegrinder.util
-
Store and retrieve CoffeeGrinder grammar files.
- GrammarCompiler() - Constructor for class org.nineml.coffeegrinder.util.GrammarCompiler
-
Construct a grammar compiler with default parser options.
- GrammarCompiler(ParserOptions) - Constructor for class org.nineml.coffeegrinder.util.GrammarCompiler
-
Construct a grammar compiler.
- GrammarException - Exception in org.nineml.coffeegrinder.exceptions
-
Grammar exceptions.
- GrammarException(String, String) - Constructor for exception org.nineml.coffeegrinder.exceptions.GrammarException
-
Grammar exception with a message.
- GrammarException(String, String, Throwable) - Constructor for exception org.nineml.coffeegrinder.exceptions.GrammarException
-
Grammar exception with an underlying cause.
- grammarIsClosed() - Static method in exception org.nineml.coffeegrinder.exceptions.GrammarException
-
Raised if an attempt is made to write to a closed grammar.
H
- hasAttribute(String) - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Check if a specific attribute is specified.
- hashCode() - Method in class org.nineml.coffeegrinder.gll.BinarySubtreePrefix
- hashCode() - Method in class org.nineml.coffeegrinder.gll.BinarySubtreeSlot
- hashCode() - Method in class org.nineml.coffeegrinder.gll.ClusterNode
- hashCode() - Method in class org.nineml.coffeegrinder.gll.CrfNode
- hashCode() - Method in class org.nineml.coffeegrinder.gll.Descriptor
- hashCode() - Method in class org.nineml.coffeegrinder.gll.PoppedNode
- hashCode() - Method in class org.nineml.coffeegrinder.parser.EarleyItem
- hashCode() - Method in class org.nineml.coffeegrinder.parser.Family
- hashCode() - Method in class org.nineml.coffeegrinder.parser.ForestNode
- hashCode() - Method in class org.nineml.coffeegrinder.parser.NonterminalSymbol
-
Assure that equal nonterminals return the same hash code.
- hashCode() - Method in class org.nineml.coffeegrinder.parser.RightHandSide
- hashCode() - Method in class org.nineml.coffeegrinder.parser.Rule
- hashCode() - Method in class org.nineml.coffeegrinder.parser.State
- hashCode() - Method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Assure that equal tokens return the same hash code.
- hashCode() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Assure that equal tokens return the same hash code.
- hashCode() - Method in class org.nineml.coffeegrinder.tokens.TokenEOF
-
Assure that equal tokens return the same hash code.
- hashCode() - Method in class org.nineml.coffeegrinder.tokens.TokenEPSILON
-
Assure that equal tokens return the same hash code.
- hashCode() - Method in class org.nineml.coffeegrinder.tokens.TokenRegex
- hashCode() - Method in class org.nineml.coffeegrinder.tokens.TokenString
-
Assure that equal tokens return the same hash code.
- hasMoreInput() - Method in class org.nineml.coffeegrinder.gll.GllParser
- hasMoreInput() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Is there more input?
- hasMoreInput() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- HygieneReport - Class in org.nineml.coffeegrinder.parser
-
A report on the hygiene of a grammar.
I
- i - Variable in class org.nineml.coffeegrinder.gll.CrfNode
- id - Variable in class org.nineml.coffeegrinder.parser.ForestNode
-
This node's unique identifier.
- immutable(String, String) - Static method in exception org.nineml.coffeegrinder.exceptions.AttributeException
-
Raised if an attempt is made to modify an existing attribute.
- inclusion(List<CharacterSet>) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character in the specified ranges.
- inclusion(List<CharacterSet>, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character in the specified ranges (with attributes).
- inclusion(CharacterSet) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character in the specified range.
- inclusion(CharacterSet...) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character in the specified ranges.
- inclusion(CharacterSet, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Create a character set terminal that matches any character in the specified range (with attributes)
- info(String) - Method in interface org.nineml.coffeegrinder.parser.ParseListener
-
Emit an info message.
- info(String) - Method in class org.nineml.coffeegrinder.util.DefaultParseListener
- info(String, String, Object...) - Method in class org.nineml.logging.CachingLogger
- info(String, String, Object...) - Method in class org.nineml.logging.DefaultLogger
- info(String, String, Object...) - Method in class org.nineml.logging.Logger
-
Issue an informational message.
- info(String, String, Object...) - Method in class org.nineml.logging.SystemLogger
- INFO - Static variable in interface org.nineml.coffeegrinder.parser.ParseListener
-
Informational messages and above.
- INFO - Static variable in class org.nineml.logging.Logger
-
The log level for informational messages.
- intermediate - Variable in class org.nineml.coffeegrinder.parser.ForestNodeGLL
- internalError() - Static method in exception org.nineml.coffeegrinder.exceptions.TreeWalkerException
-
Raised if an internal error occurs.
- internalError(String) - Static method in exception org.nineml.coffeegrinder.exceptions.ParseException
-
Raised if an internal error occurs.
- invalidCharacterClass(String) - Static method in exception org.nineml.coffeegrinder.exceptions.GrammarException
-
Raised if an invalid Unicode character class is specified.
- invalidGramamr(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the grammar is invalid.
- invalidInput(String) - Static method in exception org.nineml.coffeegrinder.exceptions.ParseException
-
Raised if an attempt is made to parse an invalid input.
- invalidNameEscaping(String, String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if a name is improperly escaped.
- invalidOPTIONAL(String) - Static method in exception org.nineml.coffeegrinder.exceptions.AttributeException
-
Raised if an attempt is made to set an invalid option value.
- ioError(String, Exception) - Static method in exception org.nineml.coffeegrinder.exceptions.ForestException
-
An I/O exception.
- isAmbiguous() - Method in class org.nineml.coffeegrinder.gll.GllResult
- isAmbiguous() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- isAmbiguous() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- isAmbiguous() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Is the grammar represented by this graph ambiguous?
- isAmbiguous() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- isClean() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Is this grammar "clean"?
- isEmpty() - Method in class org.nineml.coffeegrinder.parser.RightHandSide
- isInclusion() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Is this an inclusion characater set?
- isInfinitelyAmbiguous() - Method in class org.nineml.coffeegrinder.gll.GllResult
- isInfinitelyAmbiguous() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
- isInfinitelyAmbiguous() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- isInfinitelyAmbiguous() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Is the grammar represented by this graph infinitely ambiguous?
- isInfinitelyAmbiguous() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- isNullable(Symbol) - Method in class org.nineml.coffeegrinder.parser.Grammar
-
Is the symbol nullable?
- isNullable(Symbol) - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
-
Is a symbol nullable?
- isNullable(Symbol) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
- isRange() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Does this character set represent a range of Unicode code points?
- isSetOfCharacters() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Does this character set represent a specific set of characters?
- isUnicodeCharacterClass() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Does this character set represent a Unicode character class?
- Iterators - Class in org.nineml.coffeegrinder.util
-
Utility class to generate iterators for sequences of characters and strings.
- Iterators() - Constructor for class org.nineml.coffeegrinder.util.Iterators
J
- j - Variable in class org.nineml.coffeegrinder.gll.Descriptor
- j - Variable in class org.nineml.coffeegrinder.parser.EarleyItem
K
- k - Variable in class org.nineml.coffeegrinder.gll.ClusterNode
- k - Variable in class org.nineml.coffeegrinder.gll.Descriptor
L
- L0 - Static variable in class org.nineml.coffeegrinder.parser.State
- label - Variable in class org.nineml.coffeegrinder.gll.MGoto
- label - Variable in class org.nineml.coffeegrinder.gll.MLabel
- label - Variable in class org.nineml.coffeegrinder.parser.State
- leftExtent - Variable in class org.nineml.coffeegrinder.gll.BinarySubtreeNode
- leftExtent - Variable in class org.nineml.coffeegrinder.parser.ForestNode
-
The first position in the input covered by this node.
- length - Variable in class org.nineml.coffeegrinder.parser.RightHandSide
- level - Variable in class org.nineml.coffeegrinder.util.DefaultParseListener
- LINE_NUMBER_NAME - Static variable in class org.nineml.coffeegrinder.util.ParserAttribute
- literal(String) - Static method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Construct a character set containing each of the characters in the literal string.
- logcategory - Static variable in class org.nineml.coffeegrinder.gll.BinarySubtree
- logcategory - Static variable in class org.nineml.coffeegrinder.gll.GllParser
- logcategory - Static variable in class org.nineml.coffeegrinder.parser.EarleyParser
- logcategory - Static variable in class org.nineml.coffeegrinder.parser.ForestNode
- logcategory - Static variable in class org.nineml.coffeegrinder.parser.Grammar
- logcategory - Static variable in class org.nineml.coffeegrinder.parser.HygieneReport
- logcategory - Static variable in class org.nineml.coffeegrinder.parser.ParseForest
- logcategory - Static variable in class org.nineml.coffeegrinder.parser.SourceGrammar
- logcategory - Static variable in class org.nineml.coffeegrinder.parser.XEarleyParser
- logcategory - Static variable in class org.nineml.coffeegrinder.util.NodeChoices
- logcategory - Static variable in class org.nineml.logging.Logger
-
The logging catagory for logger messages.
- Logger - Class in org.nineml.logging
-
The abstract class that all concrete loggers must extend.
- Logger() - Constructor for class org.nineml.logging.Logger
- logLevelsProperty - Static variable in class org.nineml.logging.Logger
-
The system property for setting the category:loglevel mappings.
- loop(RuleChoice) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
M
- matches(char) - Method in class org.nineml.coffeegrinder.tokens.TokenString
-
Does this toke match this character?
- matches(int) - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Test if a code point occurs in the set.
- matches(String) - Method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Does this token match this string?
- matches(String) - Method in class org.nineml.coffeegrinder.tokens.TokenRegex
- matches(String) - Method in class org.nineml.coffeegrinder.tokens.TokenString
-
Does this token match this string?
- matches(Symbol) - Method in class org.nineml.coffeegrinder.parser.NonterminalSymbol
-
Are these the same symbol?
- matches(Symbol) - Method in class org.nineml.coffeegrinder.parser.Symbol
-
Does this symbol match the specified symbol?
- matches(Symbol) - Method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Does this symbol match this other symbol?
- matches(Token) - Method in class org.nineml.coffeegrinder.parser.NonterminalSymbol
-
Does this symbol match the input token?
- matches(Token) - Method in class org.nineml.coffeegrinder.parser.Symbol
-
Does this symbol match the specified token?
- matches(Token) - Method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Does this symbol match the given token?
- matches(Token) - Method in class org.nineml.coffeegrinder.tokens.Token
-
Does this token match the input?
- matches(Token) - Method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Does this token match the input?
- matches(Token) - Method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
-
Returns true if and only if the specified token matches.
- matches(Token) - Method in class org.nineml.coffeegrinder.tokens.TokenEOF
-
Does this token match the input?
- matches(Token) - Method in class org.nineml.coffeegrinder.tokens.TokenEPSILON
-
Does this token match the input?
- matches(Token) - Method in class org.nineml.coffeegrinder.tokens.TokenRegex
-
Does this token match the input token?
- matches(Token) - Method in class org.nineml.coffeegrinder.tokens.TokenString
-
Does this token match the input?
- MBsrAdd - Class in org.nineml.coffeegrinder.gll
- MBsrAdd(State) - Constructor for class org.nineml.coffeegrinder.gll.MBsrAdd
- MBsrAdd(State, boolean) - Constructor for class org.nineml.coffeegrinder.gll.MBsrAdd
- MCall - Class in org.nineml.coffeegrinder.gll
- MCall(State) - Constructor for class org.nineml.coffeegrinder.gll.MCall
- MComment - Class in org.nineml.coffeegrinder.gll
- MComment(String) - Constructor for class org.nineml.coffeegrinder.gll.MComment
- messageDigestError(String, String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the digest cannot be created.
- MessageGenerator - Class in org.nineml.coffeegrinder.exceptions
-
Generates localized messages.
- MessageGenerator() - Constructor for class org.nineml.coffeegrinder.exceptions.MessageGenerator
- MFollow - Class in org.nineml.coffeegrinder.gll
- MFollow(NonterminalSymbol) - Constructor for class org.nineml.coffeegrinder.gll.MFollow
- MGoto - Class in org.nineml.coffeegrinder.gll
- MGoto(State) - Constructor for class org.nineml.coffeegrinder.gll.MGoto
- MIncrementCI - Class in org.nineml.coffeegrinder.gll
- MIncrementCI() - Constructor for class org.nineml.coffeegrinder.gll.MIncrementCI
- minimumTimeInterval - Static variable in class org.nineml.coffeegrinder.util.DefaultProgressMonitor
- missingAttributeGroup(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if an attribute group is missing
- missingXmlId(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if an element is missing a required xml:id
- mkPN(State, int, int, int) - Method in class org.nineml.coffeegrinder.parser.ParseForestGLL
- MLabel - Class in org.nineml.coffeegrinder.gll
- MLabel(State) - Constructor for class org.nineml.coffeegrinder.gll.MLabel
- MNextDescriptor - Class in org.nineml.coffeegrinder.gll
- MNextDescriptor() - Constructor for class org.nineml.coffeegrinder.gll.MNextDescriptor
- moreParses() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- MStatement - Class in org.nineml.coffeegrinder.gll
- MStatement() - Constructor for class org.nineml.coffeegrinder.gll.MStatement
- MTestSelect - Class in org.nineml.coffeegrinder.gll
- MTestSelect(State) - Constructor for class org.nineml.coffeegrinder.gll.MTestSelect
N
- nextSymbol() - Method in class org.nineml.coffeegrinder.parser.State
-
Get the next symbol
- NodeChoices - Class in org.nineml.coffeegrinder.util
- nodeId - Variable in class org.nineml.coffeegrinder.gll.BinarySubtreeNode
- noMoreTrees() - Static method in exception org.nineml.coffeegrinder.exceptions.TreeWalkerException
-
Raised if an attempt is made to walk a tree when there are no more trees.
- NONE - Static variable in interface org.nineml.coffeegrinder.parser.ParseListener
-
No messages.
- NonterminalSymbol - Class in org.nineml.coffeegrinder.parser
-
A nonterminal symbol in the grammar.
- NopPriorityTreeBuilder - Class in org.nineml.coffeegrinder.util
- NopPriorityTreeBuilder() - Constructor for class org.nineml.coffeegrinder.util.NopPriorityTreeBuilder
- NopTreeBuilder - Class in org.nineml.coffeegrinder.util
- NopTreeBuilder() - Constructor for class org.nineml.coffeegrinder.util.NopTreeBuilder
- noSuchNode(String) - Static method in exception org.nineml.coffeegrinder.exceptions.ForestException
-
A no-such-node exception.
- notAGrammar(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the compiled grammar is not in the correct namespace.
- noTreesSelected() - Static method in exception org.nineml.coffeegrinder.exceptions.TreeWalkerException
-
Raised if an attempt is made to walk a tree when none has been selected.
- noVersionProvided() - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the compiled grammar has no version attribute.
O
- of(int) - Static method in class org.nineml.coffeegrinder.util.CodepointToString
- of(String) - Static method in class org.nineml.coffeegrinder.util.CodepointToString
- OFFSET_NAME - Static variable in class org.nineml.coffeegrinder.util.ParserAttribute
- org.nineml.coffeegrinder.exceptions - package org.nineml.coffeegrinder.exceptions
-
CoffeeGrinder exceptions.
- org.nineml.coffeegrinder.gll - package org.nineml.coffeegrinder.gll
- org.nineml.coffeegrinder.parser - package org.nineml.coffeegrinder.parser
-
The parser classes.
- org.nineml.coffeegrinder.tokens - package org.nineml.coffeegrinder.tokens
-
The token classes.
- org.nineml.coffeegrinder.util - package org.nineml.coffeegrinder.util
-
Utility classes.
- org.nineml.logging - package org.nineml.logging
-
Logging framework.
P
- parse(File) - Method in class org.nineml.coffeegrinder.util.GrammarCompiler
-
Parse a compiled grammar to reconstruct a
ParserGrammar
object. - parse(InputStream, String) - Method in class org.nineml.coffeegrinder.util.GrammarCompiler
-
Parse a compiled grammar to reconstruct a
ParserGrammar
object. - parse(String) - Method in class org.nineml.coffeegrinder.gll.GllParser
- parse(String) - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Parse an input string against the grammar.
- parse(String) - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- parse(String) - Method in class org.nineml.coffeegrinder.parser.XEarleyParser
- parse(String) - Method in class org.nineml.coffeegrinder.util.GrammarCompiler
-
Parse a compiled grammar to reconstruct a
ParserGrammar
object. - parse(Iterator<Token>) - Method in class org.nineml.coffeegrinder.gll.GllParser
- parse(Iterator<Token>) - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Parse a sequence of tokens against the grammar.
- parse(Iterator<Token>) - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- parse(Token[]) - Method in class org.nineml.coffeegrinder.gll.GllParser
- parse(Token[]) - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Parse an array of tokens against the grammar.
- parse(Token[]) - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
- parse(Token[]) - Method in class org.nineml.coffeegrinder.parser.XEarleyParser
- ParseException - Exception in org.nineml.coffeegrinder.exceptions
-
Parse exceptions.
- ParseException(String, String) - Constructor for exception org.nineml.coffeegrinder.exceptions.ParseException
-
An parse exception with a message.
- ParseException(String, String, Throwable) - Constructor for exception org.nineml.coffeegrinder.exceptions.ParseException
-
An parse exception with an underlying cause.
- ParseForest - Class in org.nineml.coffeegrinder.parser
-
An SPPF is a shared packed parse forest.
- ParseForest(ParserOptions) - Constructor for class org.nineml.coffeegrinder.parser.ParseForest
- ParseForestGLL - Class in org.nineml.coffeegrinder.parser
- ParseForestGLL(ParserOptions, ParserGrammar, int, Token[], Map<Integer, String>) - Constructor for class org.nineml.coffeegrinder.parser.ParseForestGLL
- ParseListener - Interface in org.nineml.coffeegrinder.parser
-
The parser uses a ParseListener to report on its progress.
- ParserAttribute - Class in org.nineml.coffeegrinder.util
-
Attributes that can be associated with a symbol or token.
- ParserAttribute(String, String) - Constructor for class org.nineml.coffeegrinder.util.ParserAttribute
-
Create a parser attribute.
- ParserGrammar - Class in org.nineml.coffeegrinder.parser
-
A grammar for the parser.
- ParserOptions - Class in org.nineml.coffeegrinder.parser
-
Options to the parser.
- ParserOptions() - Constructor for class org.nineml.coffeegrinder.parser.ParserOptions
-
Create the parser options.
- ParserOptions(ParserOptions) - Constructor for class org.nineml.coffeegrinder.parser.ParserOptions
-
Create a new set of options from an existing set.
- ParserOptions(Logger) - Constructor for class org.nineml.coffeegrinder.parser.ParserOptions
-
Create the parser options with an explicit logger.
- ParserType - Enum in org.nineml.coffeegrinder.parser
- ParseTree - Class in org.nineml.coffeegrinder.parser
-
A single parse of the input against the grammar.
- ParseTree(NonterminalSymbol, Map<String, String>) - Constructor for class org.nineml.coffeegrinder.parser.ParseTree
- ParseTree(Token, Map<String, String>) - Constructor for class org.nineml.coffeegrinder.parser.ParseTree
- ParseTreeBuilder - Class in org.nineml.coffeegrinder.util
- ParseTreeBuilder() - Constructor for class org.nineml.coffeegrinder.util.ParseTreeBuilder
- perSecond(long) - Method in class org.nineml.coffeegrinder.util.StopWatch
-
Compute events per second.
- pivot - Variable in class org.nineml.coffeegrinder.gll.BinarySubtreeNode
- pivot - Variable in class org.nineml.coffeegrinder.parser.ForestNodeGLL
- PoppedNode - Class in org.nineml.coffeegrinder.gll
- position - Variable in class org.nineml.coffeegrinder.parser.State
- prefixSucceeded() - Method in class org.nineml.coffeegrinder.gll.GllResult
- prefixSucceeded() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
Did the parse match the beginning of the input?
- prefixSucceeded() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- prevSymbol() - Method in class org.nineml.coffeegrinder.parser.State
- PrintStreamTreeBuilder - Class in org.nineml.coffeegrinder.util
- PrintStreamTreeBuilder() - Constructor for class org.nineml.coffeegrinder.util.PrintStreamTreeBuilder
- PrintStreamTreeBuilder(PrintStream) - Constructor for class org.nineml.coffeegrinder.util.PrintStreamTreeBuilder
- PriorityTreeBuilder - Class in org.nineml.coffeegrinder.util
- PriorityTreeBuilder() - Constructor for class org.nineml.coffeegrinder.util.PriorityTreeBuilder
- progress(GearleyParser, int) - Method in interface org.nineml.coffeegrinder.parser.ProgressMonitor
-
Indicates progress in the parse.
- progress(GearleyParser, int) - Method in class org.nineml.coffeegrinder.util.DefaultProgressMonitor
-
Report progress.
- ProgressMonitor - Interface in org.nineml.coffeegrinder.parser
-
The ProgressMonitor allows you to track the progress of a parse.
- prune() - Method in class org.nineml.coffeegrinder.parser.ParseForestGLL
Q
- quotePrintableCharacters - Static variable in class org.nineml.coffeegrinder.util.CodepointToString
R
- range(int, int) - Static method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Construct a character set containing each of the characters in the specified range, inclusive.
- readSystemProperties() - Method in class org.nineml.logging.Logger
-
Set the log levels by reading system properties.
- regex(String) - Static method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Return a token for a string.
- RegexCompiler - Class in org.nineml.coffeegrinder.util
- RegexCompiler(List<Rule>) - Constructor for class org.nineml.coffeegrinder.util.RegexCompiler
- reset() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- resolveDuplicates() - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Resolve duplicate symbols in the grammar.
- rhs - Variable in class org.nineml.coffeegrinder.parser.Rule
- rhs - Variable in class org.nineml.coffeegrinder.parser.State
- rightExtent - Variable in class org.nineml.coffeegrinder.gll.BinarySubtreeNode
- rightExtent - Variable in class org.nineml.coffeegrinder.parser.ForestNode
-
The last position in the input covered by this node.
- RightHandSide - Class in org.nineml.coffeegrinder.parser
- RightHandSide(List<Symbol>) - Constructor for class org.nineml.coffeegrinder.parser.RightHandSide
- RightHandSide(Symbol[]) - Constructor for class org.nineml.coffeegrinder.parser.RightHandSide
- rule - Variable in class org.nineml.coffeegrinder.parser.State
- Rule - Class in org.nineml.coffeegrinder.parser
-
A grammar rule.
- Rule(NonterminalSymbol, List<Symbol>) - Constructor for class org.nineml.coffeegrinder.parser.Rule
-
Construct a new rule mapping the nonterminal to a sequence of symbols.
- Rule(NonterminalSymbol, Symbol...) - Constructor for class org.nineml.coffeegrinder.parser.Rule
-
Construct a new rule mapping the nonterminal to a sequence of symbols.
- RuleChoice - Interface in org.nineml.coffeegrinder.parser
- RuleChoiceImpl - Class in org.nineml.coffeegrinder.parser
- RuleChoiceImpl(Family) - Constructor for class org.nineml.coffeegrinder.parser.RuleChoiceImpl
- RuleChoiceImpl(Symbol, List<Symbol>, ForestNode, ForestNode) - Constructor for class org.nineml.coffeegrinder.parser.RuleChoiceImpl
S
- s(String) - Static method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Return a token for a string.
- seed - Variable in class org.nineml.coffeegrinder.gll.BinarySubtree
- seedNotInGrammar(String) - Static method in exception org.nineml.coffeegrinder.exceptions.ParseException
-
Raised if the selected seed token is not in the grammar
- serialize() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Serialize the graph as XML.
- serialize() - Method in class org.nineml.coffeegrinder.parser.ParseTree
-
Serialize the tree as XML.
- serialize(PrintStream) - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Serialize the graph as XML.
- serialize(PrintStream) - Method in class org.nineml.coffeegrinder.parser.ParseTree
-
Serialize the tree as XML.
- serialize(String) - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Serialize the graph as XML.
- serialize(String) - Method in class org.nineml.coffeegrinder.parser.ParseTree
-
Serialize the tree as XML.
- setDefaultLogLevel(int) - Method in class org.nineml.logging.Logger
-
Set the default log level.
- setDefaultLogLevel(String) - Method in class org.nineml.logging.Logger
-
Set the default log level.
- setInstructionPointer(int) - Method in class org.nineml.coffeegrinder.parser.State
- setLogger(Logger) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set the logger.
- setLogLevel(String, int) - Method in class org.nineml.logging.Logger
-
Set the log level for a particular category.
- setLogLevel(String, String) - Method in class org.nineml.logging.Logger
-
Set the log level for a particular category.
- setLogLevels(String) - Method in class org.nineml.logging.Logger
-
Set the log levels for a set of categories.
- setMessageLevel(int) - Method in interface org.nineml.coffeegrinder.parser.ParseListener
-
How verbose do you want me to be?
- setMessageLevel(int) - Method in class org.nineml.coffeegrinder.util.DefaultParseListener
- setMetadataProperty(String, String) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Sets a metadata property.
- setParserType(String) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set the default parser type.
- setPrefixParsing(boolean) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set the
ParserOptions.getPrefixParsing()
property. - setProgressMonitor(ProgressMonitor) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set the progress monitor.
- setReturnChart(boolean) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set the
ParserOptions.getReturnChart()
property. - setStream(PrintStream) - Method in class org.nineml.coffeegrinder.util.PrintStreamTreeBuilder
- SILENT - Static variable in class org.nineml.logging.Logger
-
The log level to indicate no logging, not even errors.
- size() - Method in class org.nineml.coffeegrinder.parser.EarleyChart
-
How big is the chart?
- size() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
How big is the graph?
- slot - Variable in class org.nineml.coffeegrinder.gll.BinarySubtreeNode
- slot - Variable in class org.nineml.coffeegrinder.gll.CrfNode
- slot - Variable in class org.nineml.coffeegrinder.gll.Descriptor
- slot - Variable in class org.nineml.coffeegrinder.gll.MBsrAdd
- slot - Variable in class org.nineml.coffeegrinder.gll.MCall
- slot - Variable in class org.nineml.coffeegrinder.gll.MTestSelect
- SourceGrammar - Class in org.nineml.coffeegrinder.parser
- SourceGrammar() - Constructor for class org.nineml.coffeegrinder.parser.SourceGrammar
-
Create a new grammar.
- SourceGrammar(ParserOptions) - Constructor for class org.nineml.coffeegrinder.parser.SourceGrammar
-
Create a new grammar with a specific set of options.
- SourceGrammar(SourceGrammar) - Constructor for class org.nineml.coffeegrinder.parser.SourceGrammar
-
Create a new grammar from an existing grammar.
- startAlternative(ForestNode, List<RuleChoice>) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- starting(GearleyParser, int) - Method in interface org.nineml.coffeegrinder.parser.ProgressMonitor
-
Indicates that the parse is about to begin.
- starting(GearleyParser, int) - Method in class org.nineml.coffeegrinder.util.DefaultProgressMonitor
-
Start the monitor.
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.NopPriorityTreeBuilder
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.NopTreeBuilder
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.ParseTreeBuilder
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.util.PrintStreamTreeBuilder
- startTree() - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- state - Variable in class org.nineml.coffeegrinder.parser.EarleyItem
- state - Variable in class org.nineml.coffeegrinder.parser.Family
- state - Variable in class org.nineml.coffeegrinder.parser.ForestNode
- State - Class in org.nineml.coffeegrinder.parser
-
States (or Earley items) in the chart.
- State(Rule) - Constructor for class org.nineml.coffeegrinder.parser.State
- State(Rule, int) - Constructor for class org.nineml.coffeegrinder.parser.State
- State(State, int) - Constructor for class org.nineml.coffeegrinder.parser.State
- StdoutTreeBuilder - Class in org.nineml.coffeegrinder.util
- StdoutTreeBuilder() - Constructor for class org.nineml.coffeegrinder.util.StdoutTreeBuilder
- stop() - Method in class org.nineml.coffeegrinder.util.StopWatch
-
Stop the watch.
- StopWatch - Class in org.nineml.coffeegrinder.util
-
A utility class for managing a "wall clock" timer.
- StopWatch() - Constructor for class org.nineml.coffeegrinder.util.StopWatch
-
Create a stopwatch.
- stringIterator(String...) - Static method in class org.nineml.coffeegrinder.util.Iterators
-
An iterator over a sequence of strings.
- stringIterator(List<String>) - Static method in class org.nineml.coffeegrinder.util.Iterators
-
An iterator over a sequence of strings.
- StringTreeBuilder - Class in org.nineml.coffeegrinder.util
- StringTreeBuilder() - Constructor for class org.nineml.coffeegrinder.util.StringTreeBuilder
- succeeded() - Method in class org.nineml.coffeegrinder.gll.GllParser
- succeeded() - Method in class org.nineml.coffeegrinder.gll.GllResult
- succeeded() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
Did the parse succeed?
- succeeded() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
- success - Variable in class org.nineml.coffeegrinder.gll.GllResult
- symbol - Variable in class org.nineml.coffeegrinder.gll.ClusterNode
- symbol - Variable in class org.nineml.coffeegrinder.gll.MFollow
- symbol - Variable in class org.nineml.coffeegrinder.parser.ForestNode
- symbol - Variable in class org.nineml.coffeegrinder.parser.Rule
- symbol - Variable in class org.nineml.coffeegrinder.parser.State
- Symbol - Class in org.nineml.coffeegrinder.parser
-
A grammar symbol.
- Symbol() - Constructor for class org.nineml.coffeegrinder.parser.Symbol
-
Create a symbol with no attributes.
- Symbol(Collection<ParserAttribute>) - Constructor for class org.nineml.coffeegrinder.parser.Symbol
-
Create a symbol with an initial set of attributes.
- symbols - Variable in class org.nineml.coffeegrinder.parser.RightHandSide
- SystemLogger - Class in org.nineml.logging
-
The system logger routes messages to another logging framework.
- SystemLogger() - Constructor for class org.nineml.logging.SystemLogger
- SystemLogger(Logger) - Constructor for class org.nineml.logging.SystemLogger
T
- TerminalSymbol - Class in org.nineml.coffeegrinder.parser
-
A terminal symbol.
- TerminalSymbol(Token) - Constructor for class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Make a symbol for the specified token.
- TerminalSymbol(Token, Collection<ParserAttribute>) - Constructor for class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Make a symbol for the specified token with the given attributes
- TerminalSymbol(Token, ParserAttribute) - Constructor for class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Make a symbol for the specified token with a given ParserAttribute.
- textNotAllowed(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if text is used where it isn't allowed.
- token(Token, Map<String, String>) - Method in class org.nineml.coffeegrinder.parser.TreeBuilder
- token(Token, Map<String, String>) - Method in class org.nineml.coffeegrinder.util.NopPriorityTreeBuilder
- token(Token, Map<String, String>) - Method in class org.nineml.coffeegrinder.util.NopTreeBuilder
- token(Token, Map<String, String>) - Method in class org.nineml.coffeegrinder.util.ParseTreeBuilder
- token(Token, Map<String, String>) - Method in class org.nineml.coffeegrinder.util.PrintStreamTreeBuilder
- Token - Class in org.nineml.coffeegrinder.tokens
-
An input token.
- Token(Collection<ParserAttribute>) - Constructor for class org.nineml.coffeegrinder.tokens.Token
-
A token with attributes.
- TOKEN_NAME - Static variable in class org.nineml.coffeegrinder.util.ParserAttribute
- TokenCharacter - Class in org.nineml.coffeegrinder.tokens
-
A single character
Token
. - TokenCharacterSet - Class in org.nineml.coffeegrinder.tokens
-
A token character set.
- TokenEOF - Class in org.nineml.coffeegrinder.tokens
-
A single character
Token
. - TokenEPSILON - Class in org.nineml.coffeegrinder.tokens
-
A single character
Token
. - TokenRegex - Class in org.nineml.coffeegrinder.tokens
-
A regular expression token
Token
. - TokenString - Class in org.nineml.coffeegrinder.tokens
-
A string
Token
. - toString() - Method in class org.nineml.coffeegrinder.gll.BinarySubtreeNode
- toString() - Method in class org.nineml.coffeegrinder.gll.ClusterNode
- toString() - Method in class org.nineml.coffeegrinder.gll.CrfNode
- toString() - Method in class org.nineml.coffeegrinder.gll.Descriptor
- toString() - Method in class org.nineml.coffeegrinder.gll.MBsrAdd
- toString() - Method in class org.nineml.coffeegrinder.gll.MCall
- toString() - Method in class org.nineml.coffeegrinder.gll.MComment
- toString() - Method in class org.nineml.coffeegrinder.gll.MFollow
- toString() - Method in class org.nineml.coffeegrinder.gll.MGoto
- toString() - Method in class org.nineml.coffeegrinder.gll.MIncrementCI
- toString() - Method in class org.nineml.coffeegrinder.gll.MLabel
- toString() - Method in class org.nineml.coffeegrinder.gll.MNextDescriptor
- toString() - Method in class org.nineml.coffeegrinder.gll.MTestSelect
- toString() - Method in class org.nineml.coffeegrinder.gll.PoppedNode
- toString() - Method in class org.nineml.coffeegrinder.parser.EarleyItem
- toString() - Method in class org.nineml.coffeegrinder.parser.Family
- toString() - Method in class org.nineml.coffeegrinder.parser.ForestNode
- toString() - Method in class org.nineml.coffeegrinder.parser.NonterminalSymbol
-
Pretty print a nonterminal.
- toString() - Method in class org.nineml.coffeegrinder.parser.ParseTree
- toString() - Method in class org.nineml.coffeegrinder.parser.Rule
-
Pretty print a node.
- toString() - Method in class org.nineml.coffeegrinder.parser.State
- toString() - Method in class org.nineml.coffeegrinder.parser.TerminalSymbol
-
Pretty print a token.
- toString() - Method in class org.nineml.coffeegrinder.tokens.CharacterSet
- toString() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacter
-
Pretty print a token.
- toString() - Method in class org.nineml.coffeegrinder.tokens.TokenCharacterSet
- toString() - Method in class org.nineml.coffeegrinder.tokens.TokenEOF
-
Pretty print a token.
- toString() - Method in class org.nineml.coffeegrinder.tokens.TokenEPSILON
-
Pretty print a token.
- toString() - Method in class org.nineml.coffeegrinder.tokens.TokenRegex
- toString() - Method in class org.nineml.coffeegrinder.tokens.TokenString
-
Pretty print a token.
- toString() - Method in class org.nineml.coffeegrinder.util.ParserAttribute
- trace(String, String, Object...) - Method in class org.nineml.logging.CachingLogger
- trace(String, String, Object...) - Method in class org.nineml.logging.DefaultLogger
- trace(String, String, Object...) - Method in class org.nineml.logging.Logger
-
Issue a trace message.
- trace(String, String, Object...) - Method in class org.nineml.logging.SystemLogger
- TRACE - Static variable in class org.nineml.logging.Logger
-
The log level for trace messages.
- TreeBuilder - Class in org.nineml.coffeegrinder.parser
- TreeBuilder() - Constructor for class org.nineml.coffeegrinder.parser.TreeBuilder
- TreeWalkerException - Exception in org.nineml.coffeegrinder.exceptions
-
Tree walking exceptions.
- TreeWalkerException(String, String) - Constructor for exception org.nineml.coffeegrinder.exceptions.TreeWalkerException
-
Grammar exception with a message.
- TreeWalkerException(String, String, Throwable) - Constructor for exception org.nineml.coffeegrinder.exceptions.TreeWalkerException
-
Grammar exception with an underlying cause.
U
- unexpectedCharacterSet(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if an unexpected character set is used.
- unexpectedElement(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the compiled grammar contains an element with an unexpected name.
- unexpectedFlag(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the internal flag value is unrecognized.
- unexpectedTerminalTokenClass(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if an unexpected terminal token class is encountered
- unicodeClass(String) - Static method in class org.nineml.coffeegrinder.tokens.CharacterSet
-
Construct a character set representing the specified Unicode character class.
- unsupportedVersion(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the version is unrecognized.
- uppercase - Static variable in class org.nineml.coffeegrinder.util.CodepointToString
- useHex - Static variable in class org.nineml.coffeegrinder.util.CodepointToString
V
- v - Variable in class org.nineml.coffeegrinder.parser.Family
- valueOf(String) - Static method in enum org.nineml.coffeegrinder.parser.ParserType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.nineml.coffeegrinder.parser.ParserType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- w - Variable in class org.nineml.coffeegrinder.parser.EarleyItem
- w - Variable in class org.nineml.coffeegrinder.parser.Family
- warn(String, String, Object...) - Method in class org.nineml.logging.CachingLogger
- warn(String, String, Object...) - Method in class org.nineml.logging.DefaultLogger
- warn(String, String, Object...) - Method in class org.nineml.logging.Logger
-
Issue a warning message.
- warn(String, String, Object...) - Method in class org.nineml.logging.SystemLogger
- warning(String) - Method in interface org.nineml.coffeegrinder.parser.ParseListener
-
Emit a warning message.
- warning(String) - Method in class org.nineml.coffeegrinder.util.DefaultParseListener
- WARNING - Static variable in interface org.nineml.coffeegrinder.parser.ParseListener
-
Warning messages and above.
- WARNING - Static variable in class org.nineml.logging.Logger
-
The log level for warning messages.
- workingSet(GearleyParser, int, int) - Method in interface org.nineml.coffeegrinder.parser.ProgressMonitor
-
Indicates progress in the parse.
- workingSet(GearleyParser, int, int) - Method in class org.nineml.coffeegrinder.util.DefaultProgressMonitor
-
Report progress.
X
- XEarleyParser - Class in org.nineml.coffeegrinder.parser
All Classes All Packages