VariableDecl defines a variable declaration which may optionally have a constant value.
| 1031 | |
| 1032 | // VariableDecl defines a variable declaration which may optionally have a constant value. |
| 1033 | type VariableDecl struct { |
| 1034 | name string |
| 1035 | doc string |
| 1036 | varType *types.Type |
| 1037 | value ref.Val |
| 1038 | } |
| 1039 | |
| 1040 | // Documentation returns name, type, and description for the variable. |
| 1041 | func (v *VariableDecl) Documentation() *common.Doc { |
nothing calls this directly
no outgoing calls
no test coverage detected