Represents a method declaration.
- Inheritance:
-
object
Ast
Node TypeBase Member objectDeclaration
- Implements:
-
IDecorated
Member INamedType IAstMember Node
Remarks
This type was generated by the Actipro Language Designer tool v12.2.572.0 (http://www.actiprosoftware.com).
Constructors
MethodDeclaration()
Initializes an instance of the class.
Properties
Body
Gets or sets the body.
Property Value
- Method
Body : The body.
Handles
Gets the handles.
Property Value
- IList<Qualified
Name >: The handles.
HasHandles
Returns whether the Handles collection property contains at least one item.
Property Value
- bool:
true
if there is at least one item in the collection; otherwise,false
.
HasImplements
Returns whether the Implements collection property contains at least one item.
Property Value
- bool:
true
if there is at least one item in the collection; otherwise,false
.
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
.
HasTypeParameters
Returns whether the Type
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.
Implements
Gets the implements.
Property Value
- IList<Qualified
Name >: The implements.
Kind
Gets a Type
Property Value
- Type
Member :Declaration Kind A Type
Member indicating the kind of type member.Declaration Kind
Name
Gets or sets the name.
Property Value
- Simple
Name : The name.
Parameters
Gets the parameters.
Property Value
- IList<Parameter
Declaration >: The parameters.
ReturnType
Gets or sets the return type.
Property Value
- Return
Type :Declaration The return type.
TypeParameters
Gets the type parameters.
Property Value
- IList<Type
Parameter >: The type 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
-
Type
Member Declaration. Attribute Sections -
Type
Member Declaration. Has Attribute Sections -
Type
Member Declaration. Documentation Comment -
Type
Member Declaration. Modifiers -
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()