mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: add doc comment to the parseFiles function
Change-Id: Ifa14557ba834865602c207297ccf0c63e93feb4c Reviewed-on: https://go-review.googlesource.com/117695 Run-TryBot: Yury Smolsky <yury@smolsky.by> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
bb222cde10
commit
e411bd706d
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ import (
|
|||
"cmd/internal/src"
|
||||
)
|
||||
|
||||
// parseFiles concurrently parses files into *syntax.File structures.
|
||||
// Each declaration in every *syntax.File is converted to a syntax tree
|
||||
// and its root represented by *Node is appended to xtop.
|
||||
// Returns the total count of parsed lines.
|
||||
func parseFiles(filenames []string) uint {
|
||||
var noders []*noder
|
||||
// Limit the number of simultaneously open files.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue