class Pratt::PrefixExpression
- Pratt::PrefixExpression
- Reference
- Object
Overview
A prefix unary arithmetic expression like "!a" or "-b".
Included Modules
Defined in:
expressions/prefix_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. */