MCPcopy
hub / github.com/livebud/bud / p

Function p

package/svelte/compiler.js:6949–6959  ·  view source on GitHub ↗
(strings, ...values)

Source from the content-addressed store, hash-verified

6947 }
6948 }
6949 function p(strings, ...values) {
6950 const str = `{${join$1(strings)}}`;
6951 const comments = [];
6952 try {
6953 let expression2 = parseExpressionAt2(str, 0, acorn_opts(comments, str));
6954 expression2 = inject(str, expression2, values, comments);
6955 return expression2.properties[0];
6956 } catch (err) {
6957 handle_error(str, err);
6958 }
6959 }
6960 function handle_error(str, err) {
6961 re.lastIndex = 0;
6962 str = str.replace(re, (m, i, at2, hash2, name) => {

Callers 8

renderMethod · 0.85
get_claim_statementMethod · 0.85
get_slot_definitionFunction · 0.85
get_slot_dataFunction · 0.85
domFunction · 0.85
DebugTag$1Function · 0.85
Element$1Function · 0.85
InlineComponent$1Function · 0.85

Calls 5

join$1Function · 0.85
parseExpressionAt2Function · 0.85
acorn_optsFunction · 0.85
injectFunction · 0.85
handle_errorFunction · 0.85

Tested by

no test coverage detected