- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ParamList (0.12 sec)
-
src/cmd/compile/internal/syntax/nodes_test.go
testPos(t, types, "package p; func f(", ")", func(f *File) Node { return f.DeclList[0].(*FuncDecl).Type.ParamList[0].Type }, ) testPos(t, fields, "package p; func f(", ")", func(f *File) Node { return f.DeclList[0].(*FuncDecl).Type.ParamList[0] }, ) testPos(t, stmts, "package p; func _() { ", "; }", func(f *File) Node { return f.DeclList[0].(*FuncDecl).Body.List[0] }, )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 18:45:06 UTC 2023 - 8.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/positions.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/walk.go
} } case *Field: if n.Name != nil { w.node(n.Name) } w.node(n.Type) case *InterfaceType: w.fieldList(n.MethodList) case *FuncType: w.fieldList(n.ParamList) w.fieldList(n.ResultList) case *MapType: w.node(n.Key) w.node(n.Value) case *ChanType: w.node(n.Elem) // statements case *EmptyStmt: // nothing to do
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:55:04 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/nodes.go
node } // interface { MethodList[0]; MethodList[1]; ... } InterfaceType struct { MethodList []*Field expr } FuncType struct { ParamList []*Field ResultList []*Field expr } // map[Key]Value MapType struct { Key, Value Expr expr } // chan Elem // <-chan Elem // chan<- Elem ChanType struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 9K bytes - Viewed (0)