Value returns the constant value associated with the declaration.
()
| 1172 | |
| 1173 | // Value returns the constant value associated with the declaration. |
| 1174 | func (v *VariableDecl) Value() ref.Val { |
| 1175 | if v == nil { |
| 1176 | return nil |
| 1177 | } |
| 1178 | return v.value |
| 1179 | } |
| 1180 | |
| 1181 | // DeclarationIsEquivalent returns true if one variable declaration has the same name and same type as the input. |
| 1182 | func (v *VariableDecl) DeclarationIsEquivalent(other *VariableDecl) bool { |
no outgoing calls