Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 282 for fileset (0.16 sec)

  1. src/cmd/gofmt/rewrite.go

    /*
    func dump(msg string, val reflect.Value) {
    	fmt.Printf("%s:\n", msg)
    	ast.Print(fileSet, val.Interface())
    	fmt.Println()
    }
    */
    
    // rewriteFile applies the rewrite rule 'pattern -> replace' to an entire file.
    func rewriteFile(fileSet *token.FileSet, pattern, replace ast.Expr, p *ast.File) *ast.File {
    	cmap := ast.NewCommentMap(fileSet, p, p.Comments)
    	m := make(map[string]reflect.Value)
    	pat := reflect.ValueOf(pattern)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. src/go/parser/interface.go

    // are returned via a scanner.ErrorList which is sorted by source position.
    func ParseFile(fset *token.FileSet, filename string, src any, mode Mode) (f *ast.File, err error) {
    	if fset == nil {
    		panic("parser.ParseFile: no token.FileSet provided (fset == nil)")
    	}
    
    	// get source
    	text, err := readSource(filename, src)
    	if err != nil {
    		return nil, err
    	}
    
    	var p parser
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

        }
    
        void applyGroovyFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
            fileSet.each {
                file("src/main/groovy/${it.replace('.changed', '').replace('.failure', '') + (it.startsWith('J') ? '.java' : '.groovy')}").text = SOURCES[it]
            }
        }
    
        void applyMixFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/build.gradle

            ant.pmd(shortFilenames: 'true',
                    failonruleviolation: 'true',
                    rulesetfiles: file('pmd-rules.xml').toURI().toString()) {
                formatter(type: 'text', toConsole: 'true')
                fileset(dir: 'src')
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 697 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/build.gradle.kts

                      "failonruleviolation" to true,
                      "rulesetfiles" to file("pmd-rules.xml").toURI().toString()) {
                    "formatter"("type" to "text", "toConsole" to "true")
                    "fileset"("dir" to "src")
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 800 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/ant/taskWithNestedElements/kotlin/build.gradle.kts

    tasks.register("zip") {
        doLast {
            ant.withGroovyBuilder {
                "zip"("destfile" to "archive.zip") {
                    "fileset"("dir" to "src") {
                        "include"("name" to "**.xml")
                        "exclude"("name" to "**.java")
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 313 bytes
    - Viewed (0)
  7. plugin.xml

    			<patternset>
    				<include name="**" />
    			</patternset>
    			<cutdirsmapper dirs="1" />
    		</unzip>
    	</target>
    
    	<target name="remove.jars" if="with.fess">
    		<delete>
    			<fileset dir="${plugins.dir}">
    				<include name="configsync/commons-codec-*" />
    				<include name="dataformat/commons-codec-*" />
    				<include name="dataformat/commons-collections4-*" />
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 16 07:10:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    	"go/ast"
    	"go/format"
    	"go/token"
    )
    
    // A CFG represents the control-flow graph of a single function.
    //
    // The entry point is Blocks[0]; there may be multiple return blocks.
    type CFG struct {
    	fset   *token.FileSet
    	Blocks []*Block // block[0] is entry; order otherwise undefined
    }
    
    // A Block represents a basic block: a list of statements and
    // expressions that are always evaluated sequentially.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/go/types/eval.go

    func CheckExpr(fset *token.FileSet, pkg *Package, pos token.Pos, expr ast.Expr, info *Info) (err error) {
    	// determine scope
    	var scope *Scope
    	if pkg == nil {
    		scope = Universe
    		pos = nopos
    	} else if !pos.IsValid() {
    		scope = pkg.scope
    	} else {
    		// The package scope extent (position information) may be
    		// incorrect (files spread across a wide range of fset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/go/parser/error_test.go

    // This file implements a parser test harness. The files in the testdata
    // directory are parsed and the errors reported are compared against the
    // error messages expected in the test files. The test files must end in
    // .src rather than .go so that they are not disturbed by gofmt runs.
    //
    // Expected errors are indicated in the test files by putting a comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 5.9K bytes
    - Viewed (0)
Back to top