Home
last modified time | relevance | path

Searched refs:TokenRewriteStream (Results 1 – 25 of 32) sorted by relevance

12

/external/antlr/tool/src/test/java/org/antlr/test/
DTestTokenRewriteStream.java32 import org.antlr.runtime.TokenRewriteStream;
53 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testInsertBeforeIndex0()
68 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testInsertAfterLastIndex()
83 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in test2InsertBeforeAfterMiddleIndex()
100 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceIndex0()
116 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceLastIndex()
132 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceMiddleIndex()
153 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testToStringStartStop()
188 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testToStringStartStop2()
235 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in test2ReplaceMiddleIndex()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs95 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/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs98 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/runtime/Perl5/examples/tweak/
Dtweak.pl7 use ANTLR::Runtime::TokenRewriteStream;
13 my $tokens = ANTLR::Runtime::TokenRewriteStream({ token_source => $lexer });
DT.g4 * with some text. Calling toString() on the TokenRewriteStream
/external/antlr/tool/src/main/java/org/antlr/tool/
DStrip.java43 protected TokenRewriteStream tokens;
55 public TokenRewriteStream getTokenStream() { return tokens; } in getTokenStream()
64 tokens = new TokenRewriteStream(lex); in parseAndRewrite()
214 public static void ACTION(TokenRewriteStream tokens, CommonTree t) { in ACTION()
234 private static void killTrailingNewline(TokenRewriteStream tokens, int index) { in killTrailingNewline()
/external/antlr/runtime/ObjC/Framework/
DTokenRewriteStream.h103 @interface TokenRewriteStream : CommonTokenStream {
117 + (TokenRewriteStream *)newTokenRewriteStream;
118 + (TokenRewriteStream *)newTokenRewriteStream:(id<TokenSource>) aTokenSource;
119 + (TokenRewriteStream *)newTokenRewriteStream:(id<TokenSource>) aTokenSource Channel:(NSInteger)aCh…
DTokenRewriteStream.m2 // TokenRewriteStream.m
32 #import "TokenRewriteStream.h"
182 @implementation TokenRewriteStream implementation
187 + (TokenRewriteStream *)newTokenRewriteStream
189 return [[TokenRewriteStream alloc] init];
192 + (TokenRewriteStream *)newTokenRewriteStream:(id<TokenSource>) aTokenSource
194 return [[TokenRewriteStream alloc] initWithTokenSource:aTokenSource];
197 + (TokenRewriteStream *)newTokenRewriteStream:(id<TokenSource>) aTokenSource Channel:(NSInteger)aCh…
199 return [[TokenRewriteStream alloc] initWithTokenSource:aTokenSource Channel:aChannel];
DANTLR.h104 #import <ANTLR/TokenRewriteStream.h>
Dantlr3.h104 #import <ANTLR/TokenRewriteStream.h>
/external/antlr/runtime/Python/tests/
Dt055templates.py373 tStream = antlr3.TokenRewriteStream(lexer)
482 tStream = antlr3.TokenRewriteStream(lexer)
Dt046rewrite.py25 tStream = antlr3.TokenRewriteStream(lexer)
Dt048rewrite.py18 tStream = antlr3.TokenRewriteStream(lexer)
420 tStream = antlr3.TokenRewriteStream(lexer)
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js53 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/runtime/Ruby/lib/antlr3/
Dtemplate.rb69 when TokenSource then TokenRewriteStream.new( input, options )
72 TokenRewriteStream.new( lexer_class.new( input, options ), options )
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java83 public class TokenRewriteStream extends CommonTokenStream { class
171 public TokenRewriteStream() { in TokenRewriteStream() method in TokenRewriteStream
181 public TokenRewriteStream(TokenSource tokenSource) { in TokenRewriteStream() method in TokenRewriteStream
186 public TokenRewriteStream(TokenSource tokenSource, int channel) { in TokenRewriteStream() method in TokenRewriteStream
/external/antlr/runtime/Python3/tests/
Dt046rewrite.py25 tStream = antlr3.TokenRewriteStream(lexer)
Dt048rewrite.py18 tStream = antlr3.TokenRewriteStream(lexer)
404 tStream = antlr3.TokenRewriteStream(lexer)
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DST.stg80 ((TokenRewriteStream)input.TokenStream).Replace(
85 ((TokenRewriteStream)input).Replace(
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DST.stg91 ((TokenRewriteStream)input.getTokenStream()).replace(
96 ((TokenRewriteStream)input).replace(
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DST.stg103 ((TokenRewriteStream)input.TokenStream).Replace(
108 ((TokenRewriteStream)input).Replace(
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DST4ObjC.stg164 [([(TokenRewriteStream)input getTokenStream])
169 [((TokenRewriteStream)input)
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as56 * 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/runtime/JavaScript/build/
Dantlr3.properties38 org/antlr/runtime/TokenRewriteStream.js,\
/external/antlr/runtime/Ruby/
DHistory.txt16 - fixed typo in TokenRewriteStream#cast_range
96 to cast a CommonTokenStream into a TokenRewriteStream and vice-versa

12