optimizations
This commit is contained in:
@@ -11,6 +11,7 @@ type Type int
|
||||
const (
|
||||
NullType = iota
|
||||
IntegerType
|
||||
FloatType
|
||||
StringType
|
||||
BooleanType
|
||||
ReturnType
|
||||
@@ -30,6 +31,8 @@ func (t Type) String() string {
|
||||
return "null"
|
||||
case IntegerType:
|
||||
return "int"
|
||||
case FloatType:
|
||||
return "float"
|
||||
case StringType:
|
||||
return "str"
|
||||
case BooleanType:
|
||||
|
||||
Reference in New Issue
Block a user