class Pratt::OperatorExpression
- Pratt::OperatorExpression
- Reference
- Object
Overview
A binary arithmetic expression like "a + b" or "c ^ d".
Included Modules
Defined in:
expressions/operator_expression.crConstructors
Instance Method Summary
-
#print : String
Pretty-print the expression to a string.
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
Instance Method Detail
def print : String
#
Description copied from module Pratt::Expression
Pretty-print the expression to a string. */