abstract class Ven::Parselet::Led
- Ven::Parselet::Led
- Ven::Parselet::Share
- Reference
- Object
Overview
A parser that is invoked by a left-denotated word.
Left denotation is when something to the left of the current word assigns meaning to the current word itself.
Direct Known Subclasses
- Ven::Parselet::PAccessField
- Ven::Parselet::PAssign
- Ven::Parselet::PBinary
- Ven::Parselet::PCall
- Ven::Parselet::PDies
- Ven::Parselet::PIntoBool
- Ven::Parselet::PReturnDecrement
- Ven::Parselet::PReturnIncrement
Defined in:
ven/parselet/led.crInstance Method Summary
-
#parse(tag : QTag, left : Quote, token : Word)
Performs the parsing.
-
#parse!(parser : Ven::Reader, tag : QTag, left : Quote, token : Ven::Word)
Performs the parsing.
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
Performs the parsing.
All subclasses of Led
should implement this method.