- Gen(Random, CSet.Gen.Config) - Constructor for class org.stekikun.dolmen.common.CSet.Gen
-
Creates a character set generator based on the
given random-number generator and configuration
- Gen(Random, Regular.Gen.Config) - Constructor for class org.stekikun.dolmen.syntax.Regular.Gen
-
Creates a regular expression generator based on the
given random-number generator and configuration
- generate() - Method in class org.stekikun.dolmen.common.CSet.Gen
-
- generate() - Method in interface org.stekikun.dolmen.common.Generator
-
- generate() - Method in class org.stekikun.dolmen.syntax.Regular.Gen
-
- generator() - Static method in class org.stekikun.dolmen.common.CSet
-
- Generator<T> - Interface in org.stekikun.dolmen.common
-
Interface of (lazy) generators
- generator() - Static method in class org.stekikun.dolmen.syntax.Regular
-
- genParser(String) - Method in class org.stekikun.dolmen.codegen.GrammarOutput
-
- genTokens() - Method in class org.stekikun.dolmen.codegen.TokensOutput
-
- get() - Method in interface org.stekikun.dolmen.common.Generator
-
- get(Map<? super K, V>, K) - Static method in class org.stekikun.dolmen.common.Maps
-
This is a strongly-typed alternative to Map.get(Object)
,
which restricts the type of the given key to a sub-type of
the declared key type of the map, and also specifies the
returned value can be null
.
- getCharacterSets() - Method in class org.stekikun.dolmen.tagged.Encoder
-
- getCharVars() - Method in class org.stekikun.dolmen.syntax.Regulars.VarsInfo
-
- getChildren() - Method in class org.stekikun.dolmen.debug.Derivation.NonTerminal
-
- getColumn() - Method in interface org.stekikun.dolmen.syntax.IReport
-
- getColumn() - Method in class org.stekikun.dolmen.syntax.IReport.Impl
-
- getCount() - Method in class org.stekikun.dolmen.common.CountingWriter
-
- getCurrentLevel() - Method in class org.stekikun.dolmen.codegen.CodeBuilder
-
- getDest() - Method in class org.stekikun.dolmen.automaton.DFA.MemAction.Copy
-
- getDest() - Method in class org.stekikun.dolmen.automaton.DFA.MemAction
-
- getDest() - Method in class org.stekikun.dolmen.automaton.DFA.MemAction.Set
-
- getDomain() - Method in class org.stekikun.dolmen.codegen.DecisionTree
-
- getDomain() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Impossible
-
- getDomain() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Return
-
- getDomain() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Split
-
- getDomain() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Switch
-
- getDomain() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Table
-
- getEndPos() - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
- getEndPos(int) - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
Items are numbered from 1, and include all terminals and
non-terminals, bound or not.
- getEndPos(String) - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
- getExtras() - Method in class org.stekikun.dolmen.cli.Args
-
Arguments are listed in order of appearance on the command line.
- getFilename() - Method in interface org.stekikun.dolmen.syntax.IReport
-
- getFilename() - Method in class org.stekikun.dolmen.syntax.IReport.Impl
-
- getFinalLocs() - Method in class org.stekikun.dolmen.automaton.DFA.State
-
- getFlag(Args.Item) - Method in class org.stekikun.dolmen.cli.Args
-
- getHeight() - Method in class org.stekikun.dolmen.debug.Derivation
-
- getHeight() - Method in class org.stekikun.dolmen.debug.Derivation.NonTerminal
-
- getHeight() - Method in class org.stekikun.dolmen.debug.Derivation.Terminal
-
- getInputLine(String) - Static method in class org.stekikun.dolmen.common.Prompt
-
- getKey(DFA.State) - Static method in class org.stekikun.dolmen.automaton.DFA
-
- getKind() - Method in class org.stekikun.dolmen.automaton.DFA.Cell
-
- getKind() - Method in class org.stekikun.dolmen.automaton.DFA.Perform
-
- getKind() - Method in class org.stekikun.dolmen.automaton.DFA.Shift
-
- getKind() - Method in class org.stekikun.dolmen.codegen.DecisionTree
-
- getKind() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Impossible
-
- getKind() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Return
-
- getKind() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Split
-
- getKind() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Switch
-
- getKind() - Method in class org.stekikun.dolmen.codegen.DecisionTree.Table
-
- getKind() - Method in class org.stekikun.dolmen.syntax.PProduction.ActionItem
-
- getKind() - Method in class org.stekikun.dolmen.syntax.PProduction.Actual
-
- getKind() - Method in class org.stekikun.dolmen.syntax.PProduction.Continue
-
- getKind() - Method in class org.stekikun.dolmen.syntax.PProduction.Item
-
Describes the kind of item this
is
- getKind() - Method in class org.stekikun.dolmen.syntax.Regular
-
Only there for the quick-assist based on Hierarchy
.
- getKind() - Method in class org.stekikun.dolmen.tagged.TRegular
-
Only there for the quick-assist based on Hierarchy
.
- getKind() - Method in class org.stekikun.dolmen.unparam.Production.ActionItem
-
- getKind() - Method in class org.stekikun.dolmen.unparam.Production.Actual
-
- getKind() - Method in class org.stekikun.dolmen.unparam.Production.Continue
-
- getKind() - Method in class org.stekikun.dolmen.unparam.Production.Item
-
Describes the kind of item this
is
- getLength() - Method in interface org.stekikun.dolmen.syntax.IReport
-
- getLength() - Method in class org.stekikun.dolmen.syntax.IReport.Impl
-
- getLexeme() - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getLexemeChar(int) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
When successful, this is equivalent to
getLexeme().charAt(idx)
,
but will be more efficient in general since it does not require
allocating the lexeme string as
LexBuffer.getLexeme()
does.
- getLexemeChars() - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
This method returns the same sequence of characters that
LexBuffer.getLexeme()
would, but it is only a view based on the
current state of the
LexBuffer
.
- getLexemeEnd() - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getLexemeLength() - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getLexemeStart() - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getLine() - Method in interface org.stekikun.dolmen.syntax.IReport
-
- getLine() - Method in class org.stekikun.dolmen.syntax.IReport.Impl
-
- getLocsFor(NFA.Event) - Method in class org.stekikun.dolmen.automaton.DFA.State
-
- getMessage() - Method in interface org.stekikun.dolmen.syntax.IReport
-
- getMessage() - Method in class org.stekikun.dolmen.syntax.IReport.Impl
-
- getNextChar() - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getNumeric(Args.Item) - Method in class org.stekikun.dolmen.cli.Args
-
- getOffset() - Method in interface org.stekikun.dolmen.syntax.IReport
-
- getOffset() - Method in class org.stekikun.dolmen.syntax.IReport.Impl
-
- getReport() - Method in exception org.stekikun.dolmen.unparam.Expansion.PGrammarNotExpandable
-
- getReports() - Method in class org.stekikun.dolmen.syntax.Reporter
-
- getSeverity() - Method in interface org.stekikun.dolmen.syntax.IReport
-
- getSeverity() - Method in class org.stekikun.dolmen.syntax.IReport.Impl
-
- getSourceMapping() - Method in class org.stekikun.dolmen.codegen.CodeBuilder
-
- getSrc() - Method in class org.stekikun.dolmen.automaton.DFA.MemAction.Copy
-
- getSrc() - Method in class org.stekikun.dolmen.automaton.DFA.MemAction
-
- getSrc() - Method in class org.stekikun.dolmen.automaton.DFA.MemAction.Set
-
- getStartPos() - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
- getStartPos(int) - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
Items are numbered from 1, and include all terminals and
non-terminals, bound or not.
- getStartPos(String) - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
- getString(Args.Item) - Method in class org.stekikun.dolmen.cli.Args
-
- getSubLexeme(int, int) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getSubLexemeChar(int) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getSubLexemeOpt(int, int) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getSubLexemeOptChar(int) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- getSymbolStartPos() - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
In comparison to
BaseParser.WithPositions.getStartPos()
, this is often a better
representation of the production's starting position when the
first items in a production can match the empty string.
- getTagEnvironment() - Method in class org.stekikun.dolmen.tagged.Optimiser
-
- Goto(int) - Static method in class org.stekikun.dolmen.automaton.DFA.GotoAction
-
- gotoAction - Variable in class org.stekikun.dolmen.automaton.DFA.TransActions
-
The kind of shift performed in this transition
- Grammar - Class in org.stekikun.dolmen.unparam
-
A parser description is a set of
grammar rules
along with arbitrary header and footer sections.
- Grammar.Builder - Class in org.stekikun.dolmen.unparam
-
A builder class for
Grammar
, where rules can be
added incrementally, and which takes care of collecting
problem reports along the way
- Grammar.IllFormedException - Exception in org.stekikun.dolmen.unparam
-
Exception raised by the grammar
builder class
when trying to construct an ill-formed grammar description.
- GrammarOutput - Class in org.stekikun.dolmen.codegen
-
This class generates a Java class that implements
parsing for a given grammar description.
- GrammarRule - Class in org.stekikun.dolmen.unparam
-
Describes a grammar rule for a non-terminal in a grammar
description.
- GrammarRule(boolean, CExtent, Located<String>, CExtent, List<Production>) - Constructor for class org.stekikun.dolmen.unparam.GrammarRule
-
Builds a grammar rule from the given parameters
- GrammarRule.Builder - Class in org.stekikun.dolmen.unparam
-
A builder class for
grammar rules,
where productions can be added incrementally
- Grammars - Class in org.stekikun.dolmen.unparam
-
- Grammars.Dependencies - Class in org.stekikun.dolmen.unparam
-
Represents the dependencies between the various non-terminals
in some grammar.
- Grammars.NTermsInfo - Class in org.stekikun.dolmen.unparam
-
Gathers the result of the computation of the
NULLABLE, FIRST and FOLLOW sets on non-terminals
in a given grammar
- Grammars.PredictionTable - Class in org.stekikun.dolmen.unparam
-
Instances of this class hold a prediction table for some
grammar.
- Grammars.PredictionTable.Builder - Class in org.stekikun.dolmen.unparam
-
A builder class for prediction tables