class Ven::Parselet::PEnsure
Overview
Reads an 'ensure' expression into QEnsure: ensure 2 + 2 is 4
.
Defined in:
ven/parselet/nud.cr
Instance Method Summary
Instance methods inherited from class Ven::Parselet::Nud
parse(tag : QTag, token : Word)
parse,
parse!(parser : Reader, tag : QTag, token : Word)
parse!
block(opening = true, semicolon : Bool = false)
block,
die(message : String)
die,
led(precedence = @precedence)
led,
precedence : Precedence
precedence,
semicolon : Bool
semicolon,
symbol(tag, token = nil) : QSymbol
symbol
Constructor methods inherited from class Ven::Parselet::Share
new(precedence : Ven::Precedence = Precedence::ZERO)
new
Instance Method Detail