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.type
object Keep.type
object Strip.type

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.type
object Folded.type
object Literal.type
object Plain.type
object SingleQuoted.type
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.type
object Comma.type
object DocumentEnd.type
object DocumentStart.type
object FlowMappingEnd.type
object FlowMappingStart.type
object FlowSequenceEnd.type
object FlowSequenceStart.type
object MappingKey.type
object MappingStart.type
object MappingValue.type
class Scalar
object SequenceStart.type
object SequenceValue.type
object StreamEnd.type
object StreamStart.type
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