SyntaxList<TSyntaxNode> Class
Abstract list of SyntaxNode
public sealed class SyntaxList<TSyntaxNode> : SyntaxList, IEnumerable<TSyntaxNode>, IEnumerable where TSyntaxNode : SyntaxNodeType parameters
TSyntaxNode- Type of the node
- Inheritance
SyntaxListSyntaxList<TSyntaxNode>- Implements
Nested types
| Name | Description |
|---|---|
| SyntaxList<TSyntaxNode>.Enumerator | Enumerator of a SyntaxList<TSyntaxNode> |
Constructors
| Name | Description |
|---|---|
| SyntaxList() | Creates an instance of SyntaxList<TSyntaxNode> |
SyntaxList()
SyntaxList.csCreates an instance of SyntaxList<TSyntaxNode>
public SyntaxList()Methods
| Name | Description |
|---|---|
| Add(TSyntaxNode) | Adds the specified node to this list. |
| GetChild(int) | Gets a typed child at the specified index. |
| GetEnumerator() | Gets the default enumerator. |
| RemoveChild(TSyntaxNode) | Removes the specified node instance. |
| RemoveChildAt(int) | Removes a node at the specified index. |
| System.Collections.Generic.IEnumerable<TSyntaxNode>.GetEnumerator() | |
| System.Collections.IEnumerable.GetEnumerator() |
Add(TSyntaxNode)
SyntaxList.csAdds the specified node to this list.
public void Add(TSyntaxNode node)Parameters
nodeTSyntaxNode- Node to add to this list
GetChild(int)
SyntaxList.csGetEnumerator()
SyntaxList.csGets the default enumerator.
public SyntaxList<TSyntaxNode>.Enumerator GetEnumerator()Returns
SyntaxList<TSyntaxNode>.Enumerator The enumerator of this list
RemoveChild(TSyntaxNode)
SyntaxList.csRemoves the specified node instance.
public void RemoveChild(TSyntaxNode node)Parameters
nodeTSyntaxNode- Node instance to remove
RemoveChildAt(int)
SyntaxList.csSystem.Collections.Generic.IEnumerable<TSyntaxNode>.GetEnumerator()
SyntaxList.csIEnumerator<TSyntaxNode> IEnumerable<TSyntaxNode>.GetEnumerator()Returns
No documentation is available.