Implemented numeric constants

This commit is contained in:
Eduard Urbach 2024-06-14 11:48:28 +02:00
parent f603c3a479
commit 3da77d22d7
Signed by: eduard
GPG key ID: 49226B848C78F6C8
7 changed files with 59 additions and 9 deletions

9
src/build/Variable.go Normal file
View file

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