class Ven::Parselet::PAssign
- Ven::Parselet::PAssign
- Ven::Parselet::Led
- Ven::Parselet::Share
- Reference
- Object
Overview
Reads an assignment expression into QAssign.
Direct Known Subclasses
Defined in:
ven/parselet/led.crInstance Method Summary
- #parse(tag, left, token)
-
#validate(left : Quote)
Returns left if it is a valid assignment target, or dies of
ReadError
. -
#validate?(left : QSymbol) : Bool
Returns whether left is a valid assignment target.
-
#validate?(left : QCall)
Returns whether left is a valid assignment target.
-
#validate?(left)
Returns whether left is a valid assignment target.
Instance methods inherited from class Ven::Parselet::Led
parse(tag : QTag, left : Quote, token : Word)
parse,
parse!(parser : Ven::Reader, tag : QTag, left : Quote, token : Ven::Word)
parse!
Instance methods inherited from class Ven::Parselet::Share
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
Returns left if it is a valid assignment target, or
dies of ReadError
.
Returns whether left is a valid assignment target.