Table of Contents

Interface ISyntaxTree

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

Represents properties and methods to describe syntax structure of code text.

public interface ISyntaxTree

Properties

Current

When implemented by a class, represents current ISyntaxNode in the node collection.

Root

When implemented by a class, represents root level ISyntaxNode in this syntax tree.

Methods

BlockDeleting(Rectangle)

When implemented by a class, removes all nodes from the node collection which position in the specified rectangle.

Clear()

When implemented by a class, removes all nodes from ISyntaxTree node collection.

FindNode(ISyntaxNode, IComparer<ISyntaxNode>)

When implemented by a class, finds specified node.

FindNodes(ISyntaxNode, IComparer<ISyntaxNode>, ISyntaxNodes)

When implemented by a class, locates all nodes matching search criteria.

Pop()

When implemented by a class, removes last added node from the stack of nodes.

PositionChanged(int, int, int, int)

When implemented by a class, changes positions of any syntax nodes and its elements located next to the specified position.

Push(ISyntaxNode)

When implemented by a class, adds specified node to the stack of nodes.

Sort(IComparer<ISyntaxNode>)

When implemented by a class, sorts all ISyntaxNode in the node collection using the specified comparer.