1 write to CurrentNodeOrToken
Microsoft.CodeAnalysis.CSharp (1)
Parser\Blender.Cursor.cs (1)
34this.CurrentNodeOrToken = node;
16 references to CurrentNodeOrToken
Microsoft.CodeAnalysis.CSharp (16)
Parser\Blender.Cursor.cs (12)
48this.CurrentNodeOrToken.Kind() == SyntaxKind.None || 49this.CurrentNodeOrToken.Kind() == SyntaxKind.EndOfFileToken; 64if (this.CurrentNodeOrToken.Parent != null) 68var siblings = this.CurrentNodeOrToken.Parent.ChildNodesAndTokens(); 84var parent = this.CurrentNodeOrToken.Parent; 92while (cursor.CurrentNodeOrToken.UnderlyingNode != null) 97if (nextSibling.CurrentNodeOrToken.UnderlyingNode != null) 132Debug.Assert(this.CurrentNodeOrToken.IsNode); 139var node = CurrentNodeOrToken.AsNode(); 164foreach (var child in this.CurrentNodeOrToken.ChildNodesAndTokens()) 182for (var node = cursor.CurrentNodeOrToken; node.Kind() != SyntaxKind.None && !SyntaxFacts.IsAnyToken(node.Kind()); node = cursor.CurrentNodeOrToken)
Parser\Blender.Reader.cs (4)
92if (_oldTreeCursor.CurrentNodeOrToken.IsNode) 113var node = _oldTreeCursor.CurrentNodeOrToken; 128var oldPosition = _oldTreeCursor.CurrentNodeOrToken.Position; 194var currentNodeOrToken = _oldTreeCursor.CurrentNodeOrToken;