Implemented expression parsing
This commit is contained in:
parent
1b99722cd8
commit
0ed071a7ee
18 changed files with 618 additions and 99 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue