class

Noir::Lexers::YAML

Inherits Noir::Lexer / Noir::Tokens / Reference / Object

Constants

SPECIAL_VALUES = Regex.union(["true", "false", "null"] of ::String)

Constructors

Instance methods

block_scalar_indent
Source
block_scalar_indent=(block_scalar_indent : Nil | Int32)
Source
continue_indent(match)
Source
dedent?(level : Int32)
Source
indent
Source
reset_indent

reset the indentation levels

Source
save_indent(match : String)

Save a possible indentation level

Source
set_indent(match, opts = {} of Int32 => Bool)
Source