Lines Matching refs:RewriteOperation
106 protected class RewriteOperation class in Antlr.Runtime.TokenRewriteStream
116 protected RewriteOperation(TokenRewriteStream stream, int index) in RewriteOperation() method in Antlr.Runtime.TokenRewriteStream.RewriteOperation
122 protected RewriteOperation( TokenRewriteStream stream, int index, object text ) in RewriteOperation() method in Antlr.Runtime.TokenRewriteStream.RewriteOperation
148 private class InsertBeforeOp : RewriteOperation
169 private class ReplaceOp : RewriteOperation
204 protected IDictionary<string, IList<RewriteOperation>> programs = null;
216 programs = new Dictionary<string, IList<RewriteOperation>>(); in Init()
217 programs[DEFAULT_PROGRAM_NAME] = new List<RewriteOperation>( PROGRAM_INIT_SIZE ); in Init()
246 IList<RewriteOperation> @is; in Rollback()
249 List<RewriteOperation> sublist = new List<RewriteOperation>(); in Rollback()
306 RewriteOperation op = new InsertBeforeOp( this, index, text ); in InsertBefore()
307 IList<RewriteOperation> rewrites = GetProgram( programName ); in InsertBefore()
338 RewriteOperation op = new ReplaceOp( this, from, to, text ); in Replace()
339 IList<RewriteOperation> rewrites = GetProgram( programName ); in Replace()
401 protected virtual IList<RewriteOperation> GetProgram( string name ) in GetProgram()
403 IList<RewriteOperation> @is; in GetProgram()
411 private IList<RewriteOperation> InitializeProgram( string name ) in InitializeProgram()
413 IList<RewriteOperation> @is = new List<RewriteOperation>( PROGRAM_INIT_SIZE ); in InitializeProgram()
454 IList<RewriteOperation> rewrites; in ToString()
471 … IDictionary<int, RewriteOperation> indexToOp = ReduceToSingleOperationPerIndex( rewrites ); in ToString()
477 RewriteOperation op; in ToString()
507 foreach ( RewriteOperation op in indexToOp.Values ) in ToString()
565 …protected virtual IDictionary<int, RewriteOperation> ReduceToSingleOperationPerIndex( IList<Rewrit… in ReduceToSingleOperationPerIndex()
572 RewriteOperation op = rewrites[i]; in ReduceToSingleOperationPerIndex()
633 RewriteOperation op = (RewriteOperation)rewrites[i]; in ReduceToSingleOperationPerIndex()
672 IDictionary<int, RewriteOperation> m = new Dictionary<int, RewriteOperation>(); in ReduceToSingleOperationPerIndex()
675 RewriteOperation op = (RewriteOperation)rewrites[i]; in ReduceToSingleOperationPerIndex()
679 RewriteOperation existing; in ReduceToSingleOperationPerIndex()
694 …protected virtual IList<RewriteOperation> GetKindOfOps( IList<RewriteOperation> rewrites, Type kin… in GetKindOfOps()
700 …protected virtual IList<RewriteOperation> GetKindOfOps( IList<RewriteOperation> rewrites, Type kin… in GetKindOfOps()
702 IList<RewriteOperation> ops = new List<RewriteOperation>(); in GetKindOfOps()
705 RewriteOperation op = rewrites[i]; in GetKindOfOps()