Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for IsLiteral (0.13 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*FileSet).Write", Method, 0},
    		{"(*Position).IsValid", Method, 0},
    		{"(Pos).IsValid", Method, 0},
    		{"(Position).String", Method, 0},
    		{"(Token).IsKeyword", Method, 0},
    		{"(Token).IsLiteral", Method, 0},
    		{"(Token).IsOperator", Method, 0},
    		{"(Token).Precedence", Method, 0},
    		{"(Token).String", Method, 0},
    		{"ADD", Const, 0},
    		{"ADD_ASSIGN", Const, 0},
    		{"AND", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    			sz := l.sizeEstimate(*target)
    
    			// Worst case size is where is that a separator of "" is used, and each char is returned as a list element.
    			max := sz.Max
    			if len(args) > 1 {
    				if v := args[1].Expr().AsLiteral(); v != nil {
    					if i, ok := v.Value().(int64); ok {
    						max = uint64(i)
    					}
    				}
    			}
    			// Cost is the traversal plus the construction of the result.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	return l.goString(0, "")
    }
    
    func (l *Literal) goString(indent int, field string) string {
    	var neg string
    	if l.Neg {
    		neg = " Neg: true"
    	}
    	return fmt.Sprintf("%*s%sLiteral:%s\n%s\n%*sVal: %s", indent, "", field,
    		neg, l.Type.goString(indent+2, "Type: "),
    		indent+2, "", l.Val)
    }
    
    func (l *Literal) prec() precedence {
    	return precPrimary
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg go/token, method (*Position) IsValid() bool
    pkg go/token, method (Pos) IsValid() bool
    pkg go/token, method (Position) String() string
    pkg go/token, method (Token) IsKeyword() bool
    pkg go/token, method (Token) IsLiteral() bool
    pkg go/token, method (Token) IsOperator() bool
    pkg go/token, method (Token) Precedence() int
    pkg go/token, method (Token) String() string
    pkg go/token, type File struct
    pkg go/token, type FileSet struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top