Added scope package
This commit is contained in:
parent
fd66296826
commit
8e725da9c6
37 changed files with 416 additions and 371 deletions
12
src/build/scope/Scope.go
Normal file
12
src/build/scope/Scope.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package scope
|
||||
|
||||
import (
|
||||
"git.akyoto.dev/cli/q/src/build/cpu"
|
||||
)
|
||||
|
||||
// Scope represents an independent code block.
|
||||
type Scope struct {
|
||||
Variables map[string]*Variable
|
||||
InLoop bool
|
||||
cpu.State
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue