Functions§
- annex_
b_ 🔒eval_ func_ names - body_
has_ 🔒use_ strict - 先頭の指令プロローグに
"use strict"が含まれるか判定する。 - can_
declare_ 🔒global_ function - ECMA-262 §9.1.1.4.16 CanDeclareGlobalFunction 相当の判定。
- can_
declare_ 🔒global_ var - ECMA-262 §9.1.1.4.15 CanDeclareGlobalVar 相当の判定。
- collect_
annex_ 🔒b_ block - collect_
annex_ 🔒b_ stmt - collect_
pattern_ 🔒names - collect_
top_ 🔒lexical_ names - collect_
var_ 🔒names - collect_
var_ 🔒names_ stmt - has_
intervening_ 🔒lex_ binding - maybe_
record_ 🔒annex_ b_ skip - note_
engine_ 🔒error - 【2026-11-03 診断】処理系が投げた例外を、文言ごとに初回だけ呼び出し元の関数名と記録する(最大 300 種類)。 BotGuard の VM は例外を内部で捕まえて黙って止まるので、Uncaught には出ない(TODO B0)。
- stmt_
has_ 🔒nested_ fn_ decl - sync_
annex_ 🔒b_ global_ function - Annex B.3.3.3: ブロック・
switch・try内の関数宣言がグローバルへ巻き上がるときはCreateGlobalVarBinding相当となり、既存プロパティがあれば属性(enumerable/configurable等)を変更せず値のみ更新する。 - sync_
global_ 🔒function_ binding - ECMA-262 §9.1.1.4.18 CreateGlobalFunctionBinding 相当:
globalThisに自前プロパティとして関数を登録する(基本はwritable/enumerable: true, configurable: false)。 - top_
function_ 🔒names - var_
names_ 🔒of - 文の並びから
varで宣言される名前を集める(巻き上げ用)。ブロック・制御構文・try/switch/ラベルの中へは入り、入れ子の関数(宣言・式)の本体へは入らない。 本体のvarの名前(重複なし、最初に現れた順)。