Documentation returns name, type, and description for the variable.
()
| 953 | |
| 954 | // Documentation returns name, type, and description for the variable. |
| 955 | func (v *VariableDecl) Documentation() *common.Doc { |
| 956 | if v == nil { |
| 957 | return nil |
| 958 | } |
| 959 | return common.NewVariableDoc(v.Name(), describeCELType(v.Type()), v.Description()) |
| 960 | } |
| 961 | |
| 962 | // Name returns the fully-qualified variable name |
| 963 | func (v *VariableDecl) Name() string { |