Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PlusBuildLines (0.18 sec)

  1. src/go/printer/gobuild.go

    		block = append(block, "//go:build "...)
    		block = append(block, x.String()...)
    		block = append(block, tabwriter.Escape, '\n')
    		if len(p.plusBuild) > 0 {
    			lines, err := constraint.PlusBuildLines(x)
    			if err != nil {
    				lines = []string{"// +build error: " + err.Error()}
    			}
    			for _, line := range lines {
    				block = append(block, tabwriter.Escape)
    				block = append(block, line...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    		return
    	}
    
    	// Have both //go:build and // +build,
    	// with no errors found (crossCheck still true).
    	// Check they match.
    	var want constraint.Expr
    	lines, err := constraint.PlusBuildLines(check.goBuild)
    	if err != nil {
    		check.pass.Reportf(check.goBuildPos, "%v", err)
    		return
    	}
    	for _, line := range lines {
    		y, err := constraint.Parse(line)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"IsPlusBuild", Func, 16},
    		{"NotExpr", Type, 16},
    		{"NotExpr.X", Field, 16},
    		{"OrExpr", Type, 16},
    		{"OrExpr.X", Field, 16},
    		{"OrExpr.Y", Field, 16},
    		{"Parse", Func, 16},
    		{"PlusBuildLines", Func, 16},
    		{"SyntaxError", Type, 16},
    		{"SyntaxError.Err", Field, 16},
    		{"SyntaxError.Offset", Field, 16},
    		{"TagExpr", Type, 16},
    		{"TagExpr.Tag", Field, 16},
    	},
    	"go/constant": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top