Svelte腦語言

Svelte腦語言
號(hào) 廣令 意思 英文 章 節(jié)
1 【本】 反應(yīng)性腳本 <script> 組件格式
2 本府 非反應(yīng)性腳本 <script context="module"> 組件格式
3 【樣】 內(nèi)部樣式 <style> 組件格式
4 【帝】 :global(...) 全局樣式 模板語法 標(biāo)簽
5 【簽】 小寫標(biāo)簽 常規(guī)的HTML標(biāo)簽 模板語法 標(biāo)簽
6 【枝】 大寫標(biāo)簽 component 模板語法 標(biāo)簽
7 【催】 表達(dá)式 {expression} 模板語法 表達(dá)式
8 【注】 注釋 <!-- 這是一句注釋! --> 模板語法 注釋
9 【如】 如果 {#if ...} 模板語法 條件
10 【如】 如果 {#if expression}...{/if} 模板語法 條件
11 如別如 如果否則如果 {#if expression}...{:else if expression}...{/if} 模板語法 條件
12 如別 如果否則 {#if expression}...{:else}...{/if} 模板語法 條件
13 【各】 每個(gè) {#each ...} 模板語法 列表
14 【各】 每個(gè) {#each expression as name}...{/each} 模板語法 列表
15 【各】 每個(gè) {#each expression as name, index}...{/each} 模板語法 列表
16 【各】 每個(gè) {#each expression as name, index (key)}...{/each} 模板語法 列表
17 【各】 每個(gè) {#each expression as name}...{:else}...{/each} 模板語法 列表
18 【候】 等候 {#await ...} 模板語法 異步
19 【候】 等候 {#await expression}...{:then name}...{:catch name}...{/await} 模板語法 異步
20 【候】 等候 {#await expression}...{:then name}...{/await} 模板語法 異步
21 【候】 等候 {#await expression then name}...{/await} 模板語法 異步
22 【網(wǎng)】 網(wǎng)頁 {@html ...} 模板語法 HTML內(nèi)容
23 【網(wǎng)】 網(wǎng)頁 {@html expression} 模板語法 HTML內(nèi)容
24 【調(diào)】 調(diào)試 {@debug ...} 模板語法 調(diào)試
25 【調(diào)】 調(diào)試 {@debug} 模板語法 調(diào)試
26 【調(diào)】 調(diào)試 {@debug var1, var2, ..., varN} 模板語法 調(diào)試
27 【當(dāng)】 當(dāng) on:事件名 模板語法 標(biāo)簽指令
28 【當(dāng)】 當(dāng) on:eventname={handler} 模板語法 標(biāo)簽指令
29 【當(dāng)】 當(dāng) on:eventname|modifiers={handler} 模板語法 標(biāo)簽指令
30 【綁】 綁定 bind:屬性 模板語法 標(biāo)簽指令
31 【綁】 綁定 bind:property={variable} 模板語法 標(biāo)簽指令
32 【綁】 綁定 bind:this 模板語法 標(biāo)簽指令
33 【綁】 綁定 bind:this={dom_node} 模板語法 標(biāo)簽指令
34 【類】 類別 class:name 模板語法 標(biāo)簽指令
35 【類】 類別 class:name={value} 模板語法 標(biāo)簽指令
36 【耗】 耗用 use:action 模板語法 標(biāo)簽指令
37 【耗】 耗用 use:action={parameters} 模板語法 標(biāo)簽指令
38 【渡】 過渡 transition:fn 模板語法 標(biāo)簽指令
39 【渡】 過渡 transition:fn={params} 模板語法 標(biāo)簽指令
40 【渡】 過渡 transition:fn|local 模板語法 標(biāo)簽指令
41 【渡】 過渡 transition:fn|local={params} 模板語法 標(biāo)簽指令
42 【在】 在 in:fn/out:fn 模板語法 標(biāo)簽指令
43 【在】 在 in:fn 模板語法 標(biāo)簽指令
44 【在】 在 in:fn={params} 模板語法 標(biāo)簽指令
45 【在】 在 in:fn|local 模板語法 標(biāo)簽指令
46 【在】 在 in:fn|local={params} 模板語法 標(biāo)簽指令
47 【外】 外 out:fn 模板語法 標(biāo)簽指令
48 【外】 外 out:fn={params} 模板語法 標(biāo)簽指令
49 【外】 外 out:fn|local 模板語法 標(biāo)簽指令
50 【外】 外 out:fn|local={params} 模板語法 標(biāo)簽指令
51 【興】 活躍 animate:fn 模板語法 標(biāo)簽指令
52 【興】 活躍 animate:name 模板語法 標(biāo)簽指令
53 【興】 活躍 animate:name={params} 模板語法 標(biāo)簽指令
54 【當(dāng)】 當(dāng) on:eventname={handler} 模板語法 組件指令
55 【綁】 綁定 bind:property={variable} 模板語法 組件指令
56 【綁】 綁定 bind:this={component_instance} 模板語法 組件指令
57 【槽】 插槽 <slot><!-- 可選回調(diào) --></slot> 模板語法 組件插值
58 【槽】 插槽 <slotname="x"><!-- 可選回調(diào) --></slot> 模板語法 苗條標(biāo)簽
59 【槽】 插槽 <slotprop={value}></slot> 模板語法 苗條標(biāo)簽
60 【名】 名字 <slot name="name"> 模板語法 苗條標(biāo)簽
61 【讓】 內(nèi)變量 <slot let:name={value}> 模板語法 苗條標(biāo)簽
62 【此】 此對(duì)象 <svelte:self> 模板語法 苗條標(biāo)簽
63 【枝】 節(jié)點(diǎn) <svelte:component> 模板語法 苗條標(biāo)簽
64 【窗】 窗 <svelte:window> 模板語法 苗條標(biāo)簽
65 【身】 身體 <svelte:body> 模板語法 苗條標(biāo)簽
66 【頭】 頭部 <svelte:head> 模板語法 苗條標(biāo)簽
67 【遵】 選項(xiàng) <svelte:options> 模板語法 苗條標(biāo)簽
68 【騎】 掛載到DOM后 onMount 運(yùn)行時(shí) 生命周期
69 【挽】 渲染之前 beforeUpdate 運(yùn)行時(shí) 生命周期
70 【賜】 渲染之后 afterUpdate 運(yùn)行時(shí) 生命周期
71 【滅】 卸載后 onDestroy 運(yùn)行時(shí) 生命周期
72 【瞬】 下一個(gè)微任務(wù)中 tick 運(yùn)行時(shí) 生命周期
73 置劉 指定的key關(guān)聯(lián) setContext 運(yùn)行時(shí) 生命周期
74 取劉 含有的指定 getContext 運(yùn)行時(shí) 生命周期
75 建事童 建事件調(diào)度器 createEventDispatcher 運(yùn)行時(shí) 生命周期
76 【鵝】 可寫 writable 運(yùn)行時(shí) 倉庫store
77 【鴨】 可讀 readable 運(yùn)行時(shí) 倉庫store
78 【衍】 衍生 derived 運(yùn)行時(shí) 倉庫store
79 【取】 取 get 運(yùn)行時(shí) 倉庫store
80 【嘆】 緩動(dòng) tweened 運(yùn)行時(shí) 運(yùn)動(dòng)motion
81 【簧】 彈簧 spring 運(yùn)行時(shí) 運(yùn)動(dòng)motion
82 【吧】 淡入淡出 fade 運(yùn)行時(shí) 過渡transition
83 【糊】 模糊 blur 運(yùn)行時(shí) 過渡transition
84 【飛】 飛起 fly 運(yùn)行時(shí) 過渡transition
85 【溜】 滑動(dòng) slide 運(yùn)行時(shí) 過渡transition
86 【刻】 伸縮 scale 運(yùn)行時(shí) 過渡transition
87 【繪】 繪制 draw 運(yùn)行時(shí) 過渡transition
88 【豹】 翻轉(zhuǎn) flip 運(yùn)行時(shí) 動(dòng)畫animate
89 后入 后入 backIn 運(yùn)行時(shí) 速率easing
90 后出 后出 backOut 運(yùn)行時(shí) 速率easing
91 后蜜 后蜜 backInOut 運(yùn)行時(shí) 速率easing
92 筋出 筋出 bounceIn 運(yùn)行時(shí) 速率easing
93 筋入 筋入 bounceOut 運(yùn)行時(shí) 速率easing
94 筋蜜 筋蜜 bounceInOut 運(yùn)行時(shí) 速率easing
95 【喔】 循環(huán)式入 circIn 運(yùn)行時(shí) 速率easing
96 【嗯】 循環(huán)式出 circOut 運(yùn)行時(shí) 速率easing
97 【嘟】 指曲蜜 circInOut 運(yùn)行時(shí) 速率easing
98 【啊】 立方曲入 cubicIn 運(yùn)行時(shí) 速率easing
99 【咖】 立方曲出 cubicOut 運(yùn)行時(shí) 速率easing
100 【嘛】 立曲蜜 cubicInOut 運(yùn)行時(shí) 速率easing
101 【嘔】 簧回震入 elasticIn 運(yùn)行時(shí) 速率easing
102 【哼】 簧回震出 elasticOut 運(yùn)行時(shí) 速率easing
103 簧蜜 簧回震蜜 elasticInOut 運(yùn)行時(shí) 速率easing
104 【哦】 指數(shù)曲入 expoIn 運(yùn)行時(shí) 速率easing
105 【叭】 指數(shù)曲出 expoOut 運(yùn)行時(shí) 速率easing
106 【咬】 指曲蜜 expoInOut 運(yùn)行時(shí) 速率easing
107 【嗎】 平方曲入 quadIn 運(yùn)行時(shí) 速率easing
108 【呢】 平方曲出 quadOut 運(yùn)行時(shí) 速率easing
109 【哎】 平曲蜜 quadInOut 運(yùn)行時(shí) 速率easing
110 【嘻】 四方曲入 quartIn 運(yùn)行時(shí) 速率easing
111 【哈】 四方曲出 quartOut 運(yùn)行時(shí) 速率easing
112 【呵】 四曲蜜 quartInOut 運(yùn)行時(shí) 速率easing
113 【嘿】 五方曲入 quintIn 運(yùn)行時(shí) 速率easing
114 【嗨】 五方曲出 quintOut 運(yùn)行時(shí) 速率easing
115 【喲】 五曲蜜 quintInOut 運(yùn)行時(shí) 速率easing
116 【唉】 正弦曲入 sineIn 運(yùn)行時(shí) 速率easing
117 【哇】 正弦曲出 sineOut 運(yùn)行時(shí) 速率easing
118 【呀】 正曲蜜 sineInOut 運(yùn)行時(shí) 速率easing
119 【要】 需要 require 運(yùn)行時(shí) 登記register
120 新枝 新組件 new Component 運(yùn)行時(shí) 客戶端組件
121 $置 置為 $set 運(yùn)行時(shí) 客戶端組件
122 $當(dāng) 當(dāng) $on 運(yùn)行時(shí) 客戶端組件
123 $滅 銷毀 component.$destroy() 運(yùn)行時(shí) 客戶端組件
124 【道】 道具 component.prop = value 運(yùn)行時(shí) 客戶端組件
125 【遵】 選項(xiàng) <svelte:options tag="my-element"> 運(yùn)行時(shí) 自定義元素
126 【巧】 標(biāo)識(shí)符 tag={null} 運(yùn)行時(shí) 自定義元素
127 【玉】 存取器 accessors: true 運(yùn)行時(shí) 自定義元素
128 【誘】 使成為 const result = Component.render(...) 運(yùn)行時(shí) 服務(wù)端組件
129 【穎】 編譯 svelte.compile 編譯時(shí)
130 【概】 概率 svelte.parse 編譯時(shí)
131 【鷗】 預(yù)處理 svelte.preprocess 編譯時(shí)
132 【走】 走路 svelte.walk 編譯時(shí)
133 【版】 版本 svelte.VERSION 編譯時(shí)
【一令】指一個(gè)漢字指令,【廣令】指一個(gè)或多個(gè)一令
背景“黃色”是非一令
-----
https://www.bilibili.com/read/cv15092731 元宇宙引擎腦語言目錄
## 注:
腦語言一令是一個(gè)不斷變化的過程,而我們的能力也十分有限,對(duì)于翻譯不準(zhǔn)確、表達(dá)不合適、定義不嚴(yán)謹(jǐn)、意思不合理等等問題都是我做得還不夠好的原因,歡迎指正與交流,以便通過“共產(chǎn)”的方式讓“廣集天下智慧”的機(jī)制及早在人類世界建立。
過去,我們總是想讓AI更接近人類,腦語言的存在也是為了讓人類的能力更接近AI.....
20220217 廣