package lexer
- Alphabetic
- Public
- All
Type Members
-
abstract
class
BaseYLexer
extends BaseLexer[YamlToken]
A Base Lexer for YamlTokens
-
final
class
JsonLexer
extends BaseLexer[YamlToken]
Json Lexer
-
sealed
class
YamlContext
extends AnyRef
Yaml Context: c This parameter allows productions to tweak their behavior according to their surrounding.
Yaml Context: c This parameter allows productions to tweak their behavior according to their surrounding. YAML supports two groups of contexts, distinguishing between block styles and flow styles.
In block styles, indentation is used to delineate structure. To capture human perception of indentation the rules require special treatment of the “-” character, used in block sequences. Hence in some cases productions need to behave differently:
- inside block sequences (block-in context)
- and outside them (block-out context).
inside block sequences (block-in context) and outside them (block-out context).
In flow styles, explicit indicators are used to delineate structure. These styles can be viewed as the natural extension of JSON to cover tagged, single-quoted and plain scalars. Since the latter have no delineating indicators, they are subject to some restrictions to avoid ambiguities. These restrictions depend on where they appear:
- as implicit keys directly inside a block mapping (block-key)
- as implicit keys inside a flow mapping (flow-key)
- as values inside a flow collection (flow-in)
- or as values outside one (flow-out)
-
final
class
YamlLexer
extends BaseLexer[YamlToken]
Yaml Lexer for 1.2 Specification
-
sealed
class
YamlToken
extends Token
YamlTokenType
Value Members
- object BlockIn extends YamlContext with Product with Serializable
- object BlockKey extends YamlContext with Product with Serializable
- object BlockOut extends YamlContext with Product with Serializable
- object FlowIn extends YamlContext with Product with Serializable
- object FlowKey extends YamlContext with Product with Serializable
- object FlowOut extends YamlContext with Product with Serializable
- object JsonLexer
-
object
YamlCharRules
An Object to contain Character rules for The YamlLexer
- object YamlLexer
- object YamlToken