Commit 1f954e5c authored by David Symonds's avatar David Symonds

go/ast: improve doc for FuncDecl's Type field.

R=gri, r
CC=golang-dev
https://golang.org/cl/10679047
parent e5551725
...@@ -920,7 +920,7 @@ type ( ...@@ -920,7 +920,7 @@ type (
Doc *CommentGroup // associated documentation; or nil Doc *CommentGroup // associated documentation; or nil
Recv *FieldList // receiver (methods); or nil (functions) Recv *FieldList // receiver (methods); or nil (functions)
Name *Ident // function/method name Name *Ident // function/method name
Type *FuncType // position of Func keyword, parameters and results Type *FuncType // function signature: parameters, results, and position of "func" keyword
Body *BlockStmt // function body; or nil (forward declaration) Body *BlockStmt // function body; or nil (forward declaration)
} }
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment