class Ktistec::InfixOperator

Overview

An infix operator.

Defined in:

utils/parser.cr

Instance Method Summary

Instance methods inherited from class Ktistec::Node

clone clone, id : String id, lbp : Int32 lbp, led(parser : Parser, left : Node) : self led, nud(parser : Parser) : self nud, std(parser : Parser) : self std, token : Token token, token? : Token | Nil token?

Constructor methods inherited from class Ktistec::Node

new(id : String, lbp : Int32) new

Instance Method Detail

def led(parser : Parser, left : Node) : self #

Parses expression to the right. Captures expression to the left.


[View source]
def left : Node #

[View source]
def left? : Node | Nil #

[View source]
def right : Node #

[View source]
def right? : Node | Nil #

[View source]