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