(value interface{})
| 24 | } |
| 25 | |
| 26 | func (l *LeftValue) SetValue(value interface{}) { |
| 27 | l.object.SetValue(l.variable, value) |
| 28 | |
| 29 | // variable 是函数类型 |
| 30 | funcObject, ok := value.(*stack.FuncObject) |
| 31 | if ok { |
| 32 | funcObject.SetReferenceVariable(l.variable) |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | func (l *LeftValue) GetVariable() *symbol.Variable { |
| 37 | return l.variable |
nothing calls this directly
no test coverage detected