Class AnonymousFunctionExpressionSyntax
Represents an anonymous function expression.
Inheritance
System.Object
AnonymousFunctionExpressionSyntax
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 AnonymousFunctionExpressionSyntax : ExpressionSyntax
Properties
|
Improve this Doc
View Source
Body
Declaration
public StatementListSyntax Body { get; }
Property Value
|
Improve this Doc
View Source
EndKeyword
Declaration
public SyntaxToken EndKeyword { get; }
Property Value
|
Improve this Doc
View Source
FunctionKeyword
Declaration
public SyntaxToken FunctionKeyword { get; }
Property Value
|
Improve this Doc
View Source
Parameters
Declaration
public ParameterListSyntax Parameters { get; }
Property Value
|
Improve this Doc
View Source
TypeBinding
The function's (optional) return type.
Declaration
public TypeBindingSyntax TypeBinding { 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
AddBodyStatements(StatementSyntax[])
Declaration
public AnonymousFunctionExpressionSyntax AddBodyStatements(params StatementSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
AddParametersParameters(ParameterSyntax[])
Declaration
public AnonymousFunctionExpressionSyntax AddParametersParameters(params ParameterSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
AddTypeParameterListNames(TypeParameterSyntax[])
Declaration
public AnonymousFunctionExpressionSyntax AddTypeParameterListNames(params TypeParameterSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, TypeBindingSyntax, StatementListSyntax, SyntaxToken)
Declaration
public AnonymousFunctionExpressionSyntax Update(SyntaxToken functionKeyword, TypeParameterListSyntax typeParameterList, ParameterListSyntax parameters, TypeBindingSyntax typeBinding, StatementListSyntax body, SyntaxToken endKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithBody(StatementListSyntax)
Declaration
public AnonymousFunctionExpressionSyntax WithBody(StatementListSyntax body)
Parameters
Returns
|
Improve this Doc
View Source
WithEndKeyword(SyntaxToken)
Declaration
public AnonymousFunctionExpressionSyntax WithEndKeyword(SyntaxToken endKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithFunctionKeyword(SyntaxToken)
Declaration
public AnonymousFunctionExpressionSyntax WithFunctionKeyword(SyntaxToken functionKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithParameters(ParameterListSyntax)
Declaration
public AnonymousFunctionExpressionSyntax WithParameters(ParameterListSyntax parameters)
Parameters
Returns
|
Improve this Doc
View Source
WithTypeBinding(TypeBindingSyntax)
Declaration
public AnonymousFunctionExpressionSyntax WithTypeBinding(TypeBindingSyntax typeBinding)
Parameters
Returns
|
Improve this Doc
View Source
WithTypeParameterList(TypeParameterListSyntax)
Declaration
public AnonymousFunctionExpressionSyntax WithTypeParameterList(TypeParameterListSyntax typeParameterList)
Parameters
Returns
Implements
IFormattable
Extension Methods