- GearleyParser - Interface in org.nineml.coffeegrinder.parser
-
The parser interface for Earley and GLL parsers.
- GearleyResult - Interface in org.nineml.coffeegrinder.parser
-
The result of a parse with an Earley or GLL parser.
- GenericBranch - Class in org.nineml.coffeegrinder.trees
-
A branch (nonterminal) in a generic tree.
- GenericLeaf - Class in org.nineml.coffeegrinder.trees
-
A leaf (terminal) in a generic tree.
- GenericTree - Class in org.nineml.coffeegrinder.trees
-
A generic tree representation of a parse.
- GenericTreeBuilder - Class in org.nineml.coffeegrinder.trees
-
- GenericTreeBuilder() - Constructor for class org.nineml.coffeegrinder.trees.GenericTreeBuilder
-
- 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, ParserAttribute) - 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(String) - Static method in class org.nineml.coffeegrinder.tokens.TokenRegex
-
Create a token for the specified regular expression.
- 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, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenRegex
-
Create a token for the specified regular expression (with attributes)
- get(String) - Static method in class org.nineml.coffeegrinder.tokens.TokenString
-
Create a token for the specified string.
- get(String, ParserAttribute) - Static method in class org.nineml.coffeegrinder.tokens.TokenString
-
Create a token for the specified string (with an attribute)
- get(String, Collection<ParserAttribute>) - Static method in class org.nineml.coffeegrinder.tokens.TokenString
-
Create a token for the specified string (with attributes)
- getAmbiguityReport() - Method in class org.nineml.coffeegrinder.parser.AmbiguityReport
-
Get the report.
- getAmbiguityReport() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Get the dk.brics.grammar.ambiguity analyzer report.
- getAmbiguousNodes() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
- getArborist() - Method in class org.nineml.coffeegrinder.gll.GllResult
-
- getArborist(Axe) - Method in class org.nineml.coffeegrinder.gll.GllResult
-
- getArborist() - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
- getArborist(Axe) - Method in class org.nineml.coffeegrinder.parser.EarleyResult
-
- getArborist() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
-
Get an arborist to extract trees from the forest.
- getArborist(Axe) - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
-
Get an arborist to extract trees from the forest.
- getArborist(ParseForest) - Static method in class org.nineml.coffeegrinder.trees.Arborist
-
- getArborist(ParseForest, Axe) - Static method in class org.nineml.coffeegrinder.trees.Arborist
-
- getAttribute(String, String) - Method in class org.nineml.coffeegrinder.trees.GenericTree
-
- getAttribute(String) - Method in class org.nineml.coffeegrinder.util.Decoratable
-
Get a specific token attribute.
- getAttributes() - Method in class org.nineml.coffeegrinder.trees.GenericTree
-
- 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.
- getAutomaton(String) - Method in class org.nineml.coffeegrinder.util.BricsAmbiguity
-
- 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.
- getCheckSucceeded() - Method in class org.nineml.coffeegrinder.parser.AmbiguityReport
-
Did the check succeed?
- getCheckSucceeded() - Method in class org.nineml.coffeegrinder.util.BricsAmbiguity
-
- getChildren() - Method in class org.nineml.coffeegrinder.trees.GenericBranch
-
- getChildren() - Method in class org.nineml.coffeegrinder.trees.GenericTree
-
- getChildren() - Method in class org.nineml.coffeegrinder.trees.ParseTree
-
- getChoices() - Method in class org.nineml.coffeegrinder.trees.Vertex
-
- 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
-
Returns the column number of the last character on the last line read by the parser.
- getColumnNumber() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
-
Returns the column number of the last character on the last line read by the parser.
- 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
-
- getFamilies() - Method in class org.nineml.coffeegrinder.parser.ForestNode
-
- getFirst(Symbol) - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
-
- getFirst() - Method in class org.nineml.coffeegrinder.parser.RightHandSide
-
- getFirst(ParserGrammar) - Method in class org.nineml.coffeegrinder.parser.State
-
- 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
-
Return the parse forest created by the parser.
- 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
-
The grammar used by this parser.
- 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.
- 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
-
Return the last token parsed.
- getLeftAttributes() - Method in class org.nineml.coffeegrinder.parser.Family
-
- getLeftNode() - Method in class org.nineml.coffeegrinder.parser.Family
-
- 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
-
Returns the line number of the last line read by the parser.
- getLineNumber() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
-
Returns the line number of the last line read by the parser.
- 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.
- getMadeAmbiguousChoice() - Method in interface org.nineml.coffeegrinder.trees.TreeSelector
-
Did the tree selector make an arbitrary choice?
- getMarkAmbiguities() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Are individual ambiguities be marked?
- 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, ParserAttribute) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Return the nonterminal symbol identified by name.
- getNonterminal(String, List<ParserAttribute>) - Method in class org.nineml.coffeegrinder.parser.SourceGrammar
-
Return the nonterminal symbol identified by name.
- getNormalizeLineEndings() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Should line endings be normalized?
- 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
-
Returns the last offset read by the parser.
- getOffset() - Method in interface org.nineml.coffeegrinder.parser.GearleyResult
-
Returns the last offset read by the parser.
- getOptions() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Get the options for this forest.
- getParent() - Method in class org.nineml.coffeegrinder.trees.GenericTree
-
- 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
-
The parser used.
- 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
-
- getParserType() - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Return the parser type.
- getParserType() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
-
The parser type.
- 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
-
Returns the number of milliseconds spent parsing.
- getParseTreeCount() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
How many parse trees are there in this forest?
- 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
-
Returns the symbols predicted as possibly next in the case where a parse fails.
- 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.
- getPriority() - Method in class org.nineml.coffeegrinder.parser.Family
-
- getPriority() - Method in class org.nineml.coffeegrinder.parser.ForestNode
-
- getPriorityStyle() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
The priority style.
- 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?
- getReliable() - Method in class org.nineml.coffeegrinder.parser.AmbiguityReport
-
Is the report reliable?
- getReliable() - Method in class org.nineml.coffeegrinder.util.BricsAmbiguity
-
- getReturnChart() - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Return the Earley chart even for a successful parse?
- 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.
- getRightAttributes() - Method in class org.nineml.coffeegrinder.parser.Family
-
- getRightExtent() - Method in class org.nineml.coffeegrinder.gll.BinarySubtree
-
- getRightHandSide() - Method in class org.nineml.coffeegrinder.parser.Family
-
- getRightNode() - Method in class org.nineml.coffeegrinder.parser.Family
-
- getRoot() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
- 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
-
- getSeed() - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
-
The seed used by this parser.
- getSeed() - Method in class org.nineml.coffeegrinder.parser.ParserGrammar
-
- getSelectedNodes() - Method in class org.nineml.coffeegrinder.trees.Arborist
-
- getSelectedTrees() - Method in class org.nineml.coffeegrinder.trees.Arborist
-
- 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.Rule
-
The nonterminal symbol defined by this rule.
- 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.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
-
Return the number of tokens parsed.
- getTokens() - Method in class org.nineml.coffeegrinder.gll.GllParser
-
- getTree(TreeBuilder) - Method in class org.nineml.coffeegrinder.trees.Arborist
-
- getTree() - Method in class org.nineml.coffeegrinder.trees.GenericTreeBuilder
-
- getTree(TreeBuilder) - Method in class org.nineml.coffeegrinder.trees.Lumberjack
-
- getTree() - Method in class org.nineml.coffeegrinder.trees.StringTreeBuilder
-
- getTree(TreeBuilder) - Method in class org.nineml.coffeegrinder.trees.TreeSurgeon
-
- getUnambiguous() - Method in class org.nineml.coffeegrinder.parser.AmbiguityReport
-
Is the grammar unambiguous?
- getUnambiguous() - Method in class org.nineml.coffeegrinder.util.BricsAmbiguity
-
- 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.
- 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
-
The GLL parser.
- GllParser(ParserGrammar, ParserOptions) - Constructor for class org.nineml.coffeegrinder.gll.GllParser
-
- GllResult - Class in org.nineml.coffeegrinder.gll
-
The results of a GLL parse.
- GllResult(GllParser, BinarySubtree) - Constructor for class org.nineml.coffeegrinder.gll.GllResult
-
- grammar - Variable in class org.nineml.coffeegrinder.gll.GllParser
-
- Grammar - Class in org.nineml.coffeegrinder.parser
-
The grammar representation.
- Grammar() - Constructor for class org.nineml.coffeegrinder.parser.Grammar
-
- 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.
- i - Variable in class org.nineml.coffeegrinder.gll.CrfNode
-
- id - Variable in class org.nineml.coffeegrinder.parser.Family
-
- 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(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, 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)
- 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 ranges.
- INFO - Static variable in interface org.nineml.coffeegrinder.parser.ParseListener
-
Informational messages and above.
- 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 - Static variable in class org.nineml.logging.Logger
-
The log level for informational messages.
- 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
-
- Instrumentation - Class in org.nineml.coffeegrinder.util
-
- Instrumentation() - Constructor for class org.nineml.coffeegrinder.util.Instrumentation
-
- intermediate - Variable in class org.nineml.coffeegrinder.parser.ForestNodeGLL
-
- internalError(String) - Static method in exception org.nineml.coffeegrinder.exceptions.ParseException
-
Raised if an internal error occurs.
- internalError() - Static method in exception org.nineml.coffeegrinder.exceptions.TreeWalkerException
-
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.
- invalidChoiceSelected() - Static method in exception org.nineml.coffeegrinder.exceptions.TreeWalkerException
-
- invalidGramamr(String) - Static method in exception org.nineml.coffeegrinder.exceptions.CompilerException
-
Raised if the grammar is invalid.
- invalidGrammarRegex() - Static method in exception org.nineml.coffeegrinder.exceptions.GrammarException
-
Raised if a regular expression is used incorrectly.
- invalidInputForGLL() - Static method in exception org.nineml.coffeegrinder.exceptions.ParseException
-
Raised if an attempt is made to parse an invalid input.
- invalidInputForRegex() - 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.
- isAbsolutelyAmbiguous() - Method in class org.nineml.coffeegrinder.trees.Arborist
-
- isAbsolutelyAmbiguous() - Method in class org.nineml.coffeegrinder.trees.Lumberjack
-
- isAbsolutelyAmbiguous() - Method in class org.nineml.coffeegrinder.trees.TreeSurgeon
-
- 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
-
Returns true if the parse was ambiguous.
- isAmbiguous() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Is the grammar represented by this graph ambiguous?
- isAmbiguous() - Method in class org.nineml.coffeegrinder.trees.Arborist
-
- isAmbiguous() - Method in class org.nineml.coffeegrinder.trees.Lumberjack
-
- isAmbiguous() - Method in class org.nineml.coffeegrinder.trees.TreeSurgeon
-
- isAmbiguous - Variable in class org.nineml.coffeegrinder.trees.Vertex
-
- 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
-
Returns true if the parse was infinitely ambiguous.
- isInfinitelyAmbiguous() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Is the grammar represented by this graph infinitely ambiguous?
- isMax() - Method in class org.nineml.coffeegrinder.trees.TreeNumber
-
- 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?
- isSpecialist() - Method in interface org.nineml.coffeegrinder.trees.Axe
-
Is this a specialist axe?
- isSpecialist() - Method in class org.nineml.coffeegrinder.trees.PriorityAxe
-
- isSpecialist() - Method in class org.nineml.coffeegrinder.trees.RandomAxe
-
- isSpecialist() - Method in class org.nineml.coffeegrinder.trees.SequentialAxe
-
- 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
-
- parent - Variable in class org.nineml.coffeegrinder.trees.ParseTree
-
- parent - Variable in class org.nineml.coffeegrinder.trees.TreeSelection
-
- parse(Token[]) - Method in class org.nineml.coffeegrinder.gll.GllParser
-
- parse(Iterator<Token>) - Method in class org.nineml.coffeegrinder.gll.GllParser
-
- 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(Token[]) - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Parse an array of tokens against the grammar.
- parse(Iterator<Token>) - Method in class org.nineml.coffeegrinder.parser.EarleyParser
-
Parse a sequence of tokens against the grammar.
- parse(Token[]) - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
-
Parse an array of tokens.
- parse(Iterator<Token>) - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
-
Parse a sequence of tokens provided by an iterator.
- parse(String) - Method in interface org.nineml.coffeegrinder.parser.GearleyParser
-
Parse a string.
- 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
-
An SPPF is a shared packed parse forest.
- ParseForestGLL(ParserOptions, ParserGrammar, int, Token[]) - 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.
- parserAttributes - Variable in class org.nineml.coffeegrinder.trees.Vertex
-
- ParserGrammar - Class in org.nineml.coffeegrinder.parser
-
A grammar for the parser.
- ParserInput - Class in org.nineml.coffeegrinder.parser
-
- ParserInput(ParserOptions) - Constructor for class org.nineml.coffeegrinder.parser.ParserInput
-
- ParserInput(ParserOptions, boolean) - Constructor for class org.nineml.coffeegrinder.parser.ParserInput
-
- 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(Logger) - Constructor for class org.nineml.coffeegrinder.parser.ParserOptions
-
Create the parser options with an explicit logger.
- ParserOptions(ParserOptions) - Constructor for class org.nineml.coffeegrinder.parser.ParserOptions
-
Create a new set of options from an existing set.
- ParserType - Enum in org.nineml.coffeegrinder.parser
-
- ParseTree - Class in org.nineml.coffeegrinder.trees
-
A parse tree used when finding trees in the forest.
- 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
-
Popped nodes are used to keep track of partial parses.
- 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
-
Returns true if the parser successfully processed a prefix of the input.
- prevSymbol() - Method in class org.nineml.coffeegrinder.parser.State
-
- PrintStreamTreeBuilder - Class in org.nineml.coffeegrinder.trees
-
A tree builder that sends serialized results to a print stream.
- PrintStreamTreeBuilder(PrintStream) - Constructor for class org.nineml.coffeegrinder.trees.PrintStreamTreeBuilder
-
- PrintStreamTreeBuilder(PrintStream, boolean) - Constructor for class org.nineml.coffeegrinder.trees.PrintStreamTreeBuilder
-
- PRIORITY_ATTRIBUTE - Static variable in class org.nineml.coffeegrinder.parser.ForestNode
-
The internal name of the attribute that holds priority.
- PriorityAxe - Class in org.nineml.coffeegrinder.trees
-
An Axe that returns the highest priority trees first.
- PriorityAxe() - Constructor for class org.nineml.coffeegrinder.trees.PriorityAxe
-
- PriorityAxe(boolean) - Constructor for class org.nineml.coffeegrinder.trees.PriorityAxe
-
- 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.
- provablyUnambiguous() - Method in class org.nineml.coffeegrinder.parser.HygieneReport
-
Did the dk.brics.grammar.ambiguity analyzer report the grammar unambigous?
- prune() - Method in class org.nineml.coffeegrinder.parser.ParseForestGLL
-
- 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
- select(ParseTree, ForestNode, int, List<Family>) - Method in interface org.nineml.coffeegrinder.trees.Axe
-
Select a branch from a list of branches.
- select(ParseTree, ForestNode, int, List<Family>) - Method in class org.nineml.coffeegrinder.trees.PriorityAxe
-
- select(ParseTree, ForestNode, int, List<Family>) - Method in class org.nineml.coffeegrinder.trees.RandomAxe
-
- select(ParseTree, ForestNode, int, List<Family>) - Method in class org.nineml.coffeegrinder.trees.SequentialAxe
-
- select(List<Family>, List<Family>) - Method in interface org.nineml.coffeegrinder.trees.TreeSelector
-
Make a selection.
- selection - Variable in class org.nineml.coffeegrinder.trees.TreeSelection
-
- SequentialAxe - Class in org.nineml.coffeegrinder.trees
-
An Axe that returns ever tree in the forest.
- SequentialAxe() - Constructor for class org.nineml.coffeegrinder.trees.SequentialAxe
-
- SequentialAxe(boolean) - Constructor for class org.nineml.coffeegrinder.trees.SequentialAxe
-
- serialize() - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Serialize the graph as XML.
- serialize(PrintStream) - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Serialize the graph as XML.
- serialize(String) - Method in class org.nineml.coffeegrinder.parser.ParseForest
-
Serialize the graph 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.
- 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.
- setMarkAmbiguities(boolean) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set ambiguity marking.
- 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.
- setNormalizeLineEndings(boolean) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set normalize line endings
- 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
-
- setPriorityStyle(String) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set the priority style.
- setProgressMonitor(ProgressMonitor) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
Set the progress monitor.
- setReturnChart(boolean) - Method in class org.nineml.coffeegrinder.parser.ParserOptions
-
- 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
-
- SourceGrammar - Class in org.nineml.coffeegrinder.parser
-
A grammar for the 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.
- start - Static variable in class org.nineml.coffeegrinder.util.Instrumentation
-
- startAmbiguity(int, int, int) - Method in class org.nineml.coffeegrinder.trees.GenericTreeBuilder
-
- startAmbiguity(int, int, int) - Method in class org.nineml.coffeegrinder.trees.NopTreeBuilder
-
- startAmbiguity(int, int, int) - Method in class org.nineml.coffeegrinder.trees.PrintStreamTreeBuilder
-
- startAmbiguity(int, int, int) - Method in class org.nineml.coffeegrinder.trees.StringTreeBuilder
-
- startAmbiguity(int, int, int) - Method in interface org.nineml.coffeegrinder.trees.TreeBuilder
-
Called at the start of an ambiguity that is not marked by a single nonterminal.
- 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.trees.GenericTreeBuilder
-
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.trees.NopTreeBuilder
-
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.trees.PrintStreamTreeBuilder
-
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in class org.nineml.coffeegrinder.trees.StringTreeBuilder
-
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in interface org.nineml.coffeegrinder.trees.TreeBuilder
-
Called when a new nonterminal begins.
- startNonterminal(NonterminalSymbol, Map<String, String>, int, int) - Method in interface org.nineml.coffeegrinder.trees.TreeSelector
-
Start a nonterminal.
- startTree() - Method in class org.nineml.coffeegrinder.trees.GenericTreeBuilder
-
- startTree() - Method in class org.nineml.coffeegrinder.trees.NopTreeBuilder
-
- startTree() - Method in class org.nineml.coffeegrinder.trees.PrintStreamTreeBuilder
-
- startTree() - Method in class org.nineml.coffeegrinder.trees.StringTreeBuilder
-
- startTree() - Method in interface org.nineml.coffeegrinder.trees.TreeBuilder
-
Called first, when construction begins.
- state - Variable in class org.nineml.coffeegrinder.parser.EarleyItem
-
- state - Variable in class org.nineml.coffeegrinder.parser.ForestNode
-
- State - Class in org.nineml.coffeegrinder.parser
-
States (or Earley items) in the chart.
- StdoutTreeBuilder - Class in org.nineml.coffeegrinder.trees
-
A tree builder that sends serialized output to System.out
.
- StdoutTreeBuilder() - Constructor for class org.nineml.coffeegrinder.trees.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.
- string() - Method in class org.nineml.coffeegrinder.parser.ParserInput
-
- 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.trees
-
A tree builder that returns the serialized tree as a string.
- StringTreeBuilder() - Constructor for class org.nineml.coffeegrinder.trees.StringTreeBuilder
-
- StringTreeBuilder(boolean) - Constructor for class org.nineml.coffeegrinder.trees.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
-
Returns true of the parse was successful.
- 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.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.
- symbol - Variable in class org.nineml.coffeegrinder.trees.GenericBranch
-
- symbolName - Variable in class org.nineml.coffeegrinder.parser.NonterminalSymbol
-
- 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
-