Variablesstable

Declare Variable

Declare Variable (var_define) is a Variables node. Semantics: variable.define. Ports and options below are generated from the syntax registry.

Overview

Kind id
var_define
Semantics
variable.define
Source
CORE_NODE_REGISTRY

Detailed guidance for this kind is still being written. Ports and options below come from the syntax registry.

Ports

IdDirTypeLabel
exec_ininexecution-
exec_outoutexecution-

Options

IdTypeDefaultNotes
symbolIdstring-
namestringVariable-
typeenumdata_stringenum: data_string, data_number, data_boolean, data_object, data_array, data_any
enumTypestringWhen set, variable type is this enum; Default is the member name only (e.g. OK)
defaultstring-
visibilityenumpublicenum: public, protected, private
bindingenuminstanceenum: instance, static
isConstbooleanfalse-