parsley.token.descriptions.SpaceDesc
See theSpaceDesc companion object
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
- Source:
- SpaceDesc.scala
- Graph
- Supertypes