Class FunctionTypeSyntax
This node represents a function type.
Inheritance
System.Object
FunctionTypeSyntax
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Loretta.CodeAnalysis.Lua.dll
Syntax
public sealed class FunctionTypeSyntax : TypeSyntax
Properties
|
Improve this Doc
View Source
CloseParenthesisToken
Declaration
public SyntaxToken CloseParenthesisToken { get; }
Property Value
|
Improve this Doc
View Source
MinusGreaterThanToken
Declaration
public SyntaxToken MinusGreaterThanToken { get; }
Property Value
|
Improve this Doc
View Source
OpenParenthesisToken
Declaration
public SyntaxToken OpenParenthesisToken { get; }
Property Value
|
Improve this Doc
View Source
Parameters
Gets the list of the types of the function's parameters.
Declaration
public SeparatedSyntaxList<TypeSyntax> Parameters { get; }
Property Value
|
Improve this Doc
View Source
ReturnType
The return type of the function type.
Declaration
public TypeSyntax ReturnType { get; }
Property Value
|
Improve this Doc
View Source
TypeParameterList
Gets the type parameter list for this function (if any).
Declaration
public TypeParameterListSyntax TypeParameterList { get; }
Property Value
Methods
|
Improve this Doc
View Source
Accept(LuaSyntaxVisitor)
Declaration
public override void Accept(LuaSyntaxVisitor visitor)
Parameters
Overrides
|
Improve this Doc
View Source
Accept<TResult>(LuaSyntaxVisitor<TResult>)
Declaration
public override TResult Accept<TResult>(LuaSyntaxVisitor<TResult> visitor)
Parameters
Returns
Type Parameters
Overrides
Loretta.CodeAnalysis.Lua.LuaSyntaxNode.Accept<TResult>(Loretta.CodeAnalysis.Lua.LuaSyntaxVisitor<TResult>)
|
Improve this Doc
View Source
AddParameters(TypeSyntax[])
Declaration
public FunctionTypeSyntax AddParameters(params TypeSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
AddTypeParameterListNames(TypeParameterSyntax[])
Declaration
public FunctionTypeSyntax AddTypeParameterListNames(params TypeParameterSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(TypeParameterListSyntax, SyntaxToken, SeparatedSyntaxList<TypeSyntax>, SyntaxToken, SyntaxToken, TypeSyntax)
Declaration
public FunctionTypeSyntax Update(TypeParameterListSyntax typeParameterList, SyntaxToken openParenthesisToken, SeparatedSyntaxList<TypeSyntax> parameters, SyntaxToken closeParenthesisToken, SyntaxToken minusGreaterThanToken, TypeSyntax returnType)
Parameters
Returns
|
Improve this Doc
View Source
WithCloseParenthesisToken(SyntaxToken)
Declaration
public FunctionTypeSyntax WithCloseParenthesisToken(SyntaxToken closeParenthesisToken)
Parameters
Type |
Name |
Description |
SyntaxToken |
closeParenthesisToken |
|
Returns
|
Improve this Doc
View Source
WithMinusGreaterThanToken(SyntaxToken)
Declaration
public FunctionTypeSyntax WithMinusGreaterThanToken(SyntaxToken minusGreaterThanToken)
Parameters
Type |
Name |
Description |
SyntaxToken |
minusGreaterThanToken |
|
Returns
|
Improve this Doc
View Source
WithOpenParenthesisToken(SyntaxToken)
Declaration
public FunctionTypeSyntax WithOpenParenthesisToken(SyntaxToken openParenthesisToken)
Parameters
Returns
|
Improve this Doc
View Source
WithParameters(SeparatedSyntaxList<TypeSyntax>)
Declaration
public FunctionTypeSyntax WithParameters(SeparatedSyntaxList<TypeSyntax> parameters)
Parameters
Returns
|
Improve this Doc
View Source
WithReturnType(TypeSyntax)
Declaration
public FunctionTypeSyntax WithReturnType(TypeSyntax returnType)
Parameters
Returns
|
Improve this Doc
View Source
WithTypeParameterList(TypeParameterListSyntax)
Declaration
public FunctionTypeSyntax WithTypeParameterList(TypeParameterListSyntax typeParameterList)
Parameters
Returns
Implements
IFormattable
Extension Methods