VariableDecl defines a variable declaration which may optionally have a constant value.
| 1041 | |
| 1042 | // VariableDecl defines a variable declaration which may optionally have a constant value. |
| 1043 | type VariableDecl struct { |
| 1044 | name string |
| 1045 | doc string |
| 1046 | varType *types.Type |
| 1047 | value ref.Val |
| 1048 | } |
| 1049 | |
| 1050 | // Documentation returns name, type, and description for the variable. |
| 1051 | func (v *VariableDecl) Documentation() *common.Doc { |
nothing calls this directly
no outgoing calls
no test coverage detected