Implemented expression parsing

This commit is contained in:
Eduard Urbach 2024-06-16 16:57:33 +02:00
parent 1b99722cd8
commit 0ed071a7ee
Signed by: eduard
GPG key ID: 49226B848C78F6C8
18 changed files with 618 additions and 99 deletions

View file

@ -1,10 +1,10 @@
package build
import "git.akyoto.dev/cli/q/src/build/token"
import "git.akyoto.dev/cli/q/src/build/expression"
// Variable represents a variable in a function.
type Variable struct {
Name string
Value token.List
Value *expression.Expression
IsConst bool
}