Helper method to deparent/parent a SyntaxToken to this instance with an expected kind of token.
protected void ParentToThis<TSyntaxNode>(ref TSyntaxNode? set, TSyntaxNode? node, TokenKind expectedKind1, TokenKind expectedKind2)
where TSyntaxNode : SyntaxToken
The previous child node parented to this instance
The new child node to parent to this instance
The expected kind of token (option1)
The expected kind of token (option2)