Microsoft.Zing.Replacer.Replace C# (CSharp) Method

Replace() public static method

Within "node", replace identifiers matching the value of oldName with the given newNode (of type Expression).
public static Replace ( System.Compiler.Node node, string oldName, System.Compiler.Node newNode ) : void
node System.Compiler.Node
oldName string
newNode System.Compiler.Node
return void
        public static void Replace(Node node, string oldName, Node newNode)
        {
            Replace(node, new Identifier(oldName), newNode);
        }

Same methods

Replacer::Replace ( System.Compiler.Node node, System.Compiler.Identifier oldName, System.Compiler.Node newNode ) : void
Replacer::Replace ( System.Compiler.Node node, string labelName, System.Compiler.Block block ) : void