Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for fileText (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/go/types/eval.go

    //
    // The meaning of the parameters fset, pkg, and pos is the
    // same as in [CheckExpr]. An error is returned if expr cannot
    // be parsed successfully, or the resulting expr AST cannot be
    // type-checked.
    func Eval(fset *token.FileSet, pkg *Package, pos token.Pos, expr string) (_ TypeAndValue, err error) {
    	// parse expressions
    	node, err := parser.ParseExprFrom(fset, "eval", expr, 0)
    	if err != nil {
    		return TypeAndValue{}, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/go/parser/error_test.go

    // getFile assumes that each filename occurs at most once
    func getFile(fset *token.FileSet, filename string) (file *token.File) {
    	fset.Iterate(func(f *token.File) bool {
    		if f.Name() == filename {
    			if file != nil {
    				panic(filename + " used multiple times")
    			}
    			file = f
    		}
    		return true
    	})
    	return file
    }
    
    func getPos(fset *token.FileSet, filename string, offset int) token.Pos {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  9. src/go/ast/print.go

    // printed; all others are filtered from the output. Unexported
    // struct fields are never printed.
    func Fprint(w io.Writer, fset *token.FileSet, x any, f FieldFilter) error {
    	return fprint(w, fset, x, f)
    }
    
    func fprint(w io.Writer, fset *token.FileSet, x any, f FieldFilter) (err error) {
    	// setup printer
    	p := printer{
    		output: w,
    		fset:   fset,
    		filter: f,
    		ptrmap: make(map[any]int),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/ant/useAntType/groovy/build.gradle

    tasks.register('list') {
        doLast {
            def path = ant.path {
                fileset(dir: 'libs', includes: '*.jar')
            }
            path.list().each {
                println it
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 198 bytes
    - Viewed (0)
Back to top