Class ElseIfExpressionClauseSyntax
Represents an elseif clause in an if expression.
Inheritance
System.Object
ElseIfExpressionClauseSyntax
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 ElseIfExpressionClauseSyntax : LuaSyntaxNode
Properties
|
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
|
Improve this Doc
View Source
Value
The value to be returned if the condition is true.
Declaration
public ExpressionSyntax Value { 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
Update(SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax)
Declaration
public ElseIfExpressionClauseSyntax Update(SyntaxToken elseIfKeyword, ExpressionSyntax condition, SyntaxToken thenKeyword, ExpressionSyntax value)
Parameters
Returns
|
Improve this Doc
View Source
WithCondition(ExpressionSyntax)
Declaration
public ElseIfExpressionClauseSyntax WithCondition(ExpressionSyntax condition)
Parameters
Returns
|
Improve this Doc
View Source
WithElseIfKeyword(SyntaxToken)
Declaration
public ElseIfExpressionClauseSyntax WithElseIfKeyword(SyntaxToken elseIfKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithThenKeyword(SyntaxToken)
Declaration
public ElseIfExpressionClauseSyntax WithThenKeyword(SyntaxToken thenKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithValue(ExpressionSyntax)
Declaration
public ElseIfExpressionClauseSyntax WithValue(ExpressionSyntax value)
Parameters
Returns
Implements
IFormattable
Extension Methods