public void Replace(ParserReplaceArgs args) { if (args.Push(this)) { InnerReplace(args); //args.Pop(); } }
protected override void InnerReplace(ParserReplaceArgs args) { base.InnerReplace(args); for (int i = 0; i < Items.Count; i++) { Items[i] = args.Replace(Items[i]); } }
protected override void InnerReplace(ParserReplaceArgs args) { base.InnerReplace(args); Inner = args.Replace(Inner); }
protected override void InnerReplace(ParserReplaceArgs args) { base.InnerReplace(args); Separator = args.Replace(Separator); Until = args.Replace(Until); }
protected virtual void InnerReplace(ParserReplaceArgs args) { }