org.virtuslab.yaml.internal.load.reader.token

Members list

Type members

Classlikes

sealed abstract class BlockChompingIndicator(indicator: Char)

Chomping controls how final line breaks and trailing empty lines are interpreted. YAML provides three chomping methods:

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.

Attributes

Companion
object
Source
BlockChompingIndicator.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Clip
object Keep
object Strip

Attributes

Companion
class
Source
BlockChompingIndicator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class ScalarStyle(indicator: Char)

Attributes

Companion
object
Source
ScalarStyle.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DoubleQuoted
object Folded
object Literal
object Plain
object SingleQuoted
object ScalarStyle

Attributes

Companion
class
Source
ScalarStyle.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Token(kind: TokenKind, range: Range)

Attributes

Source
Token.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class TokenKind

Attributes

Companion
object
Source
Token.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Alias
class Anchor
object BlockEnd
object Comma
object DocumentEnd
object DocumentStart
object MappingKey
object MappingStart
object MappingValue
class Scalar
object SequenceStart
object SequenceValue
object StreamEnd
object StreamStart
class Tag
class TagDirective
Show all
object TokenKind

Attributes

Companion
class
Source
Token.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TokenKind.type