- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for typexpr (0.58 sec)
-
src/cmd/compile/internal/types2/api.go
func (tv TypeAndValue) IsVoid() bool { return tv.mode == novalue } // IsType reports whether the corresponding expression specifies a type. func (tv TypeAndValue) IsType() bool { return tv.mode == typexpr } // IsBuiltin reports whether the corresponding expression denotes // a (possibly parenthesized) built-in function. func (tv TypeAndValue) IsBuiltin() bool { return tv.mode == builtin }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/go/types/api.go
func (tv TypeAndValue) IsVoid() bool { return tv.mode == novalue } // IsType reports whether the corresponding expression specifies a type. func (tv TypeAndValue) IsType() bool { return tv.mode == typexpr } // IsBuiltin reports whether the corresponding expression denotes // a (possibly parenthesized) built-in function. func (tv TypeAndValue) IsBuiltin() bool { return tv.mode == builtin }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/decl.go
if i > 0 { s += "->" } s += p.Name() } return s } // objDecl type-checks the declaration of obj in its respective (file) environment. // For the meaning of def, see Checker.definedType, in typexpr.go. func (check *Checker) objDecl(obj Object, def *TypeName) { if check.conf.Trace && obj.Type() == nil { if check.indent == 0 { fmt.Println() // empty line between top-level objects for readability }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/go/types/stmt.go
switch x.mode { default: if kind == statement { return } msg = "is not used" code = UnusedExpr case builtin: msg = "must be called" code = UncalledBuiltin case typexpr: msg = "is not an expression" code = NotAnExpr } check.errorf(&x, code, "%s %s", &x, msg) case *ast.SendStmt: var ch, val operand check.expr(nil, &ch, s.Chan)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
switch x.mode { default: if kind == statement { return } msg = "is not used" code = UnusedExpr case builtin: msg = "must be called" code = UncalledBuiltin case typexpr: msg = "is not an expression" code = NotAnExpr } check.errorf(&x, code, "%s %s", &x, msg) case *syntax.SendStmt: var ch, val operand check.expr(nil, &ch, s.Chan)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0) -
src/go/types/decl.go
if i > 0 { s += "->" } s += p.Name() } return s } // objDecl type-checks the declaration of obj in its respective (file) environment. // For the meaning of def, see Checker.definedType, in typexpr.go. func (check *Checker) objDecl(obj Object, def *TypeName) { if check.conf._Trace && obj.Type() == nil { if check.indent == 0 { fmt.Println() // empty line between top-level objects for readability }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableInlineFunctionExpressionParameter.ir.txt
MODULE_FRAGMENT FILE fqName:<root> fileName:main.kt FUN name:AuthorAndReadTime visibility:public modality:FINAL <> (b:p2.B) returnType:kotlin.Unit VALUE_PARAMETER name:b index:0 type:p2.B BLOCK_BODY CALL 'public final fun Row (a: p2.A, content: @[MyComposable] @[ExtensionFunctionType] kotlin.Function1<p3.RowScope, kotlin.Unit>): kotlin.Unit [inline] declared in p3' type=kotlin.Unit origin=null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Mar 14 20:08:24 UTC 2024 - 1.1K bytes - Viewed (0) -
src/vendor/golang.org/x/net/dns/dnsmessage/message.go
TypeCNAME: "TypeCNAME", TypeSOA: "TypeSOA", TypePTR: "TypePTR", TypeMX: "TypeMX", TypeTXT: "TypeTXT", TypeAAAA: "TypeAAAA", TypeSRV: "TypeSRV", TypeOPT: "TypeOPT", TypeWKS: "TypeWKS", TypeHINFO: "TypeHINFO", TypeMINFO: "TypeMINFO", TypeAXFR: "TypeAXFR", TypeALL: "TypeALL", } // String implements fmt.Stringer.String. func (t Type) String() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 69K bytes - Viewed (0) -
src/reflect/type_test.go
) testcases := []struct { wantFrom any got reflect.Type }{ {new(int), reflect.TypeFor[int]()}, {new(int64), reflect.TypeFor[int64]()}, {new(string), reflect.TypeFor[string]()}, {new(mystring), reflect.TypeFor[mystring]()}, {new(any), reflect.TypeFor[any]()}, {new(myiface), reflect.TypeFor[myiface]()}, } for _, tc := range testcases { want := reflect.ValueOf(tc.wantFrom).Elem().Type()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 4.2K bytes - Viewed (0)