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

Method parseReturn

parse.go:473–477  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

471}
472
473func (t *Template) parseReturn() Node {
474 value := t.expression("return", "value")
475 t.expectRightDelim("return")
476 return t.newReturn(value.Position(), t.lex.lineNumber(), value)
477}
478
479// itemList:
480//

Callers 1

actionMethod · 0.95

Calls 5

expressionMethod · 0.95
expectRightDelimMethod · 0.95
newReturnMethod · 0.95
lineNumberMethod · 0.80
PositionMethod · 0.65

Tested by

no test coverage detected