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