Projectstable

Declare Function

Declare Function (function_define) is a Project node. Semantics: function.declare. Ports and options below are generated from the syntax registry.

Overview

Kind id
function_define
Semantics
function.declare
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-
namestringFunction-
roleenumfunctionenum: function, constructor, destructor
visibilityenumpublicenum: public, protected, private
bindingenuminstanceenum: instance, static, module
isAbstractbooleanfalse-
isVirtualbooleanfalse-
isOverridebooleanfalse-
isAsyncbooleanfalse-
isGeneratorbooleanfalseMarks the function as a generator. Python def is enough; yield in the body also makes it a generator.
graphTabIdstring-