MCPcopy
hub / github.com/uber/aresdb / NumberLiteral

Struct NumberLiteral

query/expr/ast.go:302–307  ·  view source on GitHub ↗

NumberLiteral represents a numeric literal.

Source from the content-addressed store, hash-verified

300
301// NumberLiteral represents a numeric literal.
302type NumberLiteral struct {
303 Val float64
304 Int int
305 Expr string
306 ExprType Type
307}
308
309// Type returns the type.
310func (l *NumberLiteral) Type() Type {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected