SyntaxNodeBase Class
Base class for SyntaxNode and SyntaxTrivia
public abstract class SyntaxNodeBaseConstructors
| Name | Description |
|---|---|
| SyntaxNodeBase() |
SyntaxNodeBase()
protected SyntaxNodeBase()No documentation is available.
Properties
| Name | Description |
|---|---|
| Parent | Gets the parent of this node. |
Parent
SyntaxNodeBase.csMethods
| Name | Description |
|---|---|
| Accept(SyntaxVisitor) | Allow to visit this instance with the specified visitor. |
| ToDebuggerDisplay() | Returns a debugger-friendly display string for this node. |
Accept(SyntaxVisitor)
Allow to visit this instance with the specified visitor.
public abstract void Accept(SyntaxVisitor visitor)Parameters
visitorSyntaxVisitor- The visitor
ToDebuggerDisplay()
SyntaxNodeBase.csFields
| Name | Description |
|---|---|
| Span | The text source span, read-write, manually updated from children. |
Span
The text source span, read-write, manually updated from children.
public SourceSpan Span