YAMP.ParserExtensions.RenameConstant C# (CSharp) Method

RenameConstant() public static method

Renames an existing constant (custom or defined).
public static RenameConstant ( this parser, String oldName, String newName ) : void
parser this The parser to extend.
oldName String The old name of the constant.
newName String The new name for the constant.
return void
        public static void RenameConstant(this Parser parser, String oldName, String newName)
        {
            parser.Context.RenameConstant(oldName, newName);
        }