class Pratt::OperatorExpression

Overview

A binary arithmetic expression like "a + b" or "c ^ d".

Included Modules

Defined in:

expressions/operator_expression.cr

Constructors

Instance Method Summary

Instance methods inherited from module Pratt::TokenType

punctuator(token : Type) : Char | Nil punctuator

Instance methods inherited from module Pratt::Expression

print : String print

Constructor Detail

def self.new(m_left : Expression, m_operator : Type, m_right : Expression) #

[View source]

Instance Method Detail

def print : String #
Description copied from module Pratt::Expression

Pretty-print the expression to a string. */


[View source]