MCPcopy
hub / github.com/google/mtail / VarDecl

Struct VarDecl

internal/runtime/compiler/ast/ast.go:206–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206type VarDecl struct {
207 P position.Position
208 Name string
209 Hidden bool
210 Keys []string
211 Limit int64
212 Buckets []float64
213 Kind metrics.Kind
214 ExportedName string
215 Symbol *symbol.Symbol
216}
217
218func (n *VarDecl) Pos() *position.Position {
219 return &n.P

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected