Implemented constant folding
This commit is contained in:
@ -12,6 +12,8 @@ type Expression struct {
|
||||
Children []*Expression
|
||||
Token token.Token
|
||||
Precedence int8
|
||||
Value int
|
||||
IsFolded bool
|
||||
}
|
||||
|
||||
// New creates a new expression.
|
||||
|
Reference in New Issue
Block a user