Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Y _ 

C

canShiftTo(int) - Method in class org.stekikun.dolmen.automaton.DFA.Shift
 
cardinal() - Method in class org.stekikun.dolmen.common.CSet
 
category(T) - Method in interface org.stekikun.dolmen.debug.TokenVisualizer.LexerInterface
Tokens with the same category
Cell() - Constructor for class org.stekikun.dolmen.automaton.DFA.Cell
 
CExtent - Class in org.stekikun.dolmen.syntax
Instances of this class describe ranges of characters in files, and are used to link parsed entities with their concrete representation in the original sources.
CExtent() - Constructor for class org.stekikun.dolmen.syntax.CExtent
 
changeInput(String, Reader) - Method in class org.stekikun.dolmen.codegen.LexBuffer
This changes the input stream used by this lexer buffer to the new source described by filename and reader.
chars(char...) - Static method in class org.stekikun.dolmen.common.CSet
 
chars - Variable in class org.stekikun.dolmen.syntax.Regular.Characters
The character set matched by this expression
chars(CSet) - Static method in class org.stekikun.dolmen.syntax.Regular
 
chars(Regular.Characters) - Method in interface org.stekikun.dolmen.syntax.Regular.Folder
Applying this on a Regular.Characters regular expression
chars - Variable in class org.stekikun.dolmen.syntax.Regular.Gen.Config
Probability to generate a regexp matching some character set
chars - Variable in class org.stekikun.dolmen.tagged.TRegular.Characters
The index of the character set matched by this expression
chars(int, boolean) - Static method in class org.stekikun.dolmen.tagged.TRegular
If eof is true, cset must point to a singleton end-of-input.
charsets - Variable in class org.stekikun.dolmen.tagged.TLexer
The character set dictionary
charToString(char, boolean) - Static method in class org.stekikun.dolmen.common.CSet
 
checkExpandability(PGrammar) - Static method in class org.stekikun.dolmen.unparam.Expansion
Checks that the given parametric grammar can be expanded in a finite fashion.
checkLexer(String) - Static method in exception org.stekikun.dolmen.common.Exceptions.DolmenVersionException
Checks that the current runtime has the given version, and throws a Exceptions.DolmenVersionException otherwise.
checkParser(String) - Static method in exception org.stekikun.dolmen.common.Exceptions.DolmenVersionException
Checks that the current runtime has the given version, and throws a Exceptions.DolmenVersionException otherwise.
chrVars - Variable in class org.stekikun.dolmen.syntax.Regulars.VarsInfo
All variables which can match sub-expressions that must be of size 1.
classAnnotations(String) - Method in class org.stekikun.dolmen.codegen.Config.Builder
 
classAnnotations - Variable in class org.stekikun.dolmen.codegen.Config
Annotations which must be added to the generated parser or lexer class
Clause(Located<Regular>, Extent) - Constructor for class org.stekikun.dolmen.syntax.Lexer.Clause
 
clauses - Variable in class org.stekikun.dolmen.syntax.Lexer.Entry
The various clauses for this entry, associated to the extents for the corresponding semantic actions.
clear() - Method in class org.stekikun.dolmen.common.Prompt.TermStream
Reset the current text attributes to default.
close() - Method in class org.stekikun.dolmen.common.CountingWriter
 
closeBlock() - Method in class org.stekikun.dolmen.codegen.CodeBuilder
Closes a curly-braced block with decremented indentation, i.e. is equivalent to: decrIndent(); newline(); emit("}"); newline();
closeBlock0() - Method in class org.stekikun.dolmen.codegen.CodeBuilder
Closes a curly-braced block with decremented indentation and without breaking the line after the closing brace, i.e. is equivalent to: decrIndent(); newline(); emit("}"); It is useful when closing several blocks in a row to avoid empty lines.
code - Variable in enum org.stekikun.dolmen.common.Prompt.Colors
The ANSI color code for this color, used as foreground color
CodeBuilder - Class in org.stekikun.dolmen.codegen
An instance of this utility class manages a string buffer with a current indentation level, which allows for convenient declarative generation of user-readable code.
CodeBuilder(int) - Constructor for class org.stekikun.dolmen.codegen.CodeBuilder
Returns a fresh code builder starting with the given indentation level, and using a fresh instance of StringBuilder as the internal target of emitted code
column() - Method in class org.stekikun.dolmen.codegen.LexBuffer.Position
 
