Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for fileText (0.28 sec)

  1. src/go/internal/gcimporter/ureader.go

    func (pr *pkgReader) later(fn func()) {
    	pr.laterFns = append(pr.laterFns, fn)
    }
    
    // readUnifiedPackage reads a package description from the given
    // unified IR export data decoder.
    func readUnifiedPackage(fset *token.FileSet, ctxt *types.Context, imports map[string]*types.Package, input pkgbits.PkgDecoder) *types.Package {
    	pr := pkgReader{
    		PkgDecoder: input,
    
    		fake: fakeFileSet{
    			fset:  fset,
    			files: make(map[string]*fileInfo),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_ant.adoc

    The chapter on <<ant#ant,Ant integration>> has examples that use both `<path>` and `<fileset>`.
    There is also link:{javadocPath}/org/gradle/api/file/FileCollection.html#addToAntBuilder-java.lang.Object-java.lang.String-org.gradle.api.file.FileCollection.AntType-[a method on `FileCollection`] that will convert a file collection to a fileset or similar Ant type.
    --
    
    [[migant:properties]]
    == Migrating Ant properties
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  3. src/cmd/doc/pkg.go

    	doc         *doc.Package
    	build       *build.Package
    	typedValue  map[*doc.Value]bool // Consts and vars related to types.
    	constructor map[*doc.Func]bool  // Constructors.
    	fs          *token.FileSet      // Needed for printing.
    	buf         pkgBuffer
    }
    
    func (pkg *Package) ToText(w io.Writer, text, prefix, codePrefix string) {
    	d := pkg.doc.Parser().Parse(text)
    	pr := pkg.doc.Printer()
    	pr.TextPrefix = prefix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. src/go/types/issues_test.go

    	const w = 1        // defs w
            x, y := 2, 3       // defs x, y
            w, x, z := 4, 5, 6 // uses w, x, defs z; error: cannot assign to w
            _, _, _ = x, y, z  // uses x, y, z
    }
    `
    	// We need a specific fileset in this test below for positions.
    	// Cannot use typecheck helper.
    	fset := token.NewFileSet()
    	f := mustParse(fset, src)
    
    	const want = `L3 defs func p._()
    L4 defs const w untyped int
    L5 defs var x int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/cmd/cover/cover.go

    	counterVar string
    }
    
    // File is a wrapper for the state of a file used in the parser.
    // The basic parse tree walker is a method of this type.
    type File struct {
    	fset    *token.FileSet
    	name    string // Name of file.
    	astFile *ast.File
    	blocks  []Block
    	content []byte
    	edit    *edit.Buffer
    	mdb     *encodemeta.CoverageMetaDataBuilder
    	fn      Func
    	pkg     *Package
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top