This commit is contained in:
parent
ba2314db4a
commit
b77d876ebb
11 changed files with 36 additions and 37 deletions
|
@ -1,29 +1,16 @@
|
|||
package ssa
|
||||
|
||||
import (
|
||||
"git.urbach.dev/cli/q/src/token"
|
||||
"git.urbach.dev/cli/q/src/types"
|
||||
)
|
||||
|
||||
type Value interface {
|
||||
// Essentials
|
||||
Debug(bool) string
|
||||
Dependencies() []Value
|
||||
Equals(Value) bool
|
||||
ID() int
|
||||
IsConst() bool
|
||||
SetID(int)
|
||||
String() string
|
||||
Type() types.Type
|
||||
|
||||
// Arguments
|
||||
Dependencies() []Value
|
||||
Equals(Value) bool
|
||||
|
||||
// Liveness
|
||||
AddUser(Value)
|
||||
CountUsers() int
|
||||
|
||||
// Source
|
||||
SetSource(token.List)
|
||||
Start() token.Position
|
||||
End() token.Position
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue