Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsGenerated (0.17 sec)

  1. src/go/ast/ast.go

    // Example:
    //
    //	f, err := parser.ParseFile(fset, filename, src, parser.ParseComments|parser.PackageClauseOnly)
    //	if err != nil { ... }
    //	gen := ast.IsGenerated(f)
    func IsGenerated(file *File) bool {
    	_, ok := generator(file)
    	return ok
    }
    
    func generator(file *File) (string, bool) {
    	for _, group := range file.Comments {
    		for _, comment := range group.List {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  2. api/go1.21.txt

    pkg errors, var ErrUnsupported error #41198
    pkg flag, func BoolFunc(string, string, func(string) error) #53747
    pkg flag, method (*FlagSet) BoolFunc(string, string, func(string) error) #53747
    pkg go/ast, func IsGenerated(*File) bool #28089
    pkg go/ast, func NewPackage //deprecated #52463
    pkg go/ast, type File struct, GoVersion string #59033
    pkg go/ast, type Importer //deprecated #52463
    pkg go/ast, type Object //deprecated #52463
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc

    The `getGeneratedSourceDirectories()` and `getGeneratedTestDirectories()` methods are removed from the `IdeaContentRoot` interface.
    Clients should replace these invocations with `getSourceDirectories()` and `getTestDirectories()` and use the `isGenerated()` method on the returned instances.
    
    [[locking_single]]
    === Dependency locking now defaults to a single file per project
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top