MCPcopy
hub / github.com/riot/riot / get

Function get

riot+compiler.js:1876–1884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1874
1875 const TREE_BUILDER_STRUCT = Object.seal({
1876 get() {
1877 const store = this.store;
1878 // The real root tag is in store.root.nodes[0]
1879 return {
1880 [TEMPLATE_OUTPUT_NAME]: store.root.nodes[0],
1881 [CSS_OUTPUT_NAME]: store[STYLE_TAG],
1882 [JAVASCRIPT_OUTPUT_NAME]: store[JAVASCRIPT_TAG],
1883 }
1884 },
1885
1886 /**
1887 * Process the current tag or text.

Callers 4

normalizeFunction · 0.70
udomdiffFunction · 0.70
getNameFunction · 0.70
compileFunction · 0.70

Calls 1

parseNodesFunction · 0.70

Tested by

no test coverage detected