8 instantiations of ForStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Internal.Generated.vb (7)
17606
Friend Shared CreateInstance As Func(Of ObjectReader, Object) = Function(o) New
ForStatementSyntax
(o)
17619
ObjectBinder.RegisterTypeReader(GetType(ForStatementSyntax), Function(r) New
ForStatementSyntax
(r))
17698
Return new
ForStatementSyntax
(Me.Kind, newErrors, GetAnnotations, _forKeyword, _controlVariable, _equalsToken, _fromValue, _toKeyword, _toValue, _stepClause)
17702
Return new
ForStatementSyntax
(Me.Kind, GetDiagnostics, annotations, _forKeyword, _controlVariable, _equalsToken, _fromValue, _toKeyword, _toValue, _stepClause)
39750
Return New
ForStatementSyntax
(node.Kind, node.GetDiagnostics, node.GetAnnotations, newForKeyword, newControlVariable, newEqualsToken, newFromValue, newToKeyword, newToValue, newStepClause)
48272
Return New
ForStatementSyntax
(SyntaxKind.ForStatement, forKeyword, controlVariable, equalsToken, fromValue, toKeyword, toValue, stepClause)
60350
Return New
ForStatementSyntax
(SyntaxKind.ForStatement, forKeyword, controlVariable, equalsToken, fromValue, toKeyword, toValue, stepClause, _factoryContext)
Generated\Syntax.xml.Syntax.Generated.vb (1)
19111
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForStatementSyntax
(kind, errors, annotations, forKeyword, DirectCast(controlVariable.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.VisualBasicSyntaxNode), equalsToken, DirectCast(fromValue.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ExpressionSyntax), toKeyword, DirectCast(toValue.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ExpressionSyntax), if(stepClause IsNot Nothing, DirectCast(stepClause.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ForStepClauseSyntax), Nothing)), Nothing, 0)
21 references to ForStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (20)
Generated\Syntax.xml.Internal.Generated.vb (14)
17225
Friend ReadOnly _forStatement as
ForStatementSyntax
17227
Friend Sub New(ByVal kind As SyntaxKind, forStatement As
ForStatementSyntax
, statements As GreenNode, nextStatement As NextStatementSyntax)
17236
Friend Sub New(ByVal kind As SyntaxKind, forStatement As
ForStatementSyntax
, statements As GreenNode, nextStatement As NextStatementSyntax, context As ISyntaxFactoryContext)
17246
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forStatement As
ForStatementSyntax
, statements As GreenNode, nextStatement As NextStatementSyntax)
17258
Dim _forStatement = DirectCast(reader.ReadValue(),
ForStatementSyntax
)
17283
Friend ReadOnly Property ForStatement As InternalSyntax.
ForStatementSyntax
17619
ObjectBinder.RegisterTypeReader(GetType(
ForStatementSyntax
), Function(r) New ForStatementSyntax(r))
37152
Public Overridable Function VisitForStatement(ByVal node As
ForStatementSyntax
) As VisualBasicSyntaxNode
39700
Dim newForStatement = DirectCast(Visit(node._forStatement),
ForStatementSyntax
)
39731
Public Overrides Function VisitForStatement(ByVal node As
ForStatementSyntax
) As VisualBasicSyntaxNode
48181
Friend Shared Function ForBlock(forStatement As
ForStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), nextStatement As NextStatementSyntax) As ForBlockSyntax
48265
Friend Shared Function ForStatement(forKeyword As KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) As
ForStatementSyntax
60259
Friend Function ForBlock(forStatement As
ForStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), nextStatement As NextStatementSyntax) As ForBlockSyntax
60343
Friend Function ForStatement(forKeyword As KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) As
ForStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (4)
18673
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ForBlockSyntax(kind, errors, annotations, DirectCast(forStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForStatementSyntax
), if(statements IsNot Nothing, statements.Green, Nothing), if(nextStatement IsNot Nothing, DirectCast(nextStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.NextStatementSyntax), Nothing)), Nothing, 0)
19119
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForStatementSyntax
)._forKeyword, Me.Position, 0)
19174
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForStatementSyntax
)._equalsToken, Me.GetChildPosition(2), Me.GetChildIndex(2))
19210
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
ForStatementSyntax
)._toKeyword, Me.GetChildPosition(4), Me.GetChildIndex(4))
Parser\BlockContexts\ForBlockContext.vb (1)
46
result = SyntaxFactory.ForBlock(DirectCast(beginStmt,
ForStatementSyntax
), Body(), nextStmt)
Parser\ParseStatement.vb (1)
631
Private Function ParseForStatement(forKeyword As KeywordSyntax) As
ForStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
759
Private Shared Function GenerateGreenForStatement() As InternalSyntax.
ForStatementSyntax