nadesiko3 3.3.61 → 3.3.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/batch/command.txt +111 -99
- package/batch/command_nakopad.txt +13 -1
- package/core/package.json +4 -1
- package/core/src/nako3.mjs +5 -2
- package/core/src/nako3.mts +5 -4
- package/core/src/nako_core_version.mjs +2 -2
- package/core/src/nako_core_version.mts +2 -2
- package/core/src/nako_from_dncl.mjs +0 -254
- package/core/src/nako_from_dncl.mts +0 -247
- package/core/src/nako_from_dncl2.mjs +313 -0
- package/core/src/nako_from_dncl2.mts +299 -0
- package/core/src/nako_gen.mjs +1 -1
- package/core/src/nako_gen.mts +1 -1
- package/core/src/nako_indent_inline.mjs +152 -34
- package/core/src/nako_indent_inline.mts +132 -34
- package/core/src/nako_lex_rules.mjs +3 -2
- package/core/src/nako_lex_rules.mts +3 -2
- package/core/src/nako_lexer.mjs +27 -3
- package/core/src/nako_lexer.mts +27 -3
- package/core/src/nako_parser3.mjs +45 -14
- package/core/src/nako_parser3.mts +40 -18
- package/core/src/nako_prepare.mjs +13 -0
- package/core/src/nako_prepare.mts +11 -0
- package/core/src/nako_tools.mjs +53 -0
- package/core/src/nako_tools.mts +46 -0
- package/core/test/basic_test.mjs +16 -8
- package/core/test/dncl2_test.mjs +207 -0
- package/core/test/flow_test.mjs +42 -0
- package/core/test/indent_test.mjs +74 -50
- package/core/test/inline_indent_test.mjs +47 -0
- package/core/test/lex_test.mjs +1 -0
- package/demo/js/a.js +30 -0
- package/package.json +4 -4
- package/release/_hash.txt +24 -24
- package/release/_script-tags.txt +14 -14
- package/release/command.json +1 -1
- package/release/command.json.js +1 -1
- package/release/command_cnako3.json +1 -1
- package/release/command_list.json +1 -1
- package/release/editor.js +1 -1
- package/release/nako_gen_async.js +1 -1
- package/release/stats.json +1 -1
- package/release/version.js +1 -1
- package/release/wnako3.js +1 -1
- package/release/wnako3webworker.js +1 -1
- package/src/cnako3mod.mjs +43 -33
- package/src/cnako3mod.mts +45 -35
- package/src/nako_version.mjs +2 -2
- package/src/nako_version.mts +2 -2
- package/src/plugin_browser_canvas.mjs +5 -0
- package/src/plugin_node.mjs +54 -25
- package/src/plugin_node.mts +45 -21
- package/test/node/plugin_node_test.mjs +46 -17
package/batch/command.txt
CHANGED
|
@@ -532,21 +532,21 @@
|
|
|
532
532
|
| 関数 | 楕円描画 | ARGSへ/ARGSに/ARGSの | [x, y, x幅, y幅, 回転, 開始角, 終了角, 左回転か]に楕円を描画する | だえんびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L154
|
|
533
533
|
| 関数 | 多角形描画 | Aで/Aの/Aを | 座標配列vを指定して多角形を描画する | たかっけいびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L176
|
|
534
534
|
| 関数 | 画像読 | URLの/URLを | 画像のURLを読み込んでImageオブジェクトを返す。(URLにdataスキームも指定可能) | がぞうよむ | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L196
|
|
535
|
-
| 関数 | 画像逐次読 | URLの/URLを | 画像のURLを読み込んでImageオブジェクトを返す。また完了時『対象』にも代入する。『逐次実行』構文で使う。 | がぞうちくじよむ | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
536
|
-
| 関数 | 画像読時 | FでURLの/URLを | 画像のURLを読み込んでコールバック関数Fを読み込み、変数『対象』にImageオブジェクトを代入する | がぞうよんだとき | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
537
|
-
| 関数 | 画像描画 | IMGのXYへ/IMGをXYに | 画像IMG(またはURL)を描画先座標[x,y]へ描画し、Imageオブジェクトを返す。座標には2,4,8個の引数を指定可能。 | がぞうびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
538
|
-
| 関数 | 画像部分描画 | IMGのSXYをDXYへ/SXYからDXYに | 画像IMG(またはURL)の座標[sx, sy, sw, sh]を描画先座標[dx, dy, dw, dh]へ描画し、Imageオブジェクトを返す | がぞうぶぶんびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
539
|
-
| 関数 | 描画フォント設定 | Nを/Nの/Nで/Nに | 描画フォントを指定する(CSSのフォント設定と同じ 例「36px Aria」)。フォントサイズのみの指定も可。 | びょうがふぉんとせってい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
540
|
-
| 関数 | 文字描画 | XYへSの/XYにSを | [x, y]へテキストSを描画する(描画フォント設定でサイズなど指定) | もじびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
541
|
-
| 関数 | 文字描画幅取得 | Sの | テキストSを指定して文字の描画幅を取得する | もじびょうがはばしゅとく | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
542
|
-
| 関数 | 描画起点設定 | XYへ/XYに | 描画位置の起点を[x,y]へ設定する(translate) | びょうがきてんせってい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
543
|
-
| 関数 | 描画回転 | Aだけ/Aに/Aへ | 描画内容をA度だけ回転する(rotate) | びょうがかいてん | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
544
|
-
| 関数 | 描画拡大 | XYだけ/XYに/XYへ | 描画内容を[x方向,y方向]だけ拡大する(scale) | びょうがかくだい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
545
|
-
| 関数 | 描画変換マトリクス設定 | Aだけ/Aに/Aへ | 描画内容を[a,b,c,d,e,f]の変換マトリクスに設定。既存内容を破棄して設定(setTransform) | びょうがへんかんまとりくすせってい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
546
|
-
| 関数 | 描画変換マトリクス追加 | Aだけ/Aに/Aへ | 描画内容を[a,b,c,d,e,f]のマトリクスで変換。既存のマトリクスに掛け合わせる(transform) | びょうがへんかんまとりくすついか | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
547
|
-
| 関数 | 描画データURL変換 | | 描画内容をPNG形式のデータURLに変換して得る。 | びょうがでーたURLへんかん | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
548
|
-
| 関数 | 描画ダウンロードリンク作成 | DOMへ/DOMに | 描画内容をPNG形式のデータURLに変換してDOMに設定する。 | びょうがだうんろーどりんくさくせい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
549
|
-
| 関数 | 描画ダウンロード | | 描画内容をPNG形式のデータURLに変換してダウンロードする。(「クリックした時」などと組み合わせて使う) | びょうがだうんろーど | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#
|
|
535
|
+
| 関数 | 画像逐次読 | URLの/URLを | 画像のURLを読み込んでImageオブジェクトを返す。また完了時『対象』にも代入する。『逐次実行』構文で使う。 | がぞうちくじよむ | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L207
|
|
536
|
+
| 関数 | 画像読時 | FでURLの/URLを | 画像のURLを読み込んでコールバック関数Fを読み込み、変数『対象』にImageオブジェクトを代入する | がぞうよんだとき | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L228
|
|
537
|
+
| 関数 | 画像描画 | IMGのXYへ/IMGをXYに | 画像IMG(またはURL)を描画先座標[x,y]へ描画し、Imageオブジェクトを返す。座標には2,4,8個の引数を指定可能。 | がぞうびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L250
|
|
538
|
+
| 関数 | 画像部分描画 | IMGのSXYをDXYへ/SXYからDXYに | 画像IMG(またはURL)の座標[sx, sy, sw, sh]を描画先座標[dx, dy, dw, dh]へ描画し、Imageオブジェクトを返す | がぞうぶぶんびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L282
|
|
539
|
+
| 関数 | 描画フォント設定 | Nを/Nの/Nで/Nに | 描画フォントを指定する(CSSのフォント設定と同じ 例「36px Aria」)。フォントサイズのみの指定も可。 | びょうがふぉんとせってい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L334
|
|
540
|
+
| 関数 | 文字描画 | XYへSの/XYにSを | [x, y]へテキストSを描画する(描画フォント設定でサイズなど指定) | もじびょうが | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L349
|
|
541
|
+
| 関数 | 文字描画幅取得 | Sの | テキストSを指定して文字の描画幅を取得する | もじびょうがはばしゅとく | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L359
|
|
542
|
+
| 関数 | 描画起点設定 | XYへ/XYに | 描画位置の起点を[x,y]へ設定する(translate) | びょうがきてんせってい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L369
|
|
543
|
+
| 関数 | 描画回転 | Aだけ/Aに/Aへ | 描画内容をA度だけ回転する(rotate) | びょうがかいてん | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L379
|
|
544
|
+
| 関数 | 描画拡大 | XYだけ/XYに/XYへ | 描画内容を[x方向,y方向]だけ拡大する(scale) | びょうがかくだい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L389
|
|
545
|
+
| 関数 | 描画変換マトリクス設定 | Aだけ/Aに/Aへ | 描画内容を[a,b,c,d,e,f]の変換マトリクスに設定。既存内容を破棄して設定(setTransform) | びょうがへんかんまとりくすせってい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L399
|
|
546
|
+
| 関数 | 描画変換マトリクス追加 | Aだけ/Aに/Aへ | 描画内容を[a,b,c,d,e,f]のマトリクスで変換。既存のマトリクスに掛け合わせる(transform) | びょうがへんかんまとりくすついか | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L409
|
|
547
|
+
| 関数 | 描画データURL変換 | | 描画内容をPNG形式のデータURLに変換して得る。 | びょうがでーたURLへんかん | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L419
|
|
548
|
+
| 関数 | 描画ダウンロードリンク作成 | DOMへ/DOMに | 描画内容をPNG形式のデータURLに変換してDOMに設定する。 | びょうがだうんろーどりんくさくせい | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L429
|
|
549
|
+
| 関数 | 描画ダウンロード | | 描画内容をPNG形式のデータURLに変換してダウンロードする。(「クリックした時」などと組み合わせて使う) | びょうがだうんろーど | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_canvas.mjs#L443
|
|
550
550
|
●位置情報
|
|
551
551
|
| 関数 | 位置情報取得時 | FUNCの/FUNCに/FUNCへ | 位置情報を取得してコールバック関数内で変数「対象」に配列で[緯度,経度]を返す | いちじょうほうしゅとくしたとき | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_geolocation.mjs#L8
|
|
552
552
|
| 関数 | 位置情報監視時 | FUNCの/FUNCに/FUNCへ | 位置情報を監視してIDを返す。引数に指定したコールバック関数内で変数「対象」に配列で[緯度,経度]を返す | いちじょうほうかんししたとき | https://github.com/kujirahand/nadesiko3/blob/master/src/plugin_browser_geolocation.mjs#L27
|
|
@@ -636,101 +636,101 @@
|
|
|
636
636
|
|
|
637
637
|
■plugin_node(基本プラグイン,cnako,phpnako)
|
|
638
638
|
●ファイル入出力
|
|
639
|
-
| 関数 | 開 | Sを/Sから | ファイルSを開く | ひらく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
640
|
-
| 関数 | 読 | Sを/Sから | ファイルSを開く | よむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
641
|
-
| 関数 | バイナリ読 | Sを/Sから | ファイルSをバイナリ(Buffer)として開く | ばいなりよむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
642
|
-
| 関数 | 保存 | SをFへ/Fに | データSをファイルFヘ書き込む | ほぞん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
643
|
-
| 関数 | SJISファイル読 | Sを/Sから | SJIS形式のファイルSを読み込む | SJISふぁいるよむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
644
|
-
| 関数 | SJISファイル保存 | SをFへ/Fに | SをSJIS形式でファイルFへ書き込む | SJISふぁいるほぞん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
645
|
-
| 関数 | 起動待機 | Sを | シェルコマンドSを起動し実行終了まで待機する | きどうたいき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
646
|
-
| 関数 | 起動 | Sを | シェルコマンドSを起動 | きどう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
647
|
-
| 関数 | 起動時 | CALLBACKでSを | シェルコマンドSを起動 | きどうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
648
|
-
| 関数 | ブラウザ起動 | URLを | ブラウザでURLを起動 | ぶらうざきどう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
649
|
-
| 関数 | ファイル列挙 | Sの/Sを/Sで | パスSのファイル名(フォルダ名)一覧を取得する。ワイルドカード可能。「*.jpg;*.png」など複数の拡張子を指定可能。 | ふぁいるれっきょ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
650
|
-
| 関数 | 全ファイル列挙 | Sの/Sを/Sで | パスS以下の全ファイル名を取得する。ワイルドカード可能。「*.jpg;*.png」のように複数の拡張子を指定可能。 | ぜんふぁいるれっきょ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
651
|
-
| 関数 | 存在 | PATHが/PATHの | ファイルPATHが存在するか確認して返す | そんざい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
652
|
-
| 関数 | フォルダ存在 | PATHが/PATHの | ディレクトリPATHが存在するか確認して返す | ふぉるだそんざい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
653
|
-
| 関数 | フォルダ作成 | PATHの/PATHを/PATHに/PATHへ | ディレクトリPATHを作成して返す(再帰的に作成) | ふぉるださくせい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
654
|
-
| 関数 | ファイルコピー | AからBに/AをBへ | パスAをパスBへファイルコピーする | ふぁいるこぴー | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
655
|
-
| 関数 | ファイルコピー時 | CALLBACKでAからBに/AをBへ | パスAをパスBへファイルコピーしてcallbackを実行 | ふぁいるこぴーしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
656
|
-
| 関数 | ファイル移動 | AからBに/AをBへ | パスAをパスBへ移動する | ふぁいるいどう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
657
|
-
| 関数 | ファイル移動時 | CALLBACKでAからBに/AをBへ | パスAをパスBへ移動してcallbackを実行 | ふぁいるいどうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
658
|
-
| 関数 | ファイル削除 | PATHの/PATHを | パスPATHを削除する | ふぁいるさくじょ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
659
|
-
| 関数 | ファイル削除時 | CALLBACKでPATHの/PATHを | パスPATHを削除してcallbackを実行 | ふぁいるさくじょしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
660
|
-
| 関数 | ファイル情報取得 | PATHの/PATHから | パスPATHの情報を調べてオブジェクトで返す | ふぁいるじょうほうしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
661
|
-
| 関数 | ファイルサイズ取得 | PATHの/PATHから | パスPATHのファイルサイズを調べて返す | ふぁいるさいずしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
639
|
+
| 関数 | 開 | Sを/Sから | ファイルSを開く | ひらく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L70
|
|
640
|
+
| 関数 | 読 | Sを/Sから | ファイルSを開く | よむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L78
|
|
641
|
+
| 関数 | バイナリ読 | Sを/Sから | ファイルSをバイナリ(Buffer)として開く | ばいなりよむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L86
|
|
642
|
+
| 関数 | 保存 | SをFへ/Fに | データSをファイルFヘ書き込む | ほぞん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L94
|
|
643
|
+
| 関数 | SJISファイル読 | Sを/Sから | SJIS形式のファイルSを読み込む | SJISふぁいるよむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L107
|
|
644
|
+
| 関数 | SJISファイル保存 | SをFへ/Fに | SをSJIS形式でファイルFへ書き込む | SJISふぁいるほぞん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L118
|
|
645
|
+
| 関数 | 起動待機 | Sを | シェルコマンドSを起動し実行終了まで待機する | きどうたいき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L129
|
|
646
|
+
| 関数 | 起動 | Sを | シェルコマンドSを起動 | きどう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L138
|
|
647
|
+
| 関数 | 起動時 | CALLBACKでSを | シェルコマンドSを起動 | きどうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L149
|
|
648
|
+
| 関数 | ブラウザ起動 | URLを | ブラウザでURLを起動 | ぶらうざきどう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L159
|
|
649
|
+
| 関数 | ファイル列挙 | Sの/Sを/Sで | パスSのファイル名(フォルダ名)一覧を取得する。ワイルドカード可能。「*.jpg;*.png」など複数の拡張子を指定可能。 | ふぁいるれっきょ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L167
|
|
650
|
+
| 関数 | 全ファイル列挙 | Sの/Sを/Sで | パスS以下の全ファイル名を取得する。ワイルドカード可能。「*.jpg;*.png」のように複数の拡張子を指定可能。 | ぜんふぁいるれっきょ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L186
|
|
651
|
+
| 関数 | 存在 | PATHが/PATHの | ファイルPATHが存在するか確認して返す | そんざい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L232
|
|
652
|
+
| 関数 | フォルダ存在 | PATHが/PATHの | ディレクトリPATHが存在するか確認して返す | ふぉるだそんざい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L240
|
|
653
|
+
| 関数 | フォルダ作成 | PATHの/PATHを/PATHに/PATHへ | ディレクトリPATHを作成して返す(再帰的に作成) | ふぉるださくせい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L248
|
|
654
|
+
| 関数 | ファイルコピー | AからBに/AをBへ | パスAをパスBへファイルコピーする | ふぁいるこぴー | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L256
|
|
655
|
+
| 関数 | ファイルコピー時 | CALLBACKでAからBに/AをBへ | パスAをパスBへファイルコピーしてcallbackを実行 | ふぁいるこぴーしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L264
|
|
656
|
+
| 関数 | ファイル移動 | AからBに/AをBへ | パスAをパスBへ移動する | ふぁいるいどう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L276
|
|
657
|
+
| 関数 | ファイル移動時 | CALLBACKでAからBに/AをBへ | パスAをパスBへ移動してcallbackを実行 | ふぁいるいどうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L284
|
|
658
|
+
| 関数 | ファイル削除 | PATHの/PATHを | パスPATHを削除する | ふぁいるさくじょ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L296
|
|
659
|
+
| 関数 | ファイル削除時 | CALLBACKでPATHの/PATHを | パスPATHを削除してcallbackを実行 | ふぁいるさくじょしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L304
|
|
660
|
+
| 関数 | ファイル情報取得 | PATHの/PATHから | パスPATHの情報を調べてオブジェクトで返す | ふぁいるじょうほうしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L316
|
|
661
|
+
| 関数 | ファイルサイズ取得 | PATHの/PATHから | パスPATHのファイルサイズを調べて返す | ふぁいるさいずしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L324
|
|
662
662
|
●パス操作
|
|
663
|
-
| 関数 | ファイル名抽出 | Sから/Sの | フルパスのファイル名Sからファイル名部分を抽出して返す | ふぁいるめいちゅうしゅつ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
664
|
-
| 関数 | パス抽出 | Sから/Sの | ファイル名Sからパス部分を抽出して返す | ぱすちゅうしゅつ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
665
|
-
| 関数 | 絶対パス変換 | Aを/Aの | 相対パスから絶対パスに変換して返す | ぜったいぱすへんかん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
666
|
-
| 関数 | 相対パス展開 | AをBで | ファイル名AからパスBを展開して返す | そうたいぱすてんかい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
663
|
+
| 関数 | ファイル名抽出 | Sから/Sの | フルパスのファイル名Sからファイル名部分を抽出して返す | ふぁいるめいちゅうしゅつ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L335
|
|
664
|
+
| 関数 | パス抽出 | Sから/Sの | ファイル名Sからパス部分を抽出して返す | ぱすちゅうしゅつ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L343
|
|
665
|
+
| 関数 | 絶対パス変換 | Aを/Aの | 相対パスから絶対パスに変換して返す | ぜったいぱすへんかん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L351
|
|
666
|
+
| 関数 | 相対パス展開 | AをBで | ファイル名AからパスBを展開して返す | そうたいぱすてんかい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L359
|
|
667
667
|
●フォルダ取得
|
|
668
|
-
| 関数 | カレントディレクトリ取得 | | カレントディレクトリを返す | かれんとでぃれくとりしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
669
|
-
| 関数 | カレントディレクトリ変更 | DIRに/DIRへ | カレントディレクトリをDIRに変更する | かれんとでぃれくとりへんこう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
670
|
-
| 関数 | 作業フォルダ取得 | | カレントディレクトリを返す | さぎょうふぉるだしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
671
|
-
| 関数 | 作業フォルダ変更 | DIRに/DIRへ | カレントディレクトリをDIRに変更する | さぎょうふぉるだへんこう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
672
|
-
| 関数 | ホームディレクトリ取得 | | ホームディレクトリを取得して返す | ほーむでぃれくとりしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
673
|
-
| 関数 | デスクトップ | | デスクトップパスを取得して返す | ですくとっぷ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
674
|
-
| 関数 | マイドキュメント | | マイドキュメントのパスを取得して返す | まいどきゅめんと | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
675
|
-
| 定数 | 母艦パス | | '' | ぼかんぱす | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
676
|
-
| 関数 | 母艦パス取得 | | スクリプトのあるディレクトリを返す | ぼかんぱすしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
677
|
-
| 関数 | テンポラリフォルダ | | テンポラリフォルダのパスを取得して返す | てんぽらりふぉるだ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
668
|
+
| 関数 | カレントディレクトリ取得 | | カレントディレクトリを返す | かれんとでぃれくとりしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L368
|
|
669
|
+
| 関数 | カレントディレクトリ変更 | DIRに/DIRへ | カレントディレクトリをDIRに変更する | かれんとでぃれくとりへんこう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L377
|
|
670
|
+
| 関数 | 作業フォルダ取得 | | カレントディレクトリを返す | さぎょうふぉるだしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L386
|
|
671
|
+
| 関数 | 作業フォルダ変更 | DIRに/DIRへ | カレントディレクトリをDIRに変更する | さぎょうふぉるだへんこう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L395
|
|
672
|
+
| 関数 | ホームディレクトリ取得 | | ホームディレクトリを取得して返す | ほーむでぃれくとりしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L404
|
|
673
|
+
| 関数 | デスクトップ | | デスクトップパスを取得して返す | ですくとっぷ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L412
|
|
674
|
+
| 関数 | マイドキュメント | | マイドキュメントのパスを取得して返す | まいどきゅめんと | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L421
|
|
675
|
+
| 定数 | 母艦パス | | '' | ぼかんぱす | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L426
|
|
676
|
+
| 関数 | 母艦パス取得 | | スクリプトのあるディレクトリを返す | ぼかんぱすしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L431
|
|
677
|
+
| 関数 | テンポラリフォルダ | | テンポラリフォルダのパスを取得して返す | てんぽらりふぉるだ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L439
|
|
678
678
|
●環境変数
|
|
679
|
-
| 関数 | 環境変数取得 | Sの | 環境変数Sを返す | かんきょうへんすうしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
680
|
-
| 関数 | 環境変数一覧取得 | | 環境変数の一覧を返す | かんきょうへんすういちらんしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
679
|
+
| 関数 | 環境変数取得 | Sの | 環境変数Sを返す | かんきょうへんすうしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L461
|
|
680
|
+
| 関数 | 環境変数一覧取得 | | 環境変数の一覧を返す | かんきょうへんすういちらんしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L469
|
|
681
681
|
●圧縮・解凍
|
|
682
|
-
| 定数 | 圧縮解凍ツールパス | | '7z' | あっしゅくかいとうつーるぱす | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
683
|
-
| 関数 | 圧縮解凍ツールパス変更 | Vに/Vへ | 圧縮解凍に使うツールを取得変更する | あっしゅくかいとうつーるぱすへんこう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
684
|
-
| 関数 | 解凍 | AをBに/AからBへ | (v1非互換)ZIPファイルAをBに解凍(実行には7-zipが必要-https://goo.gl/LmKswH) | かいとう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
685
|
-
| 関数 | 解凍時 | CALLBACKでAをBに/AからBへ | 解凍処理を行い、処理が完了したときにcallback処理を実行 | かいとうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
686
|
-
| 関数 | 圧縮 | AをBに/AからBへ | (v1非互換)ファイルAをBにZIP圧縮(実行には7-zipが必要-https://goo.gl/LmKswH) | あっしゅく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
687
|
-
| 関数 | 圧縮時 | CALLBACKでAをBに/AからBへ | 圧縮処理を行い完了したときにcallback処理を指定 | あっしゅくしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
682
|
+
| 定数 | 圧縮解凍ツールパス | | '7z' | あっしゅくかいとうつーるぱす | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L474
|
|
683
|
+
| 関数 | 圧縮解凍ツールパス変更 | Vに/Vへ | 圧縮解凍に使うツールを取得変更する | あっしゅくかいとうつーるぱすへんこう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L479
|
|
684
|
+
| 関数 | 解凍 | AをBに/AからBへ | (v1非互換)ZIPファイルAをBに解凍(実行には7-zipが必要-https://goo.gl/LmKswH) | かいとう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L488
|
|
685
|
+
| 関数 | 解凍時 | CALLBACKでAをBに/AからBへ | 解凍処理を行い、処理が完了したときにcallback処理を実行 | かいとうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L501
|
|
686
|
+
| 関数 | 圧縮 | AをBに/AからBへ | (v1非互換)ファイルAをBにZIP圧縮(実行には7-zipが必要-https://goo.gl/LmKswH) | あっしゅく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L517
|
|
687
|
+
| 関数 | 圧縮時 | CALLBACKでAをBに/AからBへ | 圧縮処理を行い完了したときにcallback処理を指定 | あっしゅくしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L530
|
|
688
688
|
●Nodeプロセス
|
|
689
|
-
| 関数 | 終 | | Nodeでプログラム実行を強制終了する | おわる | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
690
|
-
| 関数 | 強制終了時 | FUNCを | Nodeでctrl+cでプログラムの実行が終了した時FUNCを実行する。もしFUNCが偽を返すと終了しない。非同期処理のとき動作する(#1010) | きょうせいしゅうりょうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
691
|
-
| 関数 | 終了 | | Nodeでプログラム実行を強制終了する | しゅうりょう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
692
|
-
| 関数 | OS取得 | | OSプラットフォームを返す(darwin/win32/linux) | OSしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
693
|
-
| 関数 | OSアーキテクチャ取得 | | OSアーキテクチャを返す | OSあーきてくちゃしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
689
|
+
| 関数 | 終 | | Nodeでプログラム実行を強制終了する | おわる | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L547
|
|
690
|
+
| 関数 | 強制終了時 | FUNCを | Nodeでctrl+cでプログラムの実行が終了した時FUNCを実行する。もしFUNCが偽を返すと終了しない。非同期処理のとき動作する(#1010) | きょうせいしゅうりょうしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L556
|
|
691
|
+
| 関数 | 終了 | | Nodeでプログラム実行を強制終了する | しゅうりょう | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L571
|
|
692
|
+
| 関数 | OS取得 | | OSプラットフォームを返す(darwin/win32/linux) | OSしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L580
|
|
693
|
+
| 関数 | OSアーキテクチャ取得 | | OSアーキテクチャを返す | OSあーきてくちゃしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L588
|
|
694
694
|
●コマンドラインと標準入出力
|
|
695
|
-
| 定数 | コマンドライン | | '' | こまんどらいん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
696
|
-
| 定数 | ナデシコランタイム | | '' | なでしこらんたいむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
697
|
-
| 定数 | ナデシコランタイムパス | | '' | なでしこらんたいむぱす | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
698
|
-
| 関数 | 標準入力取得時 | CALLBACKを | 標準入力を一行取得した時に、無名関数(あるいは、文字列で関数名を指定)F(s: string)を実行する | ひょうじゅんにゅうりょくしゅとくしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
699
|
-
| 関数 | 尋 | MSGと/MSGを | 標準入力を一行取得する | たずねる | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
695
|
+
| 定数 | コマンドライン | | '' | こまんどらいん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L593
|
|
696
|
+
| 定数 | ナデシコランタイム | | '' | なでしこらんたいむ | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L594
|
|
697
|
+
| 定数 | ナデシコランタイムパス | | '' | なでしこらんたいむぱす | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L595
|
|
698
|
+
| 関数 | 標準入力取得時 | CALLBACKを | 標準入力を一行取得した時に、無名関数(あるいは、文字列で関数名を指定)F(s: string)を実行する | ひょうじゅんにゅうりょくしゅとくしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L600
|
|
699
|
+
| 関数 | 尋 | MSGと/MSGを | 標準入力を一行取得する | たずねる | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L615
|
|
700
700
|
●テスト
|
|
701
|
-
| 関数 | ASSERT等 | AとBが | mochaによるテストで、ASSERTでAとBが正しいことを報告する | ASSERTひとしい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
701
|
+
| 関数 | ASSERT等 | AとBが | mochaによるテストで、ASSERTでAとBが正しいことを報告する | ASSERTひとしい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L635
|
|
702
702
|
●ネットワーク
|
|
703
|
-
| 関数 | 自分IPアドレス取得 | | ネットワークアダプターからIPアドレス(IPv4)を取得して配列で返す | じぶんIPあどれすしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
704
|
-
| 関数 | 自分IPV6アドレス取得 | | ネットワークアダプターからIPアドレス(IPv6)を取得して配列で返す | じぶんIPV6あどれすしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
703
|
+
| 関数 | 自分IPアドレス取得 | | ネットワークアダプターからIPアドレス(IPv4)を取得して配列で返す | じぶんIPあどれすしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L644
|
|
704
|
+
| 関数 | 自分IPV6アドレス取得 | | ネットワークアダプターからIPアドレス(IPv6)を取得して配列で返す | じぶんIPV6あどれすしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L666
|
|
705
705
|
●Ajax
|
|
706
|
-
| 関数 | AJAX送信時 | CALLBACKのURLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータを送信し、成功するとcallbackが実行される。その際『対象』にデータが代入される。 | AJAXそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
707
|
-
| 関数 | AJAX受信時 | CALLBACKでURLから/URLを | 非同期通信(Ajax)でURLにデータを送信し、成功するとcallbackが実行される。その際『対象』にデータが代入される。 | AJAXそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
708
|
-
| 関数 | GET送信時 | CALLBACKのURLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータを送信し、成功するとcallbackが実行される。その際『対象』にデータが代入される。 | GETそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
709
|
-
| 関数 | POST送信時 | CALLBACKのURLまでPARAMSを/URLへ/URLに | AjaxでURLにPARAMSをPOST送信し『対象』にデータを設定 | POSTそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
710
|
-
| 関数 | POSTフォーム送信時 | CALLBACKのURLまでPARAMSを/URLへ/URLに | AjaxでURLにPARAMSをフォームとしてPOST送信し『対象』にデータを設定 | POSTふぉーむそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
711
|
-
| 関数 | AJAX失敗時 | CALLBACKの | Ajax命令でエラーが起きたとき | AJAXえらーしっぱいしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
712
|
-
| 定数 | AJAXオプション | | '' | Ajax関連のオプションを指定 | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
713
|
-
| 関数 | AJAXオプション設定 | OPTIONに/OPTIONへ/OPTIONと | Ajax命令でオプションを設定 | AJAXおぷしょんせってい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
714
|
-
| 関数 | AJAX保障送信 | URLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータの送信を開始する非同期処理オブジェクト(Promise)を作成する。 | AJAXほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
715
|
-
| 関数 | HTTP保障取得 | URLの/URLから/URLを | 非同期通信(Ajax)でURLにデータの送信を開始する非同期処理オブジェクト(Promise)を作成する。 | HTTPほしょうしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
716
|
-
| 関数 | GET保障送信 | URLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータの送信を開始する非同期処理オブジェクト(Promise)を作成する。 | GETほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
717
|
-
| 関数 | POST保障送信 | URLまでPARAMSを/URLへ/URLに | 非同期通信(Ajax)でURLにPARAMSをPOST送信を開始する非同期処理オブジェクト(Promise)を作成する。 | POSTほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
718
|
-
| 関数 | POSTフォーム保障送信 | URLまでPARAMSを/URLへ/URLに | 非同期通信(Ajax)でURLにPARAMSをフォームとしてPOST送信を開始する非同期処理オブジェクト(Promise)を作成する。 | POSTふぉーむほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
719
|
-
| 関数 | AJAX内容取得 | RESからTYPEで | 非同期通信(Ajax)の応答から内容を指定した形式で取り出すための非同期処理オブジェクト(Promise)を返す。 | AJAXないようしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
720
|
-
| 関数 | AJAX受信 | URLから/URLを | 「!非同期モード」で非同期通信(Ajax)でURLからデータを受信する。『AJAXオプション』を指定できる。結果は変数『対象』に入る | AJAXじゅしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
706
|
+
| 関数 | AJAX送信時 | CALLBACKのURLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータを送信し、成功するとcallbackが実行される。その際『対象』にデータが代入される。 | AJAXそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L686
|
|
707
|
+
| 関数 | AJAX受信時 | CALLBACKでURLから/URLを | 非同期通信(Ajax)でURLにデータを送信し、成功するとcallbackが実行される。その際『対象』にデータが代入される。 | AJAXそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L705
|
|
708
|
+
| 関数 | GET送信時 | CALLBACKのURLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータを送信し、成功するとcallbackが実行される。その際『対象』にデータが代入される。 | GETそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L714
|
|
709
|
+
| 関数 | POST送信時 | CALLBACKのURLまでPARAMSを/URLへ/URLに | AjaxでURLにPARAMSをPOST送信し『対象』にデータを設定 | POSTそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L723
|
|
710
|
+
| 関数 | POSTフォーム送信時 | CALLBACKのURLまでPARAMSを/URLへ/URLに | AjaxでURLにPARAMSをフォームとしてPOST送信し『対象』にデータを設定 | POSTふぉーむそうしんしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L752
|
|
711
|
+
| 関数 | AJAX失敗時 | CALLBACKの | Ajax命令でエラーが起きたとき | AJAXえらーしっぱいしたとき | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L777
|
|
712
|
+
| 定数 | AJAXオプション | | '' | Ajax関連のオプションを指定 | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L781
|
|
713
|
+
| 関数 | AJAXオプション設定 | OPTIONに/OPTIONへ/OPTIONと | Ajax命令でオプションを設定 | AJAXおぷしょんせってい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L786
|
|
714
|
+
| 関数 | AJAX保障送信 | URLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータの送信を開始する非同期処理オブジェクト(Promise)を作成する。 | AJAXほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L795
|
|
715
|
+
| 関数 | HTTP保障取得 | URLの/URLから/URLを | 非同期通信(Ajax)でURLにデータの送信を開始する非同期処理オブジェクト(Promise)を作成する。 | HTTPほしょうしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L806
|
|
716
|
+
| 関数 | GET保障送信 | URLまで/URLへ/URLに | 非同期通信(Ajax)でURLにデータの送信を開始する非同期処理オブジェクト(Promise)を作成する。 | GETほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L815
|
|
717
|
+
| 関数 | POST保障送信 | URLまでPARAMSを/URLへ/URLに | 非同期通信(Ajax)でURLにPARAMSをPOST送信を開始する非同期処理オブジェクト(Promise)を作成する。 | POSTほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L824
|
|
718
|
+
| 関数 | POSTフォーム保障送信 | URLまでPARAMSを/URLへ/URLに | 非同期通信(Ajax)でURLにPARAMSをフォームとしてPOST送信を開始する非同期処理オブジェクト(Promise)を作成する。 | POSTふぉーむほしょうそうしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L847
|
|
719
|
+
| 関数 | AJAX内容取得 | RESからTYPEで | 非同期通信(Ajax)の応答から内容を指定した形式で取り出すための非同期処理オブジェクト(Promise)を返す。 | AJAXないようしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L863
|
|
720
|
+
| 関数 | AJAX受信 | URLから/URLを | 「!非同期モード」で非同期通信(Ajax)でURLからデータを受信する。『AJAXオプション』を指定できる。結果は変数『対象』に入る | AJAXじゅしん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L888
|
|
721
721
|
●新AJAX
|
|
722
|
-
| 関数 | AJAXテキスト取得 | URLから | AJAXでURLにアクセスしテキスト形式で結果を得る。送信時AJAXオプションの値を参照。 | AJAXてきすとしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
723
|
-
| 関数 | AJAX_JSON取得 | URLから | AJAXでURLにアクセスしJSONの結果を得て、送信時AJAXオプションの値を参照。 | AJAX_JSONしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
724
|
-
| 関数 | AJAXバイナリ取得 | URLから | AJAXでURLにアクセスしバイナリ(arrayBuffer)形式で結果を得る。送信時AJAXオプションの値を参照。 | AJAXばいなりしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
722
|
+
| 関数 | AJAXテキスト取得 | URLから | AJAXでURLにアクセスしテキスト形式で結果を得る。送信時AJAXオプションの値を参照。 | AJAXてきすとしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L918
|
|
723
|
+
| 関数 | AJAX_JSON取得 | URLから | AJAXでURLにアクセスしJSONの結果を得て、送信時AJAXオプションの値を参照。 | AJAX_JSONしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L932
|
|
724
|
+
| 関数 | AJAXバイナリ取得 | URLから | AJAXでURLにアクセスしバイナリ(arrayBuffer)形式で結果を得る。送信時AJAXオプションの値を参照。 | AJAXばいなりしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L946
|
|
725
725
|
●文字コード
|
|
726
|
-
| 関数 | 文字コード変換サポート判定 | CODEの/CODEを | 文字コードCODEをサポートしているか確認 | もじこーどさぽーとはんてい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
727
|
-
| 関数 | SJIS変換 | STRに/STRへ/STRを | (v1非互換)文字列をShift_JISのバイナリバッファに変換 | SJISへんかん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
728
|
-
| 関数 | SJIS取得 | BUFから/BUFを/BUFで | Shift_JISのバイナリバッファを文字列に変換 | SJISしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
729
|
-
| 関数 | エンコーディング変換 | SをCODEへ/CODEで | 文字列SをCODEへ変換してバイナリバッファを返す | えんこーでぃんぐへんかん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
730
|
-
| 関数 | エンコーディング取得 | BUFをCODEから/CODEで | バイナリバッファBUFをCODEから変換して返す | えんこーでぃんぐしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
726
|
+
| 関数 | 文字コード変換サポート判定 | CODEの/CODEを | 文字コードCODEをサポートしているか確認 | もじこーどさぽーとはんてい | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L960
|
|
727
|
+
| 関数 | SJIS変換 | STRに/STRへ/STRを | (v1非互換)文字列をShift_JISのバイナリバッファに変換 | SJISへんかん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L968
|
|
728
|
+
| 関数 | SJIS取得 | BUFから/BUFを/BUFで | Shift_JISのバイナリバッファを文字列に変換 | SJISしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L977
|
|
729
|
+
| 関数 | エンコーディング変換 | SをCODEへ/CODEで | 文字列SをCODEへ変換してバイナリバッファを返す | えんこーでぃんぐへんかん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L986
|
|
730
|
+
| 関数 | エンコーディング取得 | BUFをCODEから/CODEで | バイナリバッファBUFをCODEから変換して返す | えんこーでぃんぐしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L995
|
|
731
731
|
●ハッシュ関数
|
|
732
|
-
| 関数 | ハッシュ関数一覧取得 | | 利用可能なハッシュ関数の一覧を返す | はっしゅかんすういちらんしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
733
|
-
| 関数 | ハッシュ値計算 | SをALGのENCで | データSをアルゴリズムALG(sha256/sha512/md5)のエンコーディングENC(hex/base64)でハッシュ値を計算して返す | はっしゅちけいさん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#
|
|
732
|
+
| 関数 | ハッシュ関数一覧取得 | | 利用可能なハッシュ関数の一覧を返す | はっしゅかんすういちらんしゅとく | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L1005
|
|
733
|
+
| 関数 | ハッシュ値計算 | SをALGのENCで | データSをアルゴリズムALG(sha256/sha512/md5)のエンコーディングENC(hex/base64)でハッシュ値を計算して返す | はっしゅちけいさん | https://github.com/kujirahand/nadesiko3/tree/master/src/plugin_node.mts#L1013
|
|
734
734
|
|
|
735
735
|
|
|
736
736
|
■plugin_httpserver(基本プラグイン,cnako)
|
|
@@ -1040,6 +1040,7 @@
|
|
|
1040
1040
|
| 定数 | PLUGIN_PHPバージョン | | '0.0.1' | PLUGIN_PHPばーじょん | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1041
1041
|
●PHPシステム
|
|
1042
1042
|
| 関数 | PHP取込 | FILEを/FILEの/FILEから | PHPファイルを取り込む。 | PHPとりこむ | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1043
|
+
| 関数 | PHP関数実行 | FをARGSで/ARGSにて | PHPの関数Fを引数ARGSで実行する。 | PHPかんすうじっこう | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1043
1044
|
| 関数 | セッション開始 | | PHPセッションを開始する。 | せっしょんかいし | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1044
1045
|
| 関数 | クッキー取得 | KEYをDEFで/DEFにて | cookieパラメータのKEYを、省略値DEFで取得する | くっきーしゅとく | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1045
1046
|
| 関数 | クッキー設定 | KEYをVへ/Vに | cookieのKEYをVに設定する | くっきーせってい | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
@@ -1065,6 +1066,17 @@
|
|
|
1065
1066
|
| 関数 | PDO挿入ID取得 | | PDO実行の結果、挿入したIDを得る。 | PDOそうにゅうIDしゅとく | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1066
1067
|
●HTML
|
|
1067
1068
|
| 関数 | HTML変換 | Sを/Sから | 文字列SをHTMLに変換して返す | HTMLへんかん | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1068
|
-
| 関数 | HTML埋込 | SにDICを/Sへ | 文字列Sの中に辞書型データDICの値を埋め込んで返す。書式は「xxx[[変数名]]xx」のように書く。展開時に安全にHTML変換する。変換したくないものには[[変数名/raw]]と書く。または[[変数名/書式]]を記述(書式はsprintfかdate/time/datetime)。 | HTMLうめこむ | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1069
|
+
| 関数 | HTML埋込 | SにDICを/Sへ | 文字列Sの中に辞書型データDICの値を埋め込んで返す。書式は「xxx[[変数名]]xx」のように書く。展開時に安全にHTML変換する。変換したくないものには[[変数名/raw]]と書く。改行を変換したい場合は[[変数名/br]]と書く。または[[変数名/書式]]を記述(書式はsprintfかdate/time/datetime)。 | HTMLうめこむ | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1070
|
+
●KUDB
|
|
1071
|
+
| 関数 | KUDB接続 | DBFILEに/DBFILEへ/DBFILEの | 簡易ドキュメントデータベースKUDBに接続する。DBにはファイルパスを指定する。 | KUDBせつぞく | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1072
|
+
| 関数 | KUDB全取得 | | KUDBに挿入したドキュメントを全部返す | KUDBぜんしゅとく | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1073
|
+
| 関数 | KUDB部分取得 | INDEXからCOUNTだけ/COUNTを | KUDBの(0起点)INDEXからCOUNT件だけ取得 | KUDBぶぶんしゅとく | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1074
|
+
| 関数 | KUDB末尾取得 | INDEXからCOUNTだけ/COUNTを | KUDBの(0起点)末尾から数えてINDEXからCOUNT件取得 | KUDBまつびしゅとく | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1075
|
+
| 関数 | KUDB挿入 | Vを | KUDBにオブジェクトVを挿入する(TAGプロパティを指定すると検索などに使える) | KUDBそうにゅう | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1076
|
+
| 関数 | KUDB更新 | IDをVに/Vへ | KUDBのIDをVに更新 | KUDBこうしん | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1077
|
+
| 関数 | KUDB削除 | IDを | KUDBのIDを削除する | KUDBさくじょ | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1078
|
+
| 関数 | KUDBタグ検索 | TAGの/TAGを | KUDBでデータ一覧からTAGプロパティを検索する | KUDBたぐけんさく | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1079
|
+
| 関数 | KUDBタグ削除 | TAGの/TAGを | KUDBでTAGを指定して削除 | KUDBたぐさくじょ | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1080
|
+
| 関数 | KUDBタグ更新 | TAGをVに/Vへ | KUDBで指定TAGの内容をVに更新 | KUDBたぐこうしん | https://github.com/kujirahand/nadesiko3php/blob/master/src/plugin_php.php#L90
|
|
1069
1081
|
|
|
1070
1082
|
|
|
@@ -988,6 +988,7 @@
|
|
|
988
988
|
|PLUGIN_PHP�o�[�W����,"","'0.0.1'",0,,�ϐ�,PLUGIN_PHP�[�����
|
|
989
989
|
- PHP�V�X�e��
|
|
990
990
|
|PHP�捞,"FILE��|FILE��|FILE����","PHP�t�@�C������荞�ށB",0,,����,PHP�Ƃ肱��
|
|
991
|
+
|PHP�����s,"F��ARGS��|ARGS�ɂ�","PHP�̊�F������ARGS�Ŏ��s����B",0,,����,PHP������������
|
|
991
992
|
|�Z�b�V�����J�n,"","PHP�Z�b�V�������J�n����B",0,,����,�����������
|
|
992
993
|
|�N�b�L�[�擾,"KEY��DEF��|DEF�ɂ�","cookie�p�����[�^��KEY���A�ȗ��lDEF�Ŏ擾����",0,,����,�������[����Ƃ�
|
|
993
994
|
|�N�b�L�[�ݒ�,"KEY��V��|V��","cookie��KEY��V�ɐݒ肷��",0,,����,�������[�����Ă�
|
|
@@ -1013,4 +1014,15 @@
|
|
|
1013
1014
|
|PDO�}��ID�擾,"","PDO���s�̌��ʁA�}������ID��B",0,,����,PDO�����ɂイID����Ƃ�
|
|
1014
1015
|
- HTML
|
|
1015
1016
|
|HTML�ϊ�,"S��|S����","������S��HTML�ɕϊ����ĕԂ�",0,,����,HTML�ւ�
|
|
1016
|
-
|HTML����,"S��DIC��|S��","������S�̒��Ɏ����^�f�[�^DIC�̒l�ߍ���ŕԂ��B�����́uxxx[[�ϐ���]]xx�v�̂悤�ɏ����B�W�J���Ɉ��S��HTML�ϊ�����B�ϊ��������Ȃ����̂ɂ�[[�ϐ���/raw]]�Ə����B�܂���[[�ϐ���/����]]���L�q(������sprintf��date/time/datetime)�B",0,,����,HTML���߂���
|
|
1017
|
+
|HTML����,"S��DIC��|S��","������S�̒��Ɏ����^�f�[�^DIC�̒l�ߍ���ŕԂ��B�����́uxxx[[�ϐ���]]xx�v�̂悤�ɏ����B�W�J���Ɉ��S��HTML�ϊ�����B�ϊ��������Ȃ����̂ɂ�[[�ϐ���/raw]]�Ə����B���s��ϊ��������ꍇ��[[�ϐ���/br]]�Ə����B�܂���[[�ϐ���/����]]���L�q(������sprintf��date/time/datetime)�B",0,,����,HTML���߂���
|
|
1018
|
+
- KUDB
|
|
1019
|
+
|KUDB�ڑ�,"DBFILE��|DBFILE��|DBFILE��","�ȈՃh�L�������g�f�[�^�x�[�XKUDB�ɐڑ�����BDB�ɂ̓t�@�C���p�X���w�肷��B",0,,����,KUDB������
|
|
1020
|
+
|KUDB�S�擾,"","KUDB�ɑ}�������h�L�������g��S���Ԃ�",0,,����,KUDB����Ƃ�
|
|
1021
|
+
|KUDB�����擾,"INDEX����COUNT����|COUNT��","KUDB��(0�N�_)INDEX����COUNT�������擾",0,,����,KUDB�ԂԂ�Ƃ�
|
|
1022
|
+
|KUDB�����擾,"INDEX����COUNT����|COUNT��","KUDB��(0�N�_)�������琔����INDEX����COUNT���擾",0,,����,KUDB�܂т���Ƃ�
|
|
1023
|
+
|KUDB�}��,"V��","KUDB�ɃI�u�W�F�N�gV��}������(TAG�v���p�e�B���w�肷��ƌ����ȂǂɎg����)",0,,����,KUDB�����ɂイ
|
|
1024
|
+
|KUDB�X�V,"ID��V��|V��","KUDB��ID��V�ɍX�V",0,,����,KUDB��������
|
|
1025
|
+
|KUDB�폜,"ID��","KUDB��ID���폜����",0,,����,KUDB��������
|
|
1026
|
+
|KUDB�^�O����,"TAG��|TAG��","KUDB�Ńf�[�^�ꗗ����TAG�v���p�e�B����������",0,,����,KUDB��������
|
|
1027
|
+
|KUDB�^�O�폜,"TAG��|TAG��","KUDB��TAG���w�肵�č폜",0,,����,KUDB������������
|
|
1028
|
+
|KUDB�^�O�X�V,"TAG��V��|V��","KUDB�Ŏw��TAG�̓��e��V�ɍX�V",0,,����,KUDB������������
|
package/core/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nadesiko3core",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.64",
|
|
4
4
|
"description": "Japanese Programming Language Nadesiko v3 core",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "mocha ./test",
|
|
9
|
+
"test:dncl2": "mocha ./test/dncl2_test.mjs",
|
|
10
|
+
"test:indent": "mocha ./test/indent_test.mjs",
|
|
11
|
+
"test:indent_inline": "mocha ./test/inline_indent_test.mjs",
|
|
9
12
|
"tsc": "tsc --watch",
|
|
10
13
|
"build": "cnako3 batch/build_nako_version.nako3 && tsc",
|
|
11
14
|
"eslint": "eslint ./src/*.mts",
|
package/core/src/nako3.mjs
CHANGED
|
@@ -6,6 +6,7 @@ import { generateJS, NakoGenOptions } from './nako_gen.mjs';
|
|
|
6
6
|
import { NakoGenASync } from './nako_gen_async.mjs';
|
|
7
7
|
import { convertInlineIndent, convertIndentSyntax } from './nako_indent_inline.mjs';
|
|
8
8
|
import { convertDNCL } from './nako_from_dncl.mjs';
|
|
9
|
+
import { convertDNCL2 } from './nako_from_dncl2.mjs';
|
|
9
10
|
import { SourceMappingOfTokenization, SourceMappingOfIndentSyntax, OffsetToLineColumn, subtractSourceMapByPreCodeLength } from './nako_source_mapping.mjs';
|
|
10
11
|
import { NakoLexerError, NakoImportError, NakoSyntaxError, InternalLexerError } from './nako_errors.mjs';
|
|
11
12
|
import { NakoLogger } from './nako_logger.mjs';
|
|
@@ -275,12 +276,14 @@ export class NakoCompiler {
|
|
|
275
276
|
const map = subtractSourceMapByPreCodeLength({ ...dest, line }, preCode);
|
|
276
277
|
throw new NakoLexerError(err.msg, map.startOffset, map.endOffset, map.line, filename);
|
|
277
278
|
}
|
|
279
|
+
// DNCL ver2 (core #41)
|
|
280
|
+
tokens = convertDNCL2(tokens);
|
|
281
|
+
// DNCL ver1 (#1140)
|
|
282
|
+
tokens = convertDNCL(tokens);
|
|
278
283
|
// インデント構文を変換 #596
|
|
279
284
|
tokens = convertIndentSyntax(tokens);
|
|
280
285
|
// インラインインデントを変換 #1215
|
|
281
286
|
tokens = convertInlineIndent(tokens);
|
|
282
|
-
// DNCL構文 (#1140)
|
|
283
|
-
tokens = convertDNCL(tokens);
|
|
284
287
|
// ソースコード上の位置に変換
|
|
285
288
|
tokens = tokens.map((token) => {
|
|
286
289
|
const dest = indentationSyntaxSourceMapping.map(tokenizationSourceMapping.map(token.preprocessedCodeOffset || 0), tokenizationSourceMapping.map((token.preprocessedCodeOffset || 0) + (token.preprocessedCodeLength || 0)));
|
package/core/src/nako3.mts
CHANGED
|
@@ -11,6 +11,7 @@ import { NakoGen, generateJS, NakoGenOptions, NakoGenResult } from './nako_gen.m
|
|
|
11
11
|
import { NakoGenASync } from './nako_gen_async.mjs'
|
|
12
12
|
import { convertInlineIndent, convertIndentSyntax } from './nako_indent_inline.mjs'
|
|
13
13
|
import { convertDNCL } from './nako_from_dncl.mjs'
|
|
14
|
+
import { convertDNCL2 } from './nako_from_dncl2.mjs'
|
|
14
15
|
import { SourceMappingOfTokenization, SourceMappingOfIndentSyntax, OffsetToLineColumn, subtractSourceMapByPreCodeLength } from './nako_source_mapping.mjs'
|
|
15
16
|
import { NakoLexerError, NakoImportError, NakoSyntaxError, InternalLexerError } from './nako_errors.mjs'
|
|
16
17
|
import { NakoLogger } from './nako_logger.mjs'
|
|
@@ -355,15 +356,15 @@ export class NakoCompiler {
|
|
|
355
356
|
const map = subtractSourceMapByPreCodeLength({ ...dest, line }, preCode)
|
|
356
357
|
throw new NakoLexerError(err.msg, map.startOffset, map.endOffset, map.line, filename)
|
|
357
358
|
}
|
|
359
|
+
// DNCL ver2 (core #41)
|
|
360
|
+
tokens = convertDNCL2(tokens)
|
|
361
|
+
// DNCL ver1 (#1140)
|
|
362
|
+
tokens = convertDNCL(tokens)
|
|
358
363
|
// インデント構文を変換 #596
|
|
359
364
|
tokens = convertIndentSyntax(tokens)
|
|
360
|
-
|
|
361
365
|
// インラインインデントを変換 #1215
|
|
362
366
|
tokens = convertInlineIndent(tokens)
|
|
363
367
|
|
|
364
|
-
// DNCL構文 (#1140)
|
|
365
|
-
tokens = convertDNCL(tokens)
|
|
366
|
-
|
|
367
368
|
// ソースコード上の位置に変換
|
|
368
369
|
tokens = tokens.map((token) => {
|
|
369
370
|
const dest = indentationSyntaxSourceMapping.map(
|