Value returns the constant value associated with the declaration.
()
| 988 | |
| 989 | // Value returns the constant value associated with the declaration. |
| 990 | func (v *VariableDecl) Value() ref.Val { |
| 991 | if v == nil { |
| 992 | return nil |
| 993 | } |
| 994 | return v.value |
| 995 | } |
| 996 | |
| 997 | // DeclarationIsEquivalent returns true if one variable declaration has the same name and same type as the input. |
| 998 | func (v *VariableDecl) DeclarationIsEquivalent(other *VariableDecl) bool { |
no outgoing calls