Append the given syntax node to the root syntax node specified. This is usually an if statement used as a guard clause.
The context of the document in which to add the condition
The edit builder to use to add the condition
The syntax node to append (this may not contain any references and could need to be rebuilt)
The root syntax node to append to (this always contains a reference to the original syntax node)
Insert the given syntax node after the specified after
syntax node.
This is usually an if statement used as a guard clause.
The context of the document in which to add the condition
The edit builder to use to add the condition
The syntax node to insert (this may not contain any references and could need to be rebuilt)
The syntax node to insert after (this always contains a reference to the original syntax node)
Insert the given syntax node before the specified before
syntax node.
This is usually an if statement used as a guard clause.
The context of the document in which to add the condition
The edit builder to use to add the condition
The syntax node to insert (this may not contain any references and could need to be rebuilt)
The syntax node to insert before (this always contains a reference to the original syntax node)
Prepend the given syntax node to the root syntax node specified. This is usually an if statement used as a guard clause.
The context of the document in which to add the condition
The edit builder to use to add the condition
The syntax node to prepend (this may not contain any references and could need to be rebuilt)
The root syntax node to prepend to (this always contains a reference to the original syntax node)
Provide conditions for the given document and range. Only top-level conditions should be returned.
The context of the document for which to provide conditions
Optional
range: RangeThe range for which to provide conditions. (the range may refer to a range inside an embedded section
A list of conditions with references to the original syntax nodes. These must include additional information about the context in which the condition is used.
Remove the given condition from the given document.
The context of the document in which to remove the condition
The edit builder to use to remove the condition
The condition to remove (this always contains a reference to the original syntax node)
Replace the given condition with a new condition.
The context of the document in which to replace the condition
The edit builder to use to replace the condition
The condition to replace (this always contains a reference to the original syntax node)
The new condition (this may not contain any references and could need to be rebuilt)
Optional
resolveResolve additional information for the given condition.
The context of the document in which to resolve the condition
The condition for which to resolve additional information
The condition with additional information (e.g. the condition's name)
A provider that can be registered to handle the creation of guard clauses.