/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTokenRewriteStream.java | 32 import org.antlr.runtime.TokenRewriteStream; 51 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testInsertBeforeIndex0() 66 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testInsertAfterLastIndex() 81 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in test2InsertBeforeAfterMiddleIndex() 98 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceIndex0() 114 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceLastIndex() 130 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceMiddleIndex() 151 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testToStringStartStop() 186 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testToStringStartStop2() 233 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in test2ReplaceMiddleIndex() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | TokenRewriteStream.cs | 95 public class TokenRewriteStream : CommonTokenStream { class 109 protected TokenRewriteStream stream; 111 protected RewriteOperation(TokenRewriteStream stream, int index, object text) { in RewriteOperation() 133 public InsertBeforeOp(TokenRewriteStream stream, int index, object text) : in InsertBeforeOp() 152 public ReplaceOp(TokenRewriteStream stream, int from, int to, object text) in ReplaceOp() 168 public DeleteOp(TokenRewriteStream stream, int from, int to) : in DeleteOp() 187 public TokenRewriteStream() { in TokenRewriteStream() method in Antlr.Runtime.TokenRewriteStream 197 public TokenRewriteStream(ITokenSource tokenSource) in TokenRewriteStream() method in Antlr.Runtime.TokenRewriteStream 202 public TokenRewriteStream(ITokenSource tokenSource, int channel) in TokenRewriteStream() method in Antlr.Runtime.TokenRewriteStream
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | TokenRewriteStream.cs | 98 public class TokenRewriteStream : CommonTokenStream class 114 protected TokenRewriteStream stream; 116 protected RewriteOperation(TokenRewriteStream stream, int index) in RewriteOperation() 122 protected RewriteOperation( TokenRewriteStream stream, int index, object text ) in RewriteOperation() 150 public InsertBeforeOp( TokenRewriteStream stream, int index, object text ) : in InsertBeforeOp() 172 public ReplaceOp( TokenRewriteStream stream, int from, int to, object text ) in ReplaceOp() 209 public TokenRewriteStream() in TokenRewriteStream() method in Antlr.Runtime.TokenRewriteStream 221 public TokenRewriteStream( ITokenSource tokenSource ) in TokenRewriteStream() method in Antlr.Runtime.TokenRewriteStream 227 public TokenRewriteStream( ITokenSource tokenSource, int channel ) in TokenRewriteStream() method in Antlr.Runtime.TokenRewriteStream
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/ |
D | tweak.pl | 7 use ANTLR::Runtime::TokenRewriteStream; 13 my $tokens = ANTLR::Runtime::TokenRewriteStream({ token_source => $lexer });
|
D | T.g | 4 * with some text. Calling toString() on the TokenRewriteStream
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Strip.java | 43 protected TokenRewriteStream tokens; 55 public TokenRewriteStream getTokenStream() { return tokens; } in getTokenStream() 64 tokens = new TokenRewriteStream(lex); in parseAndRewrite() 201 public static void ACTION(TokenRewriteStream tokens, CommonTree t) { in ACTION() 221 private static void killTrailingNewline(TokenRewriteStream tokens, int index) { in killTrailingNewline()
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t055templates.py | 373 tStream = antlr3.TokenRewriteStream(lexer) 482 tStream = antlr3.TokenRewriteStream(lexer)
|
D | t046rewrite.py | 25 tStream = antlr3.TokenRewriteStream(lexer)
|
D | t048rewrite.py | 18 tStream = antlr3.TokenRewriteStream(lexer) 420 tStream = antlr3.TokenRewriteStream(lexer)
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | TokenRewriteStream.js | 53 org.antlr.runtime.TokenRewriteStream = function() { class in org.antlr.runtime 54 var sup = org.antlr.runtime.TokenRewriteStream.superclass; 75 var trs = org.antlr.runtime.TokenRewriteStream;
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
D | template.rb | 69 when TokenSource then TokenRewriteStream.new( input, options ) 72 TokenRewriteStream.new( lexer_class.new( input, options ), options )
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 83 public class TokenRewriteStream extends CommonTokenStream { class 167 public TokenRewriteStream() { in TokenRewriteStream() method in TokenRewriteStream 177 public TokenRewriteStream(TokenSource tokenSource) { in TokenRewriteStream() method in TokenRewriteStream 182 public TokenRewriteStream(TokenSource tokenSource, int channel) { in TokenRewriteStream() method in TokenRewriteStream
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | ST.stg | 80 ((TokenRewriteStream)input.TokenStream).Replace( 85 ((TokenRewriteStream)input).Replace(
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | ST.stg | 94 ((TokenRewriteStream)input.getTokenStream()).replace( 99 ((TokenRewriteStream)input).replace(
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | ST.stg | 103 ((TokenRewriteStream)input.TokenStream).Replace( 108 ((TokenRewriteStream)input).Replace(
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ST4ObjC.stg | 164 [([(TokenRewriteStream)input getTokenStream]) 169 [((TokenRewriteStream)input)
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 56 * var tokens:TokenRewriteStream = new TokenRewriteStream(lex); 67 * Actually, you have to cast the 'input' to a TokenRewriteStream. :( 83 public class TokenRewriteStream extends CommonTokenStream { class in org.antlr.runtime 96 …public function TokenRewriteStream(tokenSource:TokenSource = null, channel:int = TokenConstants.DE… method in org.antlr.runtime.TokenRewriteStream
|
/external/antlr/antlr-3.4/runtime/JavaScript/build/ |
D | antlr3.properties | 38 org/antlr/runtime/TokenRewriteStream.js,\
|
/external/antlr/antlr-3.4/runtime/Ruby/ |
D | History.txt | 16 - fixed typo in TokenRewriteStream#cast_range 96 to cast a CommonTokenStream into a TokenRewriteStream and vice-versa
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/ |
D | rewrite.rb | 43 class TokenRewriteStream < CommonTokenStream class
|
/external/antlr/antlr-3.4/runtime/C/ |
D | README | 505 Enhanced TokenRewriteStream so it accepts any object; converts 510 TokenRewriteStream input stream. In output=template and rewrite=true mode 513 ((TokenRewriteStream)input).replace( 525 TokenRewriteStream tokens = new TokenRewriteStream(lexer); 712 * TokenRewriteStream.replace was not passing programName to next method. 1462 * Bug in TokenRewriteStream; ops at indexes < start index blocked proper op. 1490 * TokenRewriteStream didn't do toString() right when no rewrites had been done.
|
/external/antlr/antlr-3.4/tool/ |
D | CHANGES.txt | 152 * TokenRewriteStream had dead code; also updated insertBefore followed by 630 * Fixed another bug in TokenRewriteStream; didn't like inserts after end. 634 * Fixed bug in TokenRewriteStream.toString(start,stop); it ignored 685 * Throw illegal arg exception upon invalid TokenRewriteStream ops. Rewrote 2075 Enhanced TokenRewriteStream so it accepts any object; converts 2080 TokenRewriteStream input stream. In output=template and rewrite=true mode 2083 ((TokenRewriteStream)input).replace( 2095 TokenRewriteStream tokens = new TokenRewriteStream(lexer); 2282 * TokenRewriteStream.replace was not passing programName to next method. 3032 * Bug in TokenRewriteStream; ops at indexes < start index blocked proper op. [all …]
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | streams.py | 1023 class TokenRewriteStream(CommonTokenStream): class
|