(ctx any, value ref.Val)
| 50 | } |
| 51 | |
| 52 | func (p *parserHelper) newLiteral(ctx any, value ref.Val) ast.Expr { |
| 53 | return p.exprFactory.NewLiteral(p.newID(ctx), value) |
| 54 | } |
| 55 | |
| 56 | func (p *parserHelper) newLiteralBool(ctx any, value bool) ast.Expr { |
| 57 | return p.newLiteral(ctx, types.Bool(value)) |
no test coverage detected