Home / Function/ tag() — svelte Function Reference

tag() — svelte Function Reference

Architecture documentation for the tag() function in tracing.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  4dfcf957_8573_ff55_bd31_4181227109e3["tag()"]
  2696eb67_452f_4c32_3e13_ee172192b366["tracing.js"]
  4dfcf957_8573_ff55_bd31_4181227109e3 -->|defined in| 2696eb67_452f_4c32_3e13_ee172192b366
  c55b2607_d45b_c327_8826_7bdf245d80f6["proxy()"]
  c55b2607_d45b_c327_8826_7bdf245d80f6 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  af9812be_2f60_26a2_5915_306d68c75160["constructor()"]
  af9812be_2f60_26a2_5915_306d68c75160 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  e03e4ed7_8b9e_8112_4a8b_da9c61bbf402["constructor()"]
  e03e4ed7_8b9e_8112_4a8b_da9c61bbf402 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  92303a26_c904_85e7_5ec0_8e0605dbb9f9["createSubscriber()"]
  92303a26_c904_85e7_5ec0_8e0605dbb9f9 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  64359ac7_3fd3_7d7d_f176_c60a2f9b9112["constructor()"]
  64359ac7_3fd3_7d7d_f176_c60a2f9b9112 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  5c4ba0c1_a105_1c1d_27a4_4abc1d9e72ab["constructor()"]
  5c4ba0c1_a105_1c1d_27a4_4abc1d9e72ab -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  4176dd08_b6e9_0359_b4b0_bd7bf7ff3d2d["has()"]
  4176dd08_b6e9_0359_b4b0_bd7bf7ff3d2d -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  0ad1774b_99d2_2c89_1068_0a26e5151b9a["get()"]
  0ad1774b_99d2_2c89_1068_0a26e5151b9a -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  c4654be9_603f_7b49_e404_23ea06eb0af5["set()"]
  c4654be9_603f_7b49_e404_23ea06eb0af5 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  2f2c0b09_fdf1_e466_679b_e88c5380a219["constructor()"]
  2f2c0b09_fdf1_e466_679b_e88c5380a219 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  d460491c_489c_23c6_7a07_f9e08453a5c2["has()"]
  d460491c_489c_23c6_7a07_f9e08453a5c2 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  c71ab870_d61a_b6ae_5f3b_186fe2bf4681["constructor()"]
  c71ab870_d61a_b6ae_5f3b_186fe2bf4681 -->|calls| 4dfcf957_8573_ff55_bd31_4181227109e3
  f6be89d9_ba8d_03db_5030_b0a63626ac07["tag_proxy()"]
  4dfcf957_8573_ff55_bd31_4181227109e3 -->|calls| f6be89d9_ba8d_03db_5030_b0a63626ac07
  style 4dfcf957_8573_ff55_bd31_4181227109e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/internal/client/dev/tracing.js lines 137–142

export function tag(source, label) {
	source.label = label;
	tag_proxy(source.v, label);

	return source;
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does tag() do?
tag() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/dev/tracing.js.
Where is tag() defined?
tag() is defined in packages/svelte/src/internal/client/dev/tracing.js at line 137.
What does tag() call?
tag() calls 1 function(s): tag_proxy.
What calls tag()?
tag() is called by 12 function(s): constructor, constructor, constructor, constructor, constructor, constructor, createSubscriber, get, and 4 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free