MCPcopy
hub / github.com/handlebars-lang/handlebars.js / parse

Function parse

lib/handlebars/compiler/base.js:33–38  ·  view source on GitHub ↗
(input, options)

Source from the content-addressed store, hash-verified

31}
32
33export function parse(input, options) {
34 let ast = parseWithoutProcessing(input, options);
35 let strip = new WhitespaceControl(options);
36
37 return strip.accept(ast);
38}
39
40function validateInputAst(ast) {
41 validateAstNode(ast);

Callers

nothing calls this directly

Calls 2

parseWithoutProcessingFunction · 0.85
acceptMethod · 0.80

Tested by

no test coverage detected