Class ElseClauseSyntax
Represents an else clause.
Inheritance
System.Object
ElseClauseSyntax
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 ElseClauseSyntax : LuaSyntaxNode
Properties
|
Improve this Doc
View Source
ElseBody
Declaration
public StatementListSyntax ElseBody { get; }
Property Value
|
Improve this Doc
View Source
ElseKeyword
Declaration
public SyntaxToken ElseKeyword { 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
AddElseBodyStatements(StatementSyntax[])
Declaration
public ElseClauseSyntax AddElseBodyStatements(params StatementSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, StatementListSyntax)
Declaration
public ElseClauseSyntax Update(SyntaxToken elseKeyword, StatementListSyntax elseBody)
Parameters
Returns
|
Improve this Doc
View Source
WithElseBody(StatementListSyntax)
Declaration
public ElseClauseSyntax WithElseBody(StatementListSyntax elseBody)
Parameters
Returns
|
Improve this Doc
View Source
WithElseKeyword(SyntaxToken)
Declaration
public ElseClauseSyntax WithElseKeyword(SyntaxToken elseKeyword)
Parameters
Returns
Implements
IFormattable
Extension Methods