IFunctionDefinition Interface
Provides the base requirements of a function definition.
public interface IFunctionDefinition : IReflectionDefinition
Properties
DeclaringModule
The reference to the module in which the function is declared.
DeclaringType
The declaring type, if the function is a method.
Docstring
The docstring for the type.
IsClassMethod
Indicates whether the function is a class method.
IsMethod
Indicates whether the function is a method.
IsPublic
Indicates whether the function is public.
IsStaticMethod
Indicates whether the function is a static method.
Parameters
The collection of parameters to the current function.
ReturnType
An ITypeDefinition indicating the return type, if known.
ReturnTypeExpressionTextRange
The return type expression TextRange, if known.
TextRange
The TextRange of the function definition, if known.