MCPcopy Create free account
hub / github.com/cel-expr/cel-go / VariableDecl

Struct VariableDecl

common/decls/decls.go:947–952  ·  view source on GitHub ↗

VariableDecl defines a variable declaration which may optionally have a constant value.

Source from the content-addressed store, hash-verified

945
946// VariableDecl defines a variable declaration which may optionally have a constant value.
947type VariableDecl struct {
948 name string
949 doc string
950 varType *types.Type
951 value ref.Val
952}
953
954// Documentation returns name, type, and description for the variable.
955func (v *VariableDecl) Documentation() *common.Doc {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected