- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for operandString (0.22 sec)
-
src/cmd/compile/internal/types2/format.go
for i, arg := range args { switch a := arg.(type) { case nil: arg = "<nil>" case operand: panic("got operand instead of *operand") case *operand: arg = operandString(a, qf) case syntax.Pos: arg = a.String() case syntax.Expr: arg = ExprString(a) case []syntax.Expr: var buf strings.Builder buf.WriteByte('[') for i, x := range a { if i > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
src/go/types/operand.go
// commaerr <expr> ( <mode> of type <typ>) // // cgofunc <expr> (<untyped kind> <mode> ) // cgofunc <expr> ( <mode> of type <typ>) func operandString(x *operand, qf Qualifier) string { // special-case nil if isTypes2 { if x.mode == nilvalue { switch x.typ { case nil, Typ[Invalid]: return "nil (with invalid type)" case Typ[UntypedNil]:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11.1K bytes - Viewed (0) -
src/go/types/format.go
for i, arg := range args { switch a := arg.(type) { case nil: arg = "<nil>" case operand: panic("got operand instead of *operand") case *operand: arg = operandString(a, qf) case token.Pos: if fset != nil { arg = fset.Position(a).String() } case ast.Expr: arg = ExprString(a) case []ast.Expr: var buf bytes.Buffer buf.WriteByte('[')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/operand.go
// commaerr <expr> ( <mode> of type <typ>) // // cgofunc <expr> (<untyped kind> <mode> ) // cgofunc <expr> ( <mode> of type <typ>) func operandString(x *operand, qf Qualifier) string { // special-case nil if isTypes2 { if x.mode == nilvalue { switch x.typ { case nil, Typ[Invalid]: return "nil (with invalid type)" case Typ[UntypedNil]:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11K bytes - Viewed (0)