Class BundleSyntax
Depth-First Sequential Syntaxes management. It saves space by save the LazyLinkedLists from each syntax to only one LazyLinkedLists in SoftNcRunner to get better performance. If the INcSyntax only handle the current node itself, those self-handling INcSyntax can be put into the BundleSyntax.
public class BundleSyntax : INcSyntax
- Inheritance
-
BundleSyntax
- Implements
- Inherited Members
- Extension Methods
Constructors
BundleSyntax()
public BundleSyntax()
BundleSyntax(IEnumerable<INcSyntax>)
public BundleSyntax(IEnumerable<INcSyntax> syntaxes)
Parameters
syntaxesIEnumerable<INcSyntax>
Properties
Name
public string Name { get; set; }
Property Value
SyntaxList
public List<INcSyntax> SyntaxList { get; }
Property Value
Methods
Build(LazyLinkedListNode<SyntaxPiece>)
Build syntax arrangement into the syntaxPieceNode in-place.
public void Build(LazyLinkedListNode<SyntaxPiece> syntaxPieceNode)
Parameters
syntaxPieceNodeLazyLinkedListNode<SyntaxPiece>