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