Improved instruction parser

This commit is contained in:
Eduard Urbach 2024-06-15 14:46:44 +02:00
parent a4ecaf0622
commit 78cde0d0bd
Signed by: eduard
GPG key ID: 49226B848C78F6C8
7 changed files with 114 additions and 54 deletions

View file

@ -4,6 +4,7 @@ import "git.akyoto.dev/cli/q/src/build/token"
// Variable represents a variable in a function.
type Variable struct {
Name string
Value token.List
IsConst bool
}