compareTo(CSet) - Method in class org.stekikun.dolmen.common.CSet
 
compile(TreeMap<CSet, DFA.TransActions>) - Static method in class org.stekikun.dolmen.codegen.DecisionTree
 
complement(CSet) - Static method in class org.stekikun.dolmen.common.CSet
 
compose(String, Map<String, CExtent>) - Method in class org.stekikun.dolmen.syntax.PExtent
NB: Except in the special case where the receiver had no holes the returned Extent will be inlined, i.e. information about the original location in the source will be lost.
concat(Iterable<? extends Iterable<? extends T>>) - Static method in class org.stekikun.dolmen.common.Iterables
 
concat(Iterable<? extends T>...) - Static method in class org.stekikun.dolmen.common.Iterables
 
concat(PList<A>, PList<A>) - Static method in class org.stekikun.dolmen.common.PList
This works in constant stack size.
Config - Class in org.stekikun.dolmen.codegen
Configuration description for Dolmen generation of both lexical and syntax analyzers.
Config(EnumMap<Config.Keys, Object>) - Constructor for class org.stekikun.dolmen.codegen.Config
Builds a configuration from the given options.
Config() - Constructor for class org.stekikun.dolmen.common.CSet.Gen.Config
 
Config() - Constructor for class org.stekikun.dolmen.syntax.Regular.Gen.Config
 
Config.Builder - Class in org.stekikun.dolmen.codegen
A builder class for configurations, which allows setting all options using method chaining.
Config.Keys - Enum in org.stekikun.dolmen.codegen
Enumeration of the keys for configurable options.
Config.Relevance - Enum in org.stekikun.dolmen.codegen
Enumeration representing the relevance of a configuration: it can be usable only within a lexer description, a parser description, or both.
cons(A, PList<A>) - Static method in class org.stekikun.dolmen.common.PList
 
Constants - Class in org.stekikun.dolmen.common
Common constant definitions
cont - Variable in class org.stekikun.dolmen.syntax.PProduction.Continue
The location of the item (for error reporting)
cont - Variable in class org.stekikun.dolmen.unparam.Production.Continue
The location of the item (for error reporting)
contains(char) - Method in class org.stekikun.dolmen.common.CSet
 
contents() - Method in class org.stekikun.dolmen.codegen.CodeBuilder
Returns the current contents of this code builder buffer
continuation() - Method in class org.stekikun.dolmen.syntax.PProduction
 
continuation() - Method in class org.stekikun.dolmen.unparam.Production
 
Continue(Located<String>) - Constructor for class org.stekikun.dolmen.syntax.PProduction.Continue
Builds a continuation item at the given location
Continue(Located<String>) - Constructor for class org.stekikun.dolmen.unparam.Production.Continue
Builds a continuation item at the given location
copy(int, int) - Static method in class org.stekikun.dolmen.automaton.DFA.MemAction
 
count() - Method in class org.stekikun.dolmen.common.SCC
 
CountingWriter - Class in org.stekikun.dolmen.common
Implementation of Writer which delegates all operations to an underlying instance of Writer, but counts the characters that are written to the stream along the way.
CountingWriter(Writer) - Constructor for class org.stekikun.dolmen.common.CountingWriter
Creates a writer wrapping out which counts the number of characters written into it.
create() - Static method in class org.stekikun.dolmen.common.Maps
 
create() - Static method in class org.stekikun.dolmen.common.Sets
 
csConfig - Variable in class org.stekikun.dolmen.syntax.Regular.Gen.Config
Configuration used to generate the random character sets
CSet - Class in org.stekikun.dolmen.common
A class to represent character sets.
CSet() - Constructor for class org.stekikun.dolmen.common.CSet
 
CSet.Gen - Class in org.stekikun.dolmen.common
Generates random character sets based on a probability configuration and a random number generator
CSet.Gen.Config - Class in org.stekikun.dolmen.common
Configuration of the generator Cumulative probabilities for the different character set kinds must be increasing, since they are tested in the order of definition.
curLoc - Variable in class org.stekikun.dolmen.codegen.LexBuffer
Current token position
curPos - Variable in class org.stekikun.dolmen.codegen.LexBuffer
Current buffer input position
A B C D E F G H I J K L M N O P R S T U V W Y _