AstNodeMatch Class
Represents an IAstNode match made within the current IAstNodeBuilder scope.
public class AstNodeMatch : IAstNodeMatch
- Inheritance:
- object object
- Implements:
- IAstNodeMatch
Constructors
AstNodeMatch(IAstNode)
Represents an IAstNode match made within the current IAstNodeBuilder scope.
public AstNodeMatch(IAstNode node)
| Parameter | Type | Description |
|---|---|---|
| node | IAstNode | The IAstNode that was matched. |
AstNodeMatch(IAstNode, string?)
Initializes an instance of the class.
public AstNodeMatch(IAstNode node, string? label)
| Parameter | Type | Description |
|---|---|---|
| node | IAstNode | The IAstNode that was matched. |
| label | string | The optional label applied to the match that can be used for identification during tree construction. |
Properties
Label
The optional label applied to the match that can be used for identification during tree construction.
Node
The IAstNode that was matched.
Methods
ToString()
Returns the string representation of this object.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()