MCPcopy Create free account
hub / github.com/CloudyKit/jet / expression

Method expression

parse.go:712–719  ·  view source on GitHub ↗
(context, as string)

Source from the content-addressed store, hash-verified

710}
711
712func (t *Template) expression(context, as string) Expression {
713 expr, tk := t.parseExpression(context)
714 if expr == nil {
715 t.unexpected(tk, context, as)
716 }
717 t.backup()
718 return expr
719}
720
721func (t *Template) pipeline(context string, baseExprMutate Expression) (pipe *PipeNode) {
722 pos := t.peekNonSpace().pos

Callers 9

parseBlockMethod · 0.95
parseYieldMethod · 0.95
parseIncludeMethod · 0.95
parseReturnMethod · 0.95
actionMethod · 0.95
commandMethod · 0.95
operandMethod · 0.95
parseControlMethod · 0.95
termMethod · 0.95

Calls 3

parseExpressionMethod · 0.95
unexpectedMethod · 0.95
backupMethod · 0.95

Tested by

no test coverage detected