Class ElseIfClauseSyntax
Represents an elseif clause.
Inheritance
System.Object
ElseIfClauseSyntax
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 ElseIfClauseSyntax : LuaSyntaxNode
Properties
|
Improve this Doc
View Source
Body
Declaration
public StatementListSyntax Body { get; }
Property Value
|
Improve this Doc
View Source
Condition
Declaration
public ExpressionSyntax Condition { get; }
Property Value
|
Improve this Doc
View Source
ElseIfKeyword
Declaration
public SyntaxToken ElseIfKeyword { get; }
Property Value
|
Improve this Doc
View Source
ThenKeyword
Declaration
public SyntaxToken ThenKeyword { 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 ElseIfClauseSyntax AddBodyStatements(params StatementSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, ExpressionSyntax, SyntaxToken, StatementListSyntax)
Declaration
public ElseIfClauseSyntax Update(SyntaxToken elseIfKeyword, ExpressionSyntax condition, SyntaxToken thenKeyword, StatementListSyntax body)
Parameters
Returns
|
Improve this Doc
View Source
WithBody(StatementListSyntax)
Declaration
public ElseIfClauseSyntax WithBody(StatementListSyntax body)
Parameters
Returns
|
Improve this Doc
View Source
WithCondition(ExpressionSyntax)
Declaration
public ElseIfClauseSyntax WithCondition(ExpressionSyntax condition)
Parameters
Returns
|
Improve this Doc
View Source
WithElseIfKeyword(SyntaxToken)
Declaration
public ElseIfClauseSyntax WithElseIfKeyword(SyntaxToken elseIfKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithThenKeyword(SyntaxToken)
Declaration
public ElseIfClauseSyntax WithThenKeyword(SyntaxToken thenKeyword)
Parameters
Returns
Implements
IFormattable
Extension Methods