Eval evaluates the left-hand side optional to determine whether it contains a value, else proceeds with the right-hand side evaluation.
(ctx interpreter.Activation)
| 821 | // Eval evaluates the left-hand side optional to determine whether it contains a value, else |
| 822 | // proceeds with the right-hand side evaluation. |
| 823 | func (opt *evalOptionalOrValue) Eval(ctx interpreter.Activation) ref.Val { |
| 824 | return opt.Exec(interpreter.AsFrame(ctx)) |
| 825 | } |
| 826 | |
| 827 | type timeLegacyLibrary struct{} |
| 828 |