VariableDecl defines a variable declaration which may optionally have a constant value.
| 945 | |
| 946 | // VariableDecl defines a variable declaration which may optionally have a constant value. |
| 947 | type 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. |
| 955 | func (v *VariableDecl) Documentation() *common.Doc { |
nothing calls this directly
no outgoing calls
no test coverage detected