SyntaxList Class
Abstract list of SyntaxNode
public abstract class SyntaxList : SyntaxNode- Inheritance
SyntaxNodeSyntaxList
Constructors
| Name | Description |
|---|---|
| SyntaxList() |
SyntaxList()
SyntaxList.csprotected SyntaxList()No documentation is available.
Properties
| Name | Description |
|---|---|
| ChildrenCount | Gets the number of children. |
ChildrenCount
SyntaxList.csMethods
| Name | Description |
|---|---|
| Accept(SyntaxVisitor) | Allow to visit this instance with the specified visitor. |
| GetChildImpl(int) | Gets a child at the specified index. |
Accept(SyntaxVisitor)
SyntaxList.csAllow to visit this instance with the specified visitor.
public override void Accept(SyntaxVisitor visitor)Parameters
visitorSyntaxVisitor- The visitor
GetChildImpl(int)
SyntaxList.csGets a child at the specified index.
protected override SyntaxNode GetChildImpl(int index)Parameters
indexint- Index of the child
Returns
SyntaxNode A child at the specified index
Remarks
The index is safe to use
Fields
| Name | Description |
|---|---|
| Children | Gets the backing list of child nodes. |
Children
Gets the backing list of child nodes.
protected readonly List<SyntaxNode> Children