VariableDecl defines a variable declaration which may optionally have a constant value.
| 1129 | |
| 1130 | // VariableDecl defines a variable declaration which may optionally have a constant value. |
| 1131 | type VariableDecl struct { |
| 1132 | name string |
| 1133 | doc string |
| 1134 | varType *types.Type |
| 1135 | value ref.Val |
| 1136 | } |
| 1137 | |
| 1138 | // Documentation returns name, type, and description for the variable. |
| 1139 | func (v *VariableDecl) Documentation() *common.Doc { |
nothing calls this directly
no outgoing calls
no test coverage detected