Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsGenerated (0.14 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. 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