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