Skip to main content

Yaml

Scopes

Supported facets

These facets are supported

Collection item

  • Unenclosed: An item in a comma-separated list without enclosing delimiters. This could be multi-variable declarations, import statements, etc.
  • Unenclosed (iteration): Iteration scope for items in a comma-separated list without enclosing delimiters

Collection key

  • Map pair: Key (LHS) of a key-value pair of a map
  • Map pair (iteration): Iteration scope of key-value pairs in a map; should be between the braces

Comment

  • Line: A line comment

Disqualify delimiter

  • Disqualify delimiter: Used to disqualify a token from being treated as a surrounding pair delimiter. This will usually be operators containing `>` or `<`, eg `<`, `<=`, `->`, etc

List

  • List: A list/array

Map

  • Map: A map/dictionary

String

  • Multi line: A multi-line string
  • Single line: A single-line string

Text fragment

  • Comment line: Text fragment consisting of a line comment
  • String multi line: Text fragment consisting of a multi-line string
  • String single line: Text fragment consisting of a single-line string

Value

  • Map pair: Value (RHS) of a key-value pair in a map
  • Map pair (iteration): Iteration scope of key-value pairs in a map; should be between the braces

Unspecified facets

These facets are unspecified