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

Method add

package/svelte/compiler.js:4872–4881  ·  view source on GitHub ↗
(value2)

Source from the content-addressed store, hash-verified

4870 }
4871 }
4872 add(value2) {
4873 const normalized_value = value2.toLowerCase();
4874 if (normalized_value in this.exact_set) {
4875 return false;
4876 }
4877 let i = GRAM_SIZE_LOWER;
4878 for (i; i < GRAM_SIZE_UPPER + 1; ++i) {
4879 this._add(value2, i);
4880 }
4881 }
4882 _add(value2, gram_size) {
4883 const normalized_value = value2.toLowerCase();
4884 const items = this.items[gram_size] || [];

Callers 15

constructorMethod · 0.45
add_referenceFunction · 0.45
handle_declaratorMethod · 0.45
check_uniqueFunction · 0.45
assign_variable_namesMethod · 0.45
add_dependenciesMethod · 0.45
renderer_invalidateFunction · 0.45
enterMethod · 0.45
leaveMethod · 0.45
parse_expressionMethod · 0.45
add_to_setFunction · 0.45

Calls 2

_addMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected