Beispiel #1
0
        protected void AddAfterCurrent(JsToken token)
        {
            //LogOp("AddAfterCurrent", token);
            var node = Tokens.AddAfter(CurrentNode, token);

            OnNodeAdded(node);
        }
Beispiel #2
0
        protected virtual void ReplaceCurrent(JsToken token)
        {
            var x    = CurrentNode;
            var node = Tokens.AddAfter(x, token);

            CurrentNode = node;
            Current     = token;
            Tokens.Remove(x);
        }