In This Article

AstNodeMatch Class

Represents an IAstNode match made within the current IAstNodeBuilder scope.

public class AstNodeMatch : IAstNodeMatch
Inheritance:
object object
Implements:
IAstNodeMatch

Constructors

AstNodeMatch()

Initializes an instance of the class.

public AstNodeMatch()

Properties

Label

Gets or sets the optional label applied to the match that can be used for identification during tree construction.

public string Label { get; set; }

Property Value

string:

The optional label applied to the match that can be used for identification during tree construction.

Node

Gets or sets the IAstNode that was matched.

public IAstNode Node { get; set; }

Property Value

IAstNode:

The IAstNode that was matched.

Methods

ToString()

Returns a String that represents the current Object.

public override string ToString()

Returns

string:

A String that represents the current Object.

Inherited Members