Simplified code
This commit is contained in:
parent
abba962455
commit
eeee4d5496
30 changed files with 105 additions and 69 deletions
|
@ -2,13 +2,13 @@ package core
|
|||
|
||||
import (
|
||||
"git.akyoto.dev/cli/q/src/build/fs"
|
||||
"git.akyoto.dev/cli/q/src/build/register"
|
||||
"git.akyoto.dev/cli/q/src/build/token"
|
||||
"git.akyoto.dev/cli/q/src/build/z"
|
||||
)
|
||||
|
||||
// Function represents the smallest unit of code.
|
||||
type Function struct {
|
||||
z.Compiler
|
||||
register.Machine
|
||||
Name string
|
||||
File *fs.File
|
||||
Body []token.Token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue