In This Article

IFunction Interface

An AST node for a function.

public interface IFunction : IAstNode

Remarks

This type was generated by the Actipro Language Designer tool v26.1.0 (http://www.actiprosoftware.com).

Properties

Body

The body.

FunctionBody? Body { get; set; }

Property Value

FunctionBody

HasParameters

Indicates whether the Parameters collection property contains at least one item.

bool HasParameters { get; }

Property Value

bool:

true if there is at least one item in the collection; otherwise, false.

IsAsync

The is async.

bool IsAsync { get; set; }

Property Value

bool

IsGenerator

The is generator.

bool IsGenerator { get; set; }

Property Value

bool

Name

The name.

Identifier? Name { get; set; }

Property Value

Identifier

Parameters

The collection of parameters.

IList<IPattern> Parameters { get; }

Property Value

IList<IPattern>

Inherited Members

Extension Methods