- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UnaryPrec (0.18 sec)
-
src/go/token/token.go
// precedence serves as "catch-all" precedence for selector, // indexing, and other operator and delimiter tokens. const ( LowestPrec = 0 // non-operators UnaryPrec = 6 HighestPrec = 7 ) // Precedence returns the operator precedence of the binary // operator op. If op is not a binary operator, the result // is LowestPrecedence. func (op Token) Precedence() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 6.4K bytes - Viewed (0) -
src/go/printer/nodes.go
p.expr(x.Value) case *ast.StarExpr: const prec = token.UnaryPrec if prec < prec1 { // parenthesis needed p.print(token.LPAREN) p.print(token.MUL) p.expr(x.X) p.print(token.RPAREN) } else { // no parenthesis needed p.print(token.MUL) p.expr(x.X) } case *ast.UnaryExpr: const prec = token.UnaryPrec if prec < prec1 { // parenthesis needed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"STRING", Const, 0}, {"STRUCT", Const, 0}, {"SUB", Const, 0}, {"SUB_ASSIGN", Const, 0}, {"SWITCH", Const, 0}, {"TILDE", Const, 18}, {"TYPE", Const, 0}, {"Token", Type, 0}, {"UnaryPrec", Const, 0}, {"VAR", Const, 0}, {"XOR", Const, 0}, {"XOR_ASSIGN", Const, 0}, }, "go/types": { {"(*Alias).Obj", Method, 22}, {"(*Alias).String", Method, 22},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg go/token, const STRUCT Token pkg go/token, const SUB Token pkg go/token, const SUB_ASSIGN Token pkg go/token, const SWITCH Token pkg go/token, const TYPE Token pkg go/token, const UnaryPrec ideal-int pkg go/token, const VAR Token pkg go/token, const XOR Token pkg go/token, const XOR_ASSIGN Token pkg go/token, func Lookup(string) Token pkg go/token, func NewFileSet() *FileSet
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg go/token, const STRING = 9 pkg go/token, const STRUCT = 82 pkg go/token, const SUB = 13 pkg go/token, const SUB_ASSIGN = 24 pkg go/token, const SWITCH = 83 pkg go/token, const TYPE = 84 pkg go/token, const UnaryPrec = 6 pkg go/token, const VAR = 85 pkg go/token, const XOR = 19 pkg go/token, const XOR_ASSIGN = 30 pkg hash/adler32, const Size = 4 pkg hash/crc32, const Castagnoli = 2197175160
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)