Skip to content

Commit 37fe50a

Browse files
[WebIDL] 諸々の編集
1 parent 7a5cf35 commit 37fe50a

1 file changed

Lines changed: 42 additions & 28 deletions

File tree

WebIDL-ja.html

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,7 @@
14331433
-:just
14341434
過去:
14351435
monospaced:等幅~fontで示される
1436+
~call元:call site
14361437
直後:
14371438
~~種別
14381439
@@ -5409,7 +5410,9 @@ <h4 title="Operations">2.5.3. 演算</h4>
54095410

54105411
<p>
54115412
可変個的な関数を~supportしない言語~用の言語束縛においては、
5412-
その種の演算には,整数の 配列または~list を明示的に渡すように指定することになるであろう。
5413+
その種の演算には,整数たちが成す[
5414+
配列/~list
5415+
]を明示的に渡すよう指定することになろう。
54135416
54145417
A binding for a language that does not support variadic functions might specify that an explicit array or list of integers be passed to such an operation.
54155418
</p>
@@ -10794,10 +10797,10 @@ <h3 title="Dictionaries">2.7. 辞書</h3>
1079410797

1079510798
<div class="example">
1079610799
<p>
10797-
辞書~型の利用の一つは
10800+
辞書~型の利用を成す一つは
1079810801
`演算$に対し[
1079910802
随意~引数をいくつでも
10800-
呼出ng~codeの所で指定される順序に制約を課すことなく
10803+
~call元にて指定される順序に制約を課すことなく
1080110804
与える
1080210805
]ことを許容することである。
1080310806
例えば,次の`~IDL片$を考える:
@@ -13117,10 +13120,12 @@ <h4 title="Nullable types — T?">2.13.27. ~nullable型 — `<var>T</var>?^T</h4
1311713120
`内縁~型@
1311813121
( `inner type^en )
1311913122
と呼ばれる)
13120-
既存の型から構築される~IDL型であり、
13121-
とり得る値が成す集合は,内縁~型がとり得る値に値 `null^V のみを~~追加したものになる。
13123+
既存の型から構築される~IDL型であり,
13124+
とり得る値たちが成す集合は[
13125+
その内縁~型がとり得る値たちに値 `null^V のみを~~追加したもの
13126+
]になる。
1312213127
~IDLにおいては、
13123-
`~nullable型$は,既存の型の後に文字 `003F^U1 を置いて表現される。
13128+
`~nullable型$は,既存の型の直後に文字 `003F^U1 を置いて表現される。
1312413129
`内縁~型$は、
1312513130
次に挙げるもの以外でなければナラナイ:
1312613131
@@ -13485,9 +13490,9 @@ <h4 title="Union types">2.13.32. 共用体~型</h4>
1348513490
<p>
1348613491
`共用体~型@
1348713492
( `union type^en )は、
13488-
とり得る値が成す集合が
13489-
複数の型の,それぞれがとり得る値が成す集合
13490-
の和集合であるような,型である
13493+
とり得る値たちが成す集合が
13494+
複数個の型~それぞれがとり得る値たちが成す集合
13495+
の和集合になる型である
1349113496
共用体~型
1349213497
( `UnionType$g に合致-)
1349313498
は、
@@ -13504,7 +13509,7 @@ <h4 title="Union types">2.13.32. 共用体~型</h4>
1350413509
<p>注記:
1350513510
例えば,
1350613511
`(Node or DOMString)^c や `(double or sequence&lt;double&gt;)^c
13507-
などのように記す
13512+
のように記される
1350813513
`共用体~型$に全体として `?^sym 接尾辞を適用するときは,
1350913514
`(Node or DOMString)?^c
1351013515
のように,右~丸括弧の後に置く。
@@ -13694,7 +13699,7 @@ <h4 title="Union types">2.13.32. 共用体~型</h4>
1369413699
<p>
1369513700
`共用体~型$の`~nullable~mb型の個数$は 0 か 1 でなければナラナイ。
1369613701
1 の場合、
13697-
その共用体~型は`平坦~化~mb型~群$に`辞書~型$を含んではナラナイ。
13702+
当の共用体~型は,その`平坦~化~mb型~群$に`辞書~型$を含んではナラナイ。
1369813703
1369913704
The number of nullable member types of a union type must be 0 or 1, and if it is 1 then the union type must also not have a dictionary type in its flattened member types.
1370013705
</p>
@@ -13726,15 +13731,16 @@ <h4 title="Union types">2.13.32. 共用体~型</h4>
1372613731
1372713732
`共用体~型$である
1372813733
]~AND[
13729-
その `~nullable~mb型の個数$は 0 でない( 1 である
13734+
その `~nullable~mb型の個数$ ~EQ 1( 0 でない
1373013735
1373113736
1373213737
the type is a union type and its number of nullable member types is 1.
1373313738
</li>
1373413739
</ul>
1373513740

1373613741
<p class="trans-note">
13737-
概念的には, `null^V を値にとり得る型と考えられる。
13742+
概念的には、
13743+
`null^V を値にとり得る型と考えられる。
1373813744
ただし、
1373913745
この定義では `any$T 型は含まれないことになる。
1374013746
</p>
@@ -13750,11 +13756,11 @@ <h4 title="Union types">2.13.32. 共用体~型</h4>
1375013756
1375113757
`bigint$T, `数量-型$
1375213758
]が成す共用体を作成することはアリであるが、
13753-
一般に,その利用は
13754-
`NumberFormat$jt などの[
13755-
それを計算には利用せず,値を整形するような~ifc
13756-
]用に限られるものと想定されている
13757-
そのような共用体を受容しつつ,`数量-型$の値に対しては単に `bigint$T に変換してから処理するのは
13759+
一般に,その利用は `NumberFormat$jt
13760+
— それは、
13761+
値を計算に利用することなく整形する —
13762+
などの~ifc用に限られるものと想定されている
13763+
そのような共用体を受容しつつ,`数量-型$の値に対しては単に `bigint$T に変換してから処理することは
1375813764
適切でない
1375913765
— それは、
1376013766
精度~errorを導入する~riskを冒すことになるので。
@@ -13808,6 +13814,14 @@ <h4 title="Union types">2.13.32. 共用体~型</h4>
1380813814
</li>
1380913815
</ul>
1381013816

13817+
13818+
<p class="trans-note">
13819+
概念的には、
13820+
`undefined^V を値にとり得る型と考えられる。
13821+
ただし、
13822+
この定義では `any$T 型は含まれないことになる。
13823+
</p>
13824+
1381113825
<p>
1381213826
~IDLにおいては、
1381313827
`共用体~型$の定数~値は,それらの`~mb型$の定数~値と同じ仕方で表現される。
@@ -13841,17 +13855,18 @@ <h4 title="Annotated types">2.13.33. 注釈された型</h4>
1384113855
<p class="example">
1384213856
`[Clamp] long^c は、
1384313857
新たな`注釈された型$を定義する
13844-
— その挙動は `内縁~型$anO `long$T に基づくが,
13858+
— その挙動は、
13859+
その`内縁~型$anO `long$T に基づくが,
1384513860
`Clamp$x 拡張d属性に指定されるとおり改変される。
1384613861
1384713862
[Clamp] long defines a new annotated type, whose behavior is based on that of the inner type long, but modified as specified by the [Clamp] extended attribute.
1384813863
</p>
1384913864

1385013865
<p>
13851-
次に挙げるものが
13866+
次に挙げる拡張d属性が,
1385213867
`型に適用-可能@
13853-
( `applicable to type^en )な拡張d属性とされる
13854-
13868+
( `applicable to type^en )であるとされる
13869+
1385513870
`AllowResizable$x,
1385613871
`AllowShared$x,
1385713872
`Clamp$x,
@@ -13865,8 +13880,7 @@ <h4 title="Annotated types">2.13.33. 注釈された型</h4>
1386513880
<p>
1386613881
所与の~IDL型 %型 に
1386713882
`結付けられた拡張d属性@
13868-
( `extended attributes associated with^en )は、
13869-
次に従って決定される:
13883+
( `extended attributes associated with^en )を決定する~algoは:
1387013884
1387113885
The extended attributes associated with an IDL type type are determined as follows:
1387213886
</p>
@@ -14193,8 +14207,8 @@ <h4 title="Frozen array types — FrozenArray&lt;T&gt;">2.13.35. 凍結d配列~
1419314207
`凍結d配列~型$は、
1419414208
`~ifc$上に定義される[
1419514209
`正則~属性$/`静的~属性$
14196-
の型として利用でき,
14197-
それら以外に利用してはナラナイ。
14210+
の型として利用できる
14211+
それら以外に利用してはナラナイ。
1419814212
1419914213
Frozen array types must only be used as the type of regular attributes or static attributes defined on an interface.
1420014214
</p>
@@ -14236,7 +14250,7 @@ <h4 title="Frozen array types — FrozenArray&lt;T&gt;">2.13.35. 凍結d配列~
1423614250
好みな色~群
1423714251
1423814252
`DOMString$T 型の値たちが成す凍結d配列
14239-
— 初期~時は,次の結果に等しくなるとする
14253+
— 初期~時は,次の結果に設定される【!equal】とする
1424014254
1424114255
`凍結d配列を作成する$( « `purple^l, `aquamarine^l » )
1424214256
@@ -14246,7 +14260,7 @@ <h4 title="Frozen array types — FrozenArray&lt;T&gt;">2.13.35. 凍結d配列~
1424614260
好みな食品~群
1424714261
1424814262
`DOMString$T 型の値たちが成す凍結d配列
14249-
— 初期~時は,次の結果に等しくなるとする
14263+
— 初期~時は,次の結果に設定される【!equal】とする
1425014264
1425114265
`凍結d配列を作成する$( « » )
1425214266

0 commit comments

Comments
 (0)