go/token.Token.Precedence (method)
9 uses
go/token (current package)
token.go#L263: func (op Token) Precedence() int {
go/parser
parser.go#L1602: return tok, tok.Precedence()
go/printer
nodes.go#L573: switch e.Op.Precedence() {
nodes.go#L582: if l.Op.Precedence() < e.Op.Precedence() {
nodes.go#L597: if r.Op.Precedence() <= e.Op.Precedence() {
nodes.go#L646: if !ok || prec != x.Op.Precedence() {
nodes.go#L697: prec := x.Op.Precedence()
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |