Improved SSA and added unused value checks
All checks were successful
/ test (push) Successful in 17s
All checks were successful
/ test (push) Successful in 17s
This commit is contained in:
parent
cc2e98ca49
commit
2b703e9af2
25 changed files with 519 additions and 213 deletions
11
src/ssa/HasToken.go
Normal file
11
src/ssa/HasToken.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package ssa
|
||||
|
||||
import "git.urbach.dev/cli/q/src/token"
|
||||
|
||||
type HasToken struct {
|
||||
Source token.Token
|
||||
}
|
||||
|
||||
func (v *HasToken) Token() token.Token {
|
||||
return v.Source
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue