The concrete string for the Language Domain according to the words definition given at creation.
The concrete string for the Language Locale option according to the words definition given at creation.
The concrete string for the Language Variant name according to the words definition given at creation.
The concrete string for the Language Version name according to the words definition given at creation.
The fixity of the given fixity level in the language words definition.
The concrete string for the ALLOWRECURSION language pragma according to the words definition given at creation.
The concrete string for the DESTRUCTURINGFOREACH language pragma according to the words definition given at creation.
The concrete string for the ATTRIBUTE pragma according to the words definition given at creation.
The concrete string for the BEGINREGION pragma according to the words definition given at creation.
The concrete string for the ENDREGION pragma according to the words definition given at creation.
The concrete string for the EXTRASYMBOLS pragma according to the words definition given at creation.
The concrete string for the LANGUAGEDOMAIN pragma according to the words definition given at creation.
The concrete string for the LANGUAGELOCALE pragma according to the words definition given at creation.
The concrete string for the LANGUAGEMOD pragma according to the words definition given at creation.
The concrete string for the LANGUAGEVARIANT pragma according to the words definition given at creation.
The concrete string for the LANGUAGEVERSION pragma according to the words definition given at creation.
The pragma closer sigil according to the words definition given at creation.
The pragma opener sigil according to the words definition given at creation.
The pragma separator sigil according to the words definition given at creation.
The line comment opener sigils according to the words definition given at creation.
The paragraph comment closer sigils according to the words definition given at creation.
The paragraph comment opener sigils according to the words definition given at creation.
Determines the pair opener-closer that is initiated in the given source, provided that one of the openers ocurrs at its beginning.
PRECONDITION:
source
starts with one of the strings at openers
.GErrors.PreconditionErrorIn when the source does not start with some of the given openers
The interface Words is used to provide efficient access to a Gobstones words definition given by an instance of WordsDef with efficiency and readability. It is an auxiliary class for Gobstones lexer. It solves the problem of abstracting away the concrete words recognized by the Gobstones lexer to build tokens while simplifying the access to the definition of those words, given by a WordsDef.
Particular implementations must receive a words definition during creation, to guide the operations in the interface.