- sanityCheck() - Method in class org.stekikun.dolmen.automaton.DFA.Cell
-
Performs some sanity checks on this automaton cell
- sanityCheck() - Method in class org.stekikun.dolmen.automaton.DFA.Perform
-
- sanityCheck() - Method in class org.stekikun.dolmen.automaton.DFA.Shift
-
- savePosition(Supplier<T>, LexBuffer.Position) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
This method runs the given supplier
routine but takes
care to restore the current token start position to the
position given as the saved
parameter.
- savePosition(Runnable, LexBuffer.Position) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
This method runs the given runnable
but takes
care to restore the current token start position to the
position given as the saved
parameter.
- saveStart(Supplier<T>) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- saveStart(Runnable) - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
- SCC<Node> - Class in org.stekikun.dolmen.common
-
Describes the strongly-connected components of some graph
described by an implementation of
SCC.Graph
.
- scc(Node) - Method in class org.stekikun.dolmen.common.SCC
-
The node must belong to the graph for which this SCC
was computed.
- SCC.Graph<Node> - Interface in org.stekikun.dolmen.common
-
Interface describing a directed graph whose vertices can
be indexed by integers.
- second - Variable in class org.stekikun.dolmen.syntax.Regular.Sequence
-
Second part of the concatenation
- second - Variable in class org.stekikun.dolmen.tagged.TRegular.Sequence
-
Second part of the concatenation
- seq(Regular, Regular) - Static method in class org.stekikun.dolmen.syntax.Regular
-
- seq(Regular...) - Static method in class org.stekikun.dolmen.syntax.Regular
-
- seq(TRegular, TRegular) - Static method in class org.stekikun.dolmen.tagged.TRegular
-
- sequence(Regular.Sequence) - Method in interface org.stekikun.dolmen.syntax.Regular.Folder
-
- sequence - Variable in class org.stekikun.dolmen.syntax.Regular.Gen.Config
-
Probability to generate a regular expression of the form "ab"
- set(int) - Static method in class org.stekikun.dolmen.automaton.DFA.MemAction
-
- Sets - Class in org.stekikun.dolmen.common
-
This class contains various utility methods
about
Set
s.
- setShortest() - Method in class org.stekikun.dolmen.syntax.Lexer.Entry.Builder
-
Use the shortest-match rule for this entry
- SetTag(int, int) - Static method in class org.stekikun.dolmen.automaton.DFA.TagAction
-
- Shift(DFA.Remember, TreeMap<CSet, DFA.TransActions>) - Constructor for class org.stekikun.dolmen.automaton.DFA.Shift
-
- shift(String) - Method in class org.stekikun.dolmen.codegen.BaseParser.WithPositions
-
Shifts the last consumed token, which means its position
will be registered on the location stack's current top-level
element.
- shortest - Variable in class org.stekikun.dolmen.syntax.Lexer.Entry
-
Whether shortest match should be used
- shortest - Variable in class org.stekikun.dolmen.tagged.TLexerEntry
-
Whether the shortest match priority should be used
- simpleBackward(TRegular) - Method in class org.stekikun.dolmen.tagged.Optimiser
-
- simpleForward(TRegular) - Method in class org.stekikun.dolmen.tagged.Optimiser
-
- simplify(DecisionTree) - Static method in class org.stekikun.dolmen.codegen.DecisionTree
-
This method tries to simplify the given tree in order to
obtain an equivalent decision tree by removing useless
parts.
- singleton - Variable in class org.stekikun.dolmen.common.CSet.Gen.Config
-
Probability to generate singleton character set
- singleton(char) - Static method in class org.stekikun.dolmen.common.CSet
-
- singleton(T) - Static method in class org.stekikun.dolmen.common.Iterables
-
- singleton(T) - Static method in class org.stekikun.dolmen.common.Lists
-
- singleton(K, V) - Static method in class org.stekikun.dolmen.common.Maps
-
- singleton(A) - Static method in class org.stekikun.dolmen.common.PList
-
- singleton(T) - Static method in class org.stekikun.dolmen.common.Sets
-
- size(Iterable<T>) - Static method in class org.stekikun.dolmen.common.Iterables
-
- size() - Method in interface org.stekikun.dolmen.common.SCC.Graph
-
- size() - Method in class org.stekikun.dolmen.syntax.PGrammars.Dependencies
-
- size - Variable in class org.stekikun.dolmen.syntax.Regular
-
If size
>= 0, all strings matching this
regular expression have the specified size.
- size - Variable in class org.stekikun.dolmen.tagged.TRegular
-
If size
>= 0, all strings matching this
regular expression have the specified size.
- SourceMapping - Class in org.stekikun.dolmen.codegen
-
This class stores a mapping from range of positions
in a generated file (typically a generated Java lexer or parser)
to corresponding positions in a source file (typically a Dolmen
lexer or parser description file), or even several source files.
- SourceMapping(String) - Constructor for class org.stekikun.dolmen.codegen.SourceMapping
-
- SourceMapping.Mapping - Class in org.stekikun.dolmen.codegen
-
- SourceMapping.Origin - Class in org.stekikun.dolmen.codegen
-
An instance of this class describes the origin of some region
of generated code in terms of the source region from which it
originated.
- spaces(int) - Method in class org.stekikun.dolmen.common.Prompt.TermStream
-
Prints the given number of spaces (' ').
- split(char, DecisionTree, DecisionTree) - Static method in class org.stekikun.dolmen.codegen.DecisionTree
-
- src - Variable in class org.stekikun.dolmen.automaton.DFA.MemAction.Copy
-
The memory cell to copy from
- star(Regular) - Static method in class org.stekikun.dolmen.syntax.Regular
-
- star(TRegular) - Static method in class org.stekikun.dolmen.tagged.TRegular
-
- start() - Static method in class org.stekikun.dolmen.codegen.Config
-
- start(PrintStream, String, boolean) - Static method in class org.stekikun.dolmen.common.Bookkeeper
-
- start(PrintStream, String) - Static method in class org.stekikun.dolmen.common.Bookkeeper
-
Same as start(out, mainTask, false)
.
- start - Variable in class org.stekikun.dolmen.syntax.Located
-
The start position of the value in the input file
- start - Variable in class org.stekikun.dolmen.tagged.Optimiser.IdentInfo
-
The tag address of the start of the bound sub-expression
- START - Static variable in class org.stekikun.dolmen.tagged.Optimiser.TagAddr
-
The special base address representing the start of input
- start - Variable in class org.stekikun.dolmen.tagged.Optimiser.TagKey
-
Whether this tag marks the start of some
bound subexpression or the end
- start - Variable in class org.stekikun.dolmen.tagged.TRegular.TagInfo
-
Whether this tag marks the start or
the end of the bound sub-expressions
- startCol() - Method in class org.stekikun.dolmen.syntax.CExtent
-
- startCol - Variable in class org.stekikun.dolmen.syntax.Extent
-
The column where the extent starts, i.e. the offset
of the starting character from the beginning of the line
(0-based)
- startCol() - Method in class org.stekikun.dolmen.syntax.Extent
-
- startCol - Variable in class org.stekikun.dolmen.syntax.PExtent.Hole
-
The column where the hole starts, i.e. the offset
of the starting character from the beginning of the line
(0-based)
- startLine() - Method in class org.stekikun.dolmen.syntax.CExtent
-
- startLine - Variable in class org.stekikun.dolmen.syntax.Extent
-
The line where the extent starts (1-based)
- startLine() - Method in class org.stekikun.dolmen.syntax.Extent
-
- startLine - Variable in class org.stekikun.dolmen.syntax.PExtent.Hole
-
The line where the hole starts (1-based)
- startLoc - Variable in class org.stekikun.dolmen.codegen.LexBuffer
-
Position of the last token start
- startPos - Variable in class org.stekikun.dolmen.codegen.LexBuffer
-
Buffer input position of the token start
- startPos() - Method in class org.stekikun.dolmen.syntax.CExtent
-
- startPos - Variable in class org.stekikun.dolmen.syntax.Extent
-
The starting character offset of the extent (0-based)
- startPos() - Method in class org.stekikun.dolmen.syntax.Extent
-
- startToken() - Method in class org.stekikun.dolmen.codegen.LexBuffer
-
Starts the matching of a new token
- startTrackedRange(LexBuffer.Position) - Method in class org.stekikun.dolmen.codegen.CodeBuilder
-
Starts tracking a new region from the current position
in the emitted code.
- state - Variable in class org.stekikun.dolmen.automaton.DFA.Key
-
The set of NFA states (the 'untagged' DFA state)
- string(TokenVisualizer.LexerInterface<L, T, Cat>, String, Writer) - Static method in class org.stekikun.dolmen.debug.TokenVisualizer
-
Outputs to the given writer a stand-alone HTML page which
displays the tokenization of the given input
string's contents.
- string(String) - Static method in class org.stekikun.dolmen.syntax.Regular
-
- strVars - Variable in class org.stekikun.dolmen.syntax.Regulars.VarsInfo
-
All variables which can match
sub-expressions that are not guaranteed
to be of size 1.
- successors(Node, Consumer<Node>) - Method in interface org.stekikun.dolmen.common.SCC.Graph
-
Applies the function f
to all the successors
of the node n
, in no particular order
- successors(String, Consumer<String>) - Method in class org.stekikun.dolmen.syntax.PGrammars.Dependencies
-
- switchTable(TreeMap<CSet, DFA.TransActions>) - Static method in class org.stekikun.dolmen.codegen.DecisionTree
-
- symb - Variable in class org.stekikun.dolmen.syntax.PProduction.ActualExpr
-
The name of the production item, i.e. either
the name of a non-terminal or a terminal of the
grammar, depending on whether the identifier starts
with a lowercase or uppercase character.
- symbol - Variable in class org.stekikun.dolmen.debug.Derivation
-
The ordinal of the head symbol in this derivation, i.e. either
the ordinal of the produced non-terminal, or of the leaf terminal.
- symdiff(Set<T>, Set<T>) - Static method in class org.stekikun.dolmen.common.Sets
-