Projectregistry-listed

Declare Function

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

Registry listing does not certify support for every language or host environment. Check the selected target’s diagnostics and generated output.

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-
roleenumfunctionfunction = named method. constructor / destructor = how that language writes init/teardown. Not separate kinds. · enum: function, constructor, destructor
visibilityenumpublic- · enum: public, protected, private
bindingenuminstance- · enum: 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-