8 instantiations of Cursor
Microsoft.CodeAnalysis.CSharp (8)
Parser\Blender.cs (1)
68
_oldTreeCursor = new
Cursor
();
Parser\Blender.Cursor.cs (7)
40
return new
Cursor
(node, indexInParent: 0);
74
return new
Cursor
(sibling, i);
86
return new
Cursor
(parent, index);
150
return new
Cursor
(redToken, _indexInParent);
158
return new
Cursor
(child, 0);
168
return new
Cursor
(child, index);
174
return new
Cursor
();
16 references to Cursor
Microsoft.CodeAnalysis.CSharp (16)
Parser\Blender.cs (3)
18
private readonly
Cursor
_oldTreeCursor;
73
_oldTreeCursor =
Cursor
.FromRoot(oldTree).MoveToFirstChild();
85
Cursor
oldTreeCursor,
Parser\Blender.Cursor.cs (10)
38
public static
Cursor
FromRoot(CSharp.CSharpSyntaxNode node)
62
private
Cursor
TryFindNextNonZeroWidthOrIsEndOfFileSibling()
79
return default(
Cursor
);
82
private
Cursor
MoveToParent()
89
public static
Cursor
MoveToNextSibling(
Cursor
cursor)
94
var
nextSibling = cursor.TryFindNextNonZeroWidthOrIsEndOfFileSibling();
130
public
Cursor
MoveToFirstChild()
177
public
Cursor
MoveToFirstToken()
179
var
cursor = this;
Parser\Blender.Reader.cs (3)
18
private
Cursor
_oldTreeCursor;
118
_oldTreeCursor =
Cursor
.MoveToNextSibling(_oldTreeCursor);
204
_oldTreeCursor =
Cursor
.MoveToNextSibling(_oldTreeCursor);