1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-03-23 21:51:08 +02:00

16 lines
304 B
Go
Raw Normal View History

2018-09-18 16:42:38 -04:00
package literals
import (
"context"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
)
type noneLiteral struct{}
var None = &noneLiteral{}
2018-10-05 17:20:48 -04:00
func (l noneLiteral) Exec(_ context.Context, _ *core.Scope) (core.Value, error) {
2018-09-18 16:42:38 -04:00
return values.None, nil
}