blockly > VariableModel

VariableModel-Klasse

Klasse für ein Variablenmodell. Enthält Informationen für die Variable, einschließlich Name, ID und Typ.

Unterschrift:

export declare class VariableModel 

Konstruktoren

Konstruktor Modifikatoren Beschreibung
(Konstruktor)(Arbeitsbereich, Name, Opt-Typ, Opt-ID) Erstellt eine neue Instanz der VariableModel-Klasse

Attribute

Attribut Modifikatoren Typ Beschreibung
name String
type String
Workspace Workspace

Methoden

Methode Modifikatoren Beschreibung
getId()