Class NumericForStatementSyntax
Represents a numeric for statement.
Inheritance
System.Object
NumericForStatementSyntax
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 NumericForStatementSyntax : StatementSyntax
Properties
|
Improve this Doc
View Source
Body
Declaration
public StatementListSyntax Body { get; }
Property Value
|
Improve this Doc
View Source
DoKeyword
Declaration
public SyntaxToken DoKeyword { get; }
Property Value
|
Improve this Doc
View Source
EndKeyword
Declaration
public SyntaxToken EndKeyword { get; }
Property Value
|
Improve this Doc
View Source
EqualsToken
Declaration
public SyntaxToken EqualsToken { get; }
Property Value
|
Improve this Doc
View Source
FinalValue
The expression defining the final value of the loop variable.
Declaration
public ExpressionSyntax FinalValue { get; }
Property Value
|
Improve this Doc
View Source
FinalValueCommaToken
The comma separating the initial value from the final value.
Declaration
public SyntaxToken FinalValueCommaToken { get; }
Property Value
|
Improve this Doc
View Source
ForKeyword
Declaration
public SyntaxToken ForKeyword { get; }
Property Value
|
Improve this Doc
View Source
Identifier
Declaration
public TypedIdentifierNameSyntax Identifier { get; }
Property Value
|
Improve this Doc
View Source
InitialValue
The expression defining the initial value of the loop variable.
Declaration
public ExpressionSyntax InitialValue { 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
|
Improve this Doc
View Source
StepValue
The expression defining the step value of the loop variable.
May be None if there is no step.
Declaration
public ExpressionSyntax StepValue { get; }
Property Value
|
Improve this Doc
View Source
StepValueCommaToken
The comma separating the final value from the step value.
May be None if there is no step.
Declaration
public SyntaxToken StepValueCommaToken { 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 NumericForStatementSyntax AddBodyStatements(params StatementSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, TypedIdentifierNameSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementListSyntax, SyntaxToken, SyntaxToken)
Declaration
public NumericForStatementSyntax Update(SyntaxToken forKeyword, TypedIdentifierNameSyntax identifier, SyntaxToken equalsToken, ExpressionSyntax initialValue, SyntaxToken finalValueCommaToken, ExpressionSyntax finalValue, SyntaxToken stepValueCommaToken, ExpressionSyntax stepValue, SyntaxToken doKeyword, StatementListSyntax body, SyntaxToken endKeyword, SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithBody(StatementListSyntax)
Declaration
public NumericForStatementSyntax WithBody(StatementListSyntax body)
Parameters
Returns
|
Improve this Doc
View Source
WithDoKeyword(SyntaxToken)
Declaration
public NumericForStatementSyntax WithDoKeyword(SyntaxToken doKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithEndKeyword(SyntaxToken)
Declaration
public NumericForStatementSyntax WithEndKeyword(SyntaxToken endKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithEqualsToken(SyntaxToken)
Declaration
public NumericForStatementSyntax WithEqualsToken(SyntaxToken equalsToken)
Parameters
Returns
|
Improve this Doc
View Source
WithFinalValue(ExpressionSyntax)
Declaration
public NumericForStatementSyntax WithFinalValue(ExpressionSyntax finalValue)
Parameters
Returns
|
Improve this Doc
View Source
WithFinalValueCommaToken(SyntaxToken)
Declaration
public NumericForStatementSyntax WithFinalValueCommaToken(SyntaxToken finalValueCommaToken)
Parameters
Returns
|
Improve this Doc
View Source
WithForKeyword(SyntaxToken)
Declaration
public NumericForStatementSyntax WithForKeyword(SyntaxToken forKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithIdentifier(TypedIdentifierNameSyntax)
Declaration
public NumericForStatementSyntax WithIdentifier(TypedIdentifierNameSyntax identifier)
Parameters
Returns
|
Improve this Doc
View Source
WithInitialValue(ExpressionSyntax)
Declaration
public NumericForStatementSyntax WithInitialValue(ExpressionSyntax initialValue)
Parameters
Returns
|
Improve this Doc
View Source
WithSemicolonToken(SyntaxToken)
Declaration
public NumericForStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithStepValue(ExpressionSyntax)
Declaration
public NumericForStatementSyntax WithStepValue(ExpressionSyntax stepValue)
Parameters
Returns
|
Improve this Doc
View Source
WithStepValueCommaToken(SyntaxToken)
Declaration
public NumericForStatementSyntax WithStepValueCommaToken(SyntaxToken stepValueCommaToken)
Parameters
Returns
Implements
IFormattable
Extension Methods