()
| 99 | } |
| 100 | |
| 101 | func (self *ValueStack) PopAsStruct() (*types.StructValue, error) { |
| 102 | val, err := self.Pop() |
| 103 | if err != nil { |
| 104 | return nil, err |
| 105 | } |
| 106 | return val.AsStructValue() |
| 107 | } |
| 108 | |
| 109 | func (self *ValueStack) PushAsInteropValue(val interfaces.Interop) error { |
| 110 | return self.Push(types.VmValueFromInteropValue(types.NewInteropValue(val))) |
nothing calls this directly
no test coverage detected