• Home
  • Raw
  • Download

Lines Matching full:replace

48      *  You can insert stuff, replace, and delete chunks.  Note that the
312 public virtual void Replace( int index, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
314 Replace( DEFAULT_PROGRAM_NAME, index, index, text ); in Replace()
317 public virtual void Replace( int from, int to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
319 Replace( DEFAULT_PROGRAM_NAME, from, to, text ); in Replace()
322 public virtual void Replace( IToken indexT, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
324 Replace( DEFAULT_PROGRAM_NAME, indexT, indexT, text ); in Replace()
327 public virtual void Replace( IToken from, IToken to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
329 Replace( DEFAULT_PROGRAM_NAME, from, to, text ); in Replace()
332 public virtual void Replace( string programName, int from, int to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
336 …throw new ArgumentException( "replace: range invalid: " + from + ".." + to + "(size=" + _tokens.Co… in Replace()
344 public virtual void Replace( string programName, IToken from, IToken to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
346 Replace( programName, in Replace()
374 Replace( programName, from, to, null ); in Delete()
379 Replace( programName, from, to, null ); in Delete()
528 * Delete special case of replace (text==null):
539 * R.x-y.u = replace x-y indexed tokens with u
541 * First we need to examine replaces. For any replace op:
544 * 2. Drop any replace op before that is contained completely within
546 * 3. Throw exception upon boundary overlap with any previous replace.
551 * 2. for any prior replace with same left boundary, combine this
552 * insert with replace and delete this replace.
553 * 3. throw exception if index in same range as previous replace
559 * inserted stuff would be before the replace range. But, if you
585 // E.g., insert before 2, delete 2..2; update replace in ReduceToSingleOperationPerIndex()
603 // delete replace as it's a no-op. in ReduceToSingleOperationPerIndex()
612 // Delete special case of replace (text==null): in ReduceToSingleOperationPerIndex()
624 throw new ArgumentException( "replace op boundaries of " + rop + in ReduceToSingleOperationPerIndex()