Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FST (0.02 sec)

  1. src/cmd/compile/internal/types2/decl.go

    // source position in path. path must not be empty.
    func firstInSrc(path []Object) int {
    	fst, pos := 0, path[0].Pos()
    	for i, t := range path[1:] {
    		if cmpPos(t.Pos(), pos) < 0 {
    			fst, pos = i+1, t.Pos()
    		}
    	}
    	return fst
    }
    
    func (check *Checker) constDecl(obj *Const, typ, init syntax.Expr, inherited bool) {
    	assert(obj.typ == nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. src/go/types/decl.go

    // source position in path. path must not be empty.
    func firstInSrc(path []Object) int {
    	fst, pos := 0, path[0].Pos()
    	for i, t := range path[1:] {
    		if cmpPos(t.Pos(), pos) < 0 {
    			fst, pos = i+1, t.Pos()
    		}
    	}
    	return fst
    }
    
    type (
    	decl interface {
    		node() ast.Node
    	}
    
    	importDecl struct{ spec *ast.ImportSpec }
    	constDecl  struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top