Added scope package
This commit is contained in:
parent
fd66296826
commit
8e725da9c6
37 changed files with 416 additions and 371 deletions
13
src/build/scope/Variable.go
Normal file
13
src/build/scope/Variable.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package scope
|
||||
|
||||
import (
|
||||
"git.akyoto.dev/cli/q/src/build/cpu"
|
||||
)
|
||||
|
||||
// Variable represents a named register.
|
||||
type Variable struct {
|
||||
Scope *Scope
|
||||
Name string
|
||||
Register cpu.Register
|
||||
Alive int
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue