封鎖 >VariableMap
VariableMap 類別
變數對應的類別。這包含字典資料結構,變數類型可做為索引鍵,並以變數形式列出變數清單。變數清單會以鍵表示的類型。
Signature:
export declare class VariableMap
建構函式
屬性
方法
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間:2024-08-22 (世界標準時間)。"],[[["The `VariableMap` class manages variables within a Blockly workspace, storing them in a dictionary-like structure organized by type."],["It provides methods for creating, deleting, renaming, and retrieving variables, as well as for finding their uses within the workspace."],["`VariableMap` also allows clearing all variables and obtaining lists of variables based on type or name."],["Each variable is associated with a name, type, and unique ID, which are used for identification and management purposes."]]],[]]