Class GenericForStatementSyntax
Represents a generic for loop statement.
Inheritance
System.Object
GenericForStatementSyntax
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 GenericForStatementSyntax : 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
Expressions
Declaration
public SeparatedSyntaxList<ExpressionSyntax> Expressions { get; }
Property Value
|
Improve this Doc
View Source
ForKeyword
Declaration
public SyntaxToken ForKeyword { get; }
Property Value
|
Improve this Doc
View Source
Identifiers
The list of loop variables.
Declaration
public SeparatedSyntaxList<TypedIdentifierNameSyntax> Identifiers { get; }
Property Value
|
Improve this Doc
View Source
InKeyword
Declaration
public SyntaxToken InKeyword { 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
AddBodyStatements(StatementSyntax[])
Declaration
public GenericForStatementSyntax AddBodyStatements(params StatementSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
AddExpressions(ExpressionSyntax[])
Declaration
public GenericForStatementSyntax AddExpressions(params ExpressionSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
AddIdentifiers(TypedIdentifierNameSyntax[])
Declaration
public GenericForStatementSyntax AddIdentifiers(params TypedIdentifierNameSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, SeparatedSyntaxList<TypedIdentifierNameSyntax>, SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken, StatementListSyntax, SyntaxToken, SyntaxToken)
Declaration
public GenericForStatementSyntax Update(SyntaxToken forKeyword, SeparatedSyntaxList<TypedIdentifierNameSyntax> identifiers, SyntaxToken inKeyword, SeparatedSyntaxList<ExpressionSyntax> expressions, SyntaxToken doKeyword, StatementListSyntax body, SyntaxToken endKeyword, SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithBody(StatementListSyntax)
Declaration
public GenericForStatementSyntax WithBody(StatementListSyntax body)
Parameters
Returns
|
Improve this Doc
View Source
WithDoKeyword(SyntaxToken)
Declaration
public GenericForStatementSyntax WithDoKeyword(SyntaxToken doKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithEndKeyword(SyntaxToken)
Declaration
public GenericForStatementSyntax WithEndKeyword(SyntaxToken endKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithExpressions(SeparatedSyntaxList<ExpressionSyntax>)
Declaration
public GenericForStatementSyntax WithExpressions(SeparatedSyntaxList<ExpressionSyntax> expressions)
Parameters
Returns
|
Improve this Doc
View Source
WithForKeyword(SyntaxToken)
Declaration
public GenericForStatementSyntax WithForKeyword(SyntaxToken forKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithIdentifiers(SeparatedSyntaxList<TypedIdentifierNameSyntax>)
Declaration
public GenericForStatementSyntax WithIdentifiers(SeparatedSyntaxList<TypedIdentifierNameSyntax> identifiers)
Parameters
Returns
|
Improve this Doc
View Source
WithInKeyword(SyntaxToken)
Declaration
public GenericForStatementSyntax WithInKeyword(SyntaxToken inKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithSemicolonToken(SyntaxToken)
Declaration
public GenericForStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
Parameters
Returns
Implements
IFormattable
Extension Methods