Represents a function declaration.
- Inheritance:
-
object
Ast
Node objectBase
- Implements:
-
IDeclaration
IStatement
IFunction
IAst
Node
Remarks
This type was generated by the Actipro Language Designer tool v22.1.0.0 (http://www.actiprosoftware.com).
Constructors
FunctionDeclaration()
Initializes an instance of the class.
Properties
Body
Gets or sets the body.
Property Value
- Function
Body : The body.
HasParameters
Returns whether the Parameters collection property contains at least one item.
Property Value
- bool:
true
if there is at least one item in the collection; otherwise,false
.
Id
Gets the An integer value that identifies the type of AST node.
Property Value
- int:
The An integer value that identifies the type of AST node.
IsAsync
Gets or sets the is async.
Property Value
- bool:
The is async.
IsGenerator
Gets or sets the is generator.
Property Value
- bool:
The is generator.
Name
Gets or sets the name.
Property Value
- Identifier:
The name.
Parameters
Gets the parameters.
Methods
GetChildrenEnumerator()
Retrieves an IEnumerator
object that can iterate the child IAst
Returns
- IEnumerator<IAst
Node >: An
IEnumerator
object that can iterate the child IAstNode objects in this node.
Inherited Members
-
Ast
Node Base. Contains(int) -
Ast
Node Base. Find Child Node(int) -
Ast
Node Base. Find Descendant Node(int) -
Ast
Node Base. To String() -
Ast
Node Base. To Tree String(int) -
Ast
Node Base. Children -
Ast
Node Base. End Offset -
Ast
Node Base. Has Children -
Ast
Node Base. Length -
Ast
Node Base. Parent -
Ast
Node Base. Root -
Ast
Node Base. Start Offset -
Ast
Node Base. Value -
object.
Get Type() -
object.
Memberwise Clone() -
object.
Equals(object) -
object.
Equals(object, object) -
object.
Reference Equals(object, object) -
object.
Get Hash Code()