struct Crystal::MathInterpreter
inherits Struct
¶
Interprets math expressions like 1 + 2 for enum values and constant values that are being used for the N of a StaticArray.
Class methods¶
.new(path_lookup : Type, visitor : SemanticVisitor? = nil, target_type : IntegerType? = nil)
¶
(path_lookup : Type, visitor : SemanticVisitor? = nil, target_type : IntegerType? = nil)