- aborted(String) - Method in class org.stekikun.dolmen.common.Bookkeeper
-
Aborts the current task, and thus this bookkeeper's main
task, for the given reason
.
- absPos - Variable in class org.stekikun.dolmen.codegen.LexBuffer
-
Absolute position of the start of the buffer
- action - Variable in class org.stekikun.dolmen.automaton.DFA.Perform
-
The semantic action to perform
- action - Variable in class org.stekikun.dolmen.automaton.DFA.Remember
-
The final action to remember, if >= 0
- action - Variable in class org.stekikun.dolmen.syntax.Lexer.Clause
-
The Java action which can be executed when this clauses matches
- action - Variable in class org.stekikun.dolmen.tagged.TLexerEntry.Finisher
-
The semantic action's number
(in order of appearance in the syntactic clauses)
- action(int) - Static method in class org.stekikun.dolmen.tagged.TRegular
-
- action - Variable in class org.stekikun.dolmen.tagged.TRegular.Action
-
The index of the semantic action
- action - Variable in class org.stekikun.dolmen.tagged.TRegular.TagInfo
-
The semantic action associated to this tag
- ActionItem(PExtent) - Constructor for class org.stekikun.dolmen.syntax.PProduction.ActionItem
-
Builds a semantic action item from the given extent
- ActionItem(CExtent) - Constructor for class org.stekikun.dolmen.unparam.Production.ActionItem
-
Builds a semantic action item from the given extent
- actions - Variable in class org.stekikun.dolmen.tagged.TLexerEntry
-
The list of semantic actions
- Actual(Located<String>, PProduction.ActualExpr, PExtent) - Constructor for class org.stekikun.dolmen.syntax.PProduction.Actual
-
Builds a production item based on the given parameters
- Actual(Located<String>, Located<String>, CExtent) - Constructor for class org.stekikun.dolmen.unparam.Production.Actual
-
Builds a production item based on the given parameters
- ActualExpr(Located<String>, List<PProduction.ActualExpr>) - Constructor for class org.stekikun.dolmen.syntax.PProduction.ActualExpr
-
Returns an actual expression made of applying
symb
to the actuals given in params
- actuals() - Method in class org.stekikun.dolmen.syntax.PProduction
-
This does not include potential continuations, although
on many aspects they act as actuals.
- actuals() - Method in class org.stekikun.dolmen.unparam.Production
-
This does not include potential continuations, although
on many aspects they act as actuals.
- add(int, int, LexBuffer.Position, CExtent) - Method in class org.stekikun.dolmen.codegen.SourceMapping
-
Adds a new mapping to this
, describing that
the range starting at position offset
and spanning
length
bytes corresponds to the range of the same
length at position origin
in the original source.
- add(T, Set<T>) - Static method in class org.stekikun.dolmen.common.Sets
-
- add(Located<Regular>, Extent) - Method in class org.stekikun.dolmen.syntax.Lexer.Entry.Builder
-
Adds the clause formed by the given regular expression
and semantic action
- add(Regular, String) - Method in class org.stekikun.dolmen.syntax.Lexer.Entry.Builder
-
Adds the clause formed by the given regular expression
and inlined semantic action
- add(IReport) - Method in class org.stekikun.dolmen.syntax.Reporter
-
Adds the given report
to the reporter
- add(String, String, Production) - Method in class org.stekikun.dolmen.unparam.Grammars.PredictionTable.Builder
-
Extends the partition table in this builder by associating
the production prod
to the given combination of
non-terminal and terminal.
- addAction(PExtent) - Method in class org.stekikun.dolmen.syntax.PProduction.Builder
-
Adds a semantic action item
- addAction(CExtent) - Method in class org.stekikun.dolmen.unparam.Production.Builder
-
Adds a semantic action item
- addActual(PProduction.Actual) - Method in class org.stekikun.dolmen.syntax.PProduction.Builder
-
Adds an actual production item
- addActual(Production.Actual) - Method in class org.stekikun.dolmen.unparam.Production.Builder
-
Adds an actual production item
- addEntries(Lexer.Entry...) - Method in class org.stekikun.dolmen.syntax.Lexer.Builder
-
- addEntry(Lexer.Entry) - Method in class org.stekikun.dolmen.syntax.Lexer.Builder
-
- addHole(int, String, int, int) - Method in class org.stekikun.dolmen.syntax.PExtent.Builder
-
Adds a new hole at source position sourcePos
and
linked with the parameter name
- addItem(PProduction.Item) - Method in class org.stekikun.dolmen.syntax.PProduction.Builder
-
Adds a production item
- addItem(Production.Item) - Method in class org.stekikun.dolmen.unparam.Production.Builder
-
Adds a production item
- addProduction(PProduction) - Method in class org.stekikun.dolmen.syntax.PGrammarRule.Builder
-
Adds the given production to the builder
- addProduction(Production) - Method in class org.stekikun.dolmen.unparam.GrammarRule.Builder
-
Adds the given production to the builder
- addRule(PGrammarRule) - Method in class org.stekikun.dolmen.syntax.PGrammar.Builder
-
- addRule(GrammarRule) - Method in class org.stekikun.dolmen.unparam.Grammar.Builder
-
- addToken(TokenDecl) - Method in class org.stekikun.dolmen.syntax.PGrammar.Builder
-
- addToken(TokenDecl) - Method in class org.stekikun.dolmen.unparam.Grammar.Builder
-
- ALL - Static variable in class org.stekikun.dolmen.common.CSet
-
The set of all possible characters, including
the special end-of-file marker.
- all - Variable in class org.stekikun.dolmen.common.CSet.Gen.Config
-
- ALL_BUT_EOF - Static variable in class org.stekikun.dolmen.common.CSet
-
Like
CSet.ALL
but does not contain the special
end-of-input marker
- allMatches(Regular, String, boolean) - Static method in class org.stekikun.dolmen.syntax.Regulars
-
- allMatches(Regular, String) - Static method in class org.stekikun.dolmen.syntax.Regulars
-
- allMatches(List<CSet>, TRegular, String) - Static method in class org.stekikun.dolmen.tagged.TRegulars
-
- allowEmptyBindings - Variable in class org.stekikun.dolmen.syntax.Regular.Gen.Config
-
Whether binding regular expressions of size 0 are allowed
- allVars - Variable in class org.stekikun.dolmen.syntax.Regulars.VarsInfo
-
All variables bound in the regular expression
- alternate(Regular.Alternate) - Method in interface org.stekikun.dolmen.syntax.Regular.Folder
-
- alternate - Variable in class org.stekikun.dolmen.syntax.Regular.Gen.Config
-
Probability to generate a regular expression of the form "a | b"
- analyseGrammar(PGrammar, PGrammars.Dependencies, Reporter) - Static method in class org.stekikun.dolmen.syntax.PGrammars
-
This analyses various rule applications in the parametric
grammar
grammar
by inferring
sorts
for all the rules' formal parameters and checking that
effective parameters in all applications are abiding by
the constraints expressed by the sorts.
- analyseGrammar(Grammar, Grammars.Dependencies, Reporter) - Static method in class org.stekikun.dolmen.unparam.Grammars
-
Analyze the given grammar
and compute for every non-terminal
whether it is nullable, and the associated FIRST and FOLLOW
sets.
- analyseVars(Regular) - Static method in class org.stekikun.dolmen.syntax.Regulars
-
- append(CharSequence) - Method in class org.stekikun.dolmen.common.CountingWriter
-
- append(CharSequence, int, int) - Method in class org.stekikun.dolmen.common.CountingWriter
-
- append(char) - Method in class org.stekikun.dolmen.common.CountingWriter
-
- append(Derivation.Displayer, Appendable) - Method in class org.stekikun.dolmen.debug.Derivation
-
Appends the representation of the receiver into buf
using displayer
- append(Derivation.Displayer, Appendable) - Method in class org.stekikun.dolmen.debug.Derivation.NonTerminal
-
- append(Derivation.Displayer, Appendable) - Method in class org.stekikun.dolmen.debug.Derivation.Terminal
-
- appendLexeme(StringBuilder) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
Appends the last matched lexeme to the given buffer buf
.
- args - Variable in class org.stekikun.dolmen.automaton.Automata.Entry
-
The formal arguments for this rule
- Args - Class in org.stekikun.dolmen.cli
-
This class describes the various command-line arguments that can be
used with the Dolmen CLI as an enumeration
.
- args - Variable in class org.stekikun.dolmen.syntax.Lexer.Entry
-
The formal arguments for this rule
- args - Variable in class org.stekikun.dolmen.syntax.PGrammarRule
-
The formal arguments for this rule, if any
- args - Variable in class org.stekikun.dolmen.syntax.PProduction.Actual
-
The Java arguments to the production item, if any.
- args - Variable in class org.stekikun.dolmen.tagged.TLexerEntry
-
The list of formal arguments available in semantic actions
- args - Variable in class org.stekikun.dolmen.unparam.GrammarRule
-
The formal arguments for this rule, if any
- args - Variable in class org.stekikun.dolmen.unparam.Production.Actual
-
The Java arguments to the production item, if any.
- Args.ArgsParsingException - Exception in org.stekikun.dolmen.cli
-
A custom exception raised when encountering an error while
parsing command-line arguments.
- Args.Type - Enum in org.stekikun.dolmen.cli
-
An enumeration type listing the different types
of options that can be expected in the CLI.
- Args.Value - Class in org.stekikun.dolmen.cli
-
Common variant type holding values associated to various
types
of command-line options.
- arrayOk(T[]) - Static method in class org.stekikun.dolmen.common.Nulls
-
This is designed to "cast" an array of Nullable
values to an array of NonNull
values.
- asCSet(Regular) - Static method in class org.stekikun.dolmen.syntax.Regulars
-
A regular expression corresponds to a character set if it is either
a character set, or an alternation of expression which correspond to
a character set.
- asFlag() - Method in class org.stekikun.dolmen.cli.Args.Value
-
- asNumeric() - Method in class org.stekikun.dolmen.cli.Args.Value
-
- asString() - Method in class org.stekikun.dolmen.cli.Args.Value
-
- Automata - Class in org.stekikun.dolmen.automaton
-
An instance of
Automata
gathers all the
deterministic finite automata implementing the
various rules in a lexer definition.
- Automata(List<Located<String>>, Extent, Extent, List<Automata.Entry>, DFA.Cell[]) - Constructor for class org.stekikun.dolmen.automaton.Automata
-
Builds the automata from the given entries and cells
- Automata.Entry - Class in org.stekikun.dolmen.automaton
-
Represents automaton information for one lexer
entry.
- automataCells - Variable in class org.stekikun.dolmen.automaton.Automata
-
The cells of the various automata implementing the rules
- automataEntries - Variable in class org.stekikun.dolmen.automaton.Automata
-
The list of automata entries, one for each lexer rule
- AutomataOutput - Class in org.stekikun.dolmen.codegen
-
This class generates a Java class that simulates the
automata in some
Automata
instance.