package token
- Alphabetic
- Public
- Protected
Type Members
- sealed abstract class BlockChompingIndicator extends AnyRef
Chomping controls how final line breaks and trailing empty lines are interpreted.
Chomping controls how final line breaks and trailing empty lines are interpreted. YAML provides three chomping methods:
1. Strip - stripping is specified by the “-” chomping indicator. In this case, the final line break and any trailing empty lines are excluded from the scalar’s content.
2. Clip - clipping is the default behavior used if no explicit chomping indicator is specified. In this case, the final line break character is preserved in the scalar’s content. However, any trailing empty lines are excluded from the scalar’s content.
3. Keep - keeping is specified by the “+” chomping indicator. In this case, the final line break and any trailing empty lines are considered to be part of the scalar’s content. These additional lines are not subject to folding.
- sealed abstract class ScalarStyle extends AnyRef
- final case class Token(kind: TokenKind, range: Range) extends Product with Serializable
- sealed abstract class TokenKind extends AnyRef
Value Members
- case object BlockChompingIndicator extends Product with Serializable
- object ScalarStyle
- object TokenKind