Class ReturnStatementSyntax
Represents a return statement.
Inheritance
System.Object
ReturnStatementSyntax
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 ReturnStatementSyntax : StatementSyntax
Properties
|
Improve this Doc
View Source
Expressions
The expressions being returned.
Declaration
public SeparatedSyntaxList<ExpressionSyntax> Expressions { get; }
Property Value
|
Improve this Doc
View Source
ReturnKeyword
Declaration
public SyntaxToken ReturnKeyword { get; }
Property Value
|
Improve this Doc
View Source
SemicolonToken
The semicolon at the end of the statement (if any).
Declaration
public override SyntaxToken SemicolonToken { get; }
Property Value
Overrides
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
AddExpressions(ExpressionSyntax[])
Declaration
public ReturnStatementSyntax AddExpressions(params ExpressionSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken)
Declaration
public ReturnStatementSyntax Update(SyntaxToken returnKeyword, SeparatedSyntaxList<ExpressionSyntax> expressions, SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithExpressions(SeparatedSyntaxList<ExpressionSyntax>)
Declaration
public ReturnStatementSyntax WithExpressions(SeparatedSyntaxList<ExpressionSyntax> expressions)
Parameters
Returns
|
Improve this Doc
View Source
WithReturnKeyword(SyntaxToken)
Declaration
public ReturnStatementSyntax WithReturnKeyword(SyntaxToken returnKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithSemicolonToken(SyntaxToken)
Declaration
public ReturnStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
Parameters
Returns
Implements
IFormattable
Extension Methods