public TriviaListEditor( SyntaxTrivia originalTrivia, IEnumerable <SyntaxTrivia> newTrivia, ListEditKind editKind) : base(originalTrivia.Span, editKind, true, originalTrivia.IsPartOfStructuredTrivia()) { _originalTrivia = originalTrivia; _newTrivia = newTrivia; }
public NodeListEditor( SyntaxNode originalNode, IEnumerable <SyntaxNode> replacementNodes, ListEditKind editKind) : base(originalNode.Span, editKind, false, originalNode.IsPartOfStructuredTrivia()) { _originalNode = originalNode; _newNodes = replacementNodes; }
public TokenListEditor( SyntaxToken originalToken, IEnumerable <SyntaxToken> newTokens, ListEditKind editKind) : base(originalToken.Span, editKind, false, originalToken.IsPartOfStructuredTrivia()) { _originalToken = originalToken; _newTokens = newTokens; }
public TokenListEditor( SyntaxToken originalToken, IEnumerable <SyntaxToken> newTokens, ListEditKind editKind) : base(editKind) { _originalToken = originalToken; _newTokens = newTokens; }
public NodeListEditor( SyntaxNode originalNode, IEnumerable <SyntaxNode> replacementNodes, ListEditKind editKind) : base(editKind) { _originalNode = originalNode; _newNodes = replacementNodes; }
public NodeListEditor( SyntaxNode originalNode, IEnumerable <SyntaxNode> replacementNodes, ListEditKind editKind) { _elementSpan = originalNode.Span; _originalNode = originalNode; _newNodes = replacementNodes; _editKind = editKind; }
public BaseListEditor( TextSpan elementSpan, ListEditKind editKind, bool visitTrivia, bool visitIntoStructuredTrivia) { _elementSpan = elementSpan; this.editKind = editKind; _visitTrivia = visitTrivia || visitIntoStructuredTrivia; _visitIntoStructuredTrivia = visitIntoStructuredTrivia; }
protected BaseListEditor(ListEditKind editKind) { this.editKind = editKind; }