blockly > ASTNode > (Konstruktor)
ASTNode.Konstruktor
Erstellt eine neue Instanz der ASTNode
-Klasse
Unterschrift:
constructor(type: string, location: IASTNodeLocation, opt_params?: Params);
Parameter
Parameter | Typ | Beschreibung |
---|---|---|
Typ | String | Der Typ des Standorts. Muss in ASTNode.types sein. |
Standort | IASTKnotenStandort | Die Position in der AST. |
opt_params | Parameter | (Optional) Optionales Wörterbuch mit Optionen. |