add ir emitter
This commit is contained in:
@@ -167,6 +167,15 @@ namespace StgSharp.RegularAnalysis.TextRegex
|
||||
}
|
||||
/**/
|
||||
|
||||
/// <summary>
|
||||
/// Replace the current node with another node, and update the parent and sibling
|
||||
/// references accordingly. This is implemented by copying metadata and nearby
|
||||
/// environment of the given node to the current node, and then update the nearby nodes to
|
||||
/// point to the current node.
|
||||
/// </summary>
|
||||
/// <param name="node">
|
||||
/// The node to replace the current node with.
|
||||
/// </param>
|
||||
internal void ReplaceBy(
|
||||
RegexAstNode node
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user