Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assignComments (0.17 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    		in.order(&x.LParen)
    		for _, l := range x.Line {
    			in.order(l)
    		}
    		in.order(&x.RParen)
    	}
    	if x != nil {
    		in.post = append(in.post, x)
    	}
    }
    
    // assignComments attaches comments to nearby syntax.
    func (in *input) assignComments() {
    	const debug = false
    
    	// Generate preorder and postorder lists.
    	in.order(in.file)
    
    	// Split into whole-line comments and suffix comments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top