parsley.token.descriptions
Members list
Type members
Classlikes
This class describes the aggregation of a bunch of different sub-configurations for lexing a specific language.
This class describes the aggregation of a bunch of different sub-configurations for lexing a specific language.
Attributes
- nameDesc
the description of name-like lexemes
- numericDesc
the description of numeric literals
- spaceDesc
the description of whitespace
- symbolDesc
the description of specific symbolic lexemes
- textDesc
the description of text literals
- Since:
4.0.0
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
This object contains any preconfigured lexical definitions.
This object contains any preconfigured lexical definitions.
Attributes
- Since:
4.0.0
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- LexicalDesc.type
The class describes how name-like things are described lexically.
The class describes how name-like things are described lexically.
Attributes
- identifierLetter
what characters may continue an identifier?
- identifierStart
what characters may start an identifier?
- operatorLetter
what characters may continue a user-defined operator?
- operatorStart
what characters may start a user-defined operator?
- Since:
4.0.0
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
This class describes how whitespace should be handled lexically.
This class describes how whitespace should be handled lexically.
Attributes
- commentEnd
how do multi-line comments end? (empty for no multi-line comments)
- commentLine
how do single-line comments start? (empty for no single-line comments)
- commentLineAllowsEOF
can a single-line comment be terminated by the end-of-file, or must it ends with a newline
- commentStart
how do multi-line comments start? (empty for no multi-line comments)
- nestedComments
can multi-line comments be nested within each other?
- space
what characters serve as whitespace within the language?
- whitespaceIsContextDependent
can the definition of whitespace change depending on context? (in Python, say, newlines are valid whitespace within parentheses, but are significant outside of them)
- Since:
4.0.0
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
This class describes how symbols (textual literals in a BNF) should be processed lexically.
This class describes how symbols (textual literals in a BNF) should be processed lexically.
Attributes
- caseSensitive
are the keywords case sensitive: when
false
,IF == if
.- hardKeywords
what keywords are always treated as keywords within the language.
- hardOperators
what operators are always treated as reserved operators within the language.
- Since:
4.0.0
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
This object contains any preconfigured symbol descriptions.
This object contains any preconfigured symbol descriptions.
Attributes
- Since:
4.0.0
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- SymbolDesc.type