Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ScopeComment (0.57 sec)

  1. src/go/types/util_test.go

    // so that it can be used in (package-external) tests.
    
    package types
    
    import (
    	"go/token"
    )
    
    func CmpPos(p, q token.Pos) int { return cmpPos(p, q) }
    
    func ScopeComment(s *Scope) string        { return s.comment }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 626 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/util_test.go

    // so that it can be used in (package-external) tests.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    )
    
    func CmpPos(p, q syntax.Pos) int { return cmpPos(p, q) }
    
    func ScopeComment(s *Scope) string         { return s.comment }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 30 01:15:55 UTC 2023
    - 520 bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    					indent,
    					ScopeComment(s),
    					s.Pos(),
    					s.End(),
    					s.Names())
    				for i := range s.NumChildren() {
    					printScopeTree(indent+"  ", s.Child(i))
    				}
    			}
    			printScopeTree("", mainScope)
    
    			t.Errorf("%s: Scope(%s).LookupParent(%s@%v) got %v, want %v [scopePos=%v]",
    				fset.Position(id.Pos()),
    				ScopeComment(inner),
    				id.Name,
    				id.Pos(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api_test.go

    					indent,
    					ScopeComment(s),
    					s.Pos(),
    					s.End(),
    					s.Names())
    				for i := range s.NumChildren() {
    					printScopeTree(indent+"  ", s.Child(i))
    				}
    			}
    			printScopeTree("", mainScope)
    
    			t.Errorf("%s: Scope(%s).LookupParent(%s@%v) got %v, want %v [scopePos=%v]",
    				id.Pos(),
    				ScopeComment(inner),
    				id.Value,
    				id.Pos(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top