MCPcopy
hub / github.com/livebud/bud / parseExpressionAt$1

Function parseExpressionAt$1

package/svelte/compiler.js:6980–6986  ·  view source on GitHub ↗
(source, index, opts)

Source from the content-addressed store, hash-verified

6978 return ast;
6979 };
6980 var parseExpressionAt$1 = (source, index, opts) => {
6981 const comments = [];
6982 const { onComment, enter, leave } = get_comment_handlers(comments, source);
6983 const ast = parseExpressionAt2(source, index, { onComment, ...opts });
6984 walk(ast, { enter, leave });
6985 return ast;
6986 };
6987 var parse$2 = (source) => parse$1(source, {
6988 sourceType: "module",
6989 ecmaVersion: 12,

Callers 1

parse_expression_atFunction · 0.85

Calls 3

get_comment_handlersFunction · 0.85
parseExpressionAt2Function · 0.85
walkFunction · 0.85

Tested by

no test coverage detected