NewLiteral implements the ExprHelper interface method.
(value ref.Val)
| 409 | |
| 410 | // NewLiteral implements the ExprHelper interface method. |
| 411 | func (e *exprHelper) NewLiteral(value ref.Val) ast.Expr { |
| 412 | return e.exprFactory.NewLiteral(e.nextMacroID(), value) |
| 413 | } |
| 414 | |
| 415 | // NewList implements the ExprHelper interface method. |
| 416 | func (e *exprHelper) NewList(elems ...ast.Expr) ast.Expr { |
nothing calls this directly
no test coverage detected