YAMP.ParserExtensions.RemoveVariable C# (CSharp) Method

RemoveVariable() public static method

Removes a variable from the workspace (to the primary context).
public static RemoveVariable ( this parser, String name ) : void
parser this The parser to extend.
name String /// The name of the symbol corresponding to the variable that should be removed. ///
return void
        public static void RemoveVariable(this Parser parser, String name)
        {
            parser.Context.Variables.Remove(name);
        }