Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 282 for fileset (0.1 sec)

  1. 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)
  2. 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)
  3. src/go/format/example_test.go

    	const expr = "(6+2*3)/4"
    
    	// parser.ParseExpr parses the argument and returns the
    	// corresponding ast.Node.
    	node, err := parser.ParseExpr(expr)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// Create a FileSet for node. Since the node does not come
    	// from a real source file, fset will be empty.
    	fset := token.NewFileSet()
    
    	var buf bytes.Buffer
    	err = format.Node(&buf, fset, node)
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 19 17:49:53 UTC 2018
    - 753 bytes
    - Viewed (0)
  4. src/go/types/format.go

    // This file implements (error and trace) message formatting support.
    
    package types
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/token"
    	"strconv"
    	"strings"
    )
    
    func sprintf(fset *token.FileSet, qf Qualifier, tpSubscripts bool, format string, args ...any) string {
    	for i, arg := range args {
    		switch a := arg.(type) {
    		case nil:
    			arg = "<nil>"
    		case operand:
    			panic("got operand instead of *operand")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/gofmt/gofmt.go

    		return err
    	}
    
    	fileSet := token.NewFileSet()
    	// If we are formatting stdin, we accept a program fragment in lieu of a
    	// complete source file.
    	fragmentOk := info == nil
    	file, sourceAdj, indentAdj, err := parse(fileSet, filename, src, fragmentOk)
    	if err != nil {
    		return err
    	}
    
    	if rewrite != nil {
    		if sourceAdj == nil {
    			file = rewrite(fileSet, file)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. src/go/ast/import.go

    	"slices"
    	"strconv"
    )
    
    // SortImports sorts runs of consecutive import lines in import blocks in f.
    // It also removes duplicate imports when it is possible to do so without data loss.
    func SortImports(fset *token.FileSet, f *File) {
    	for _, d := range f.Decls {
    		d, ok := d.(*GenDecl)
    		if !ok || d.Tok != token.IMPORT {
    			// Not an import declaration, so we're done.
    			// Imports are always first.
    			break
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy

                                option(name: 'outputFile', value: r.outputLocation.asFile.get())
                            }
                        }
                    }
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (!compilationClasspath.empty) {
                        compilationClasspath.addToAntBuilder(ant, 'classpath')
                    }
                }
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 14:00:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. module.xml

    	<target name="remove.jars" if="with.fess">
    		<delete>
    			<fileset dir="${modules.dir}">
    				<include name="lang-expression/asm-*" />
    				<include name="lang-painless/asm-*" />
    				<include name="reindex/commons-codec-*" />
    				<include name="reindex/commons-logging-*" />
    				<include name="reindex/httpclient-*" />
    				<include name="reindex/httpcore-4*" />
    			</fileset>
    		</delete>
    	</target>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 16 07:10:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/internal/aliases"
    	"golang.org/x/tools/internal/analysisinternal"
    )
    
    // Format returns a string representation of the expression.
    func Format(fset *token.FileSet, x ast.Expr) string {
    	var b bytes.Buffer
    	printer.Fprint(&b, fset, x)
    	return b.String()
    }
    
    // HasSideEffects reports whether evaluation of e has side effects.
    func HasSideEffects(info *types.Info, e ast.Expr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    func DeleteImport(fset *token.FileSet, f *ast.File, path string) (deleted bool) {
    	return DeleteNamedImport(fset, f, "", path)
    }
    
    // DeleteNamedImport deletes the import with the given name and path from the file f, if present.
    // If there are duplicate import declarations, all matching ones are deleted.
    func DeleteNamedImport(fset *token.FileSet, f *ast.File, name, path string) (deleted bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
Back to top