- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for identName (0.11 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/types.go
} func (rt *DeclTypeProvider) EnumValue(enumName string) ref.Val { return rt.typeProvider.EnumValue(enumName) } func (rt *DeclTypeProvider) FindIdent(identName string) (ref.Val, bool) { return rt.typeProvider.FindIdent(identName) } // EnvOptions returns a set of cel.EnvOption values which includes the declaration set // as well as a custom ref.TypeProvider. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
} } func (check *Checker) rangeStmt(inner stmtContext, s *syntax.ForStmt, rclause *syntax.RangeClause) { // Convert syntax form to local variables. type Expr = syntax.Expr type identType = syntax.Name identName := func(n *identType) string { return n.Value } sKey := rclause.Lhs // possibly nil var sValue, sExtra syntax.Expr if p, _ := sKey.(*syntax.ListExpr); p != nil { if len(p.ElemList) < 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0) -
src/go/types/stmt.go
} } func (check *Checker) rangeStmt(inner stmtContext, s *ast.RangeStmt) { // Convert go/ast form to local variables. type Expr = ast.Expr type identType = ast.Ident identName := func(n *identType) string { return n.Name } sKey, sValue := s.Key, s.Value var sExtra ast.Expr = nil // (used only in types2 fork) isDef := s.Tok == token.DEFINE rangeVar := s.X
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0)