Searched refs:TokenRewriteStream (Results 1 - 24 of 24) sorted by relevance

/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/
H A Dtweak.pl7 use ANTLR::Runtime::TokenRewriteStream;
13 my $tokens = ANTLR::Runtime::TokenRewriteStream({ token_source => $lexer });
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTokenRewriteStream.java32 import org.antlr.runtime.TokenRewriteStream;
51 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine);
66 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine);
81 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine);
98 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine);
114 TokenRewriteStream token
[all...]
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt046rewrite.py25 tStream = antlr3.TokenRewriteStream(lexer)
H A Dt055templates.py373 tStream = antlr3.TokenRewriteStream(lexer)
482 tStream = antlr3.TokenRewriteStream(lexer)
H A Dt048rewrite.py1 """Testsuite for TokenRewriteStream class."""
18 tStream = antlr3.TokenRewriteStream(lexer)
420 tStream = antlr3.TokenRewriteStream(lexer)
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
H A Dbasic.rb20 tokens = ANTLR3::TokenRewriteStream.new( lexer )
228 stream = ANTLR3::TokenRewriteStream.new( lexer )
240 stream = ANTLR3::TokenRewriteStream.new( lexer )
251 stream = ANTLR3::TokenRewriteStream.new( lexer )
262 stream = ANTLR3::TokenRewriteStream.new( lexer )
291 ANTLR3::TokenRewriteStream.new( lexer )
H A Dvia-parser.rb62 example 'using a TokenRewriteStream to rewrite input text while parsing' do
92 tokens = ANTLR3::TokenRewriteStream.new( lexer )
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DTokenRewriteStream.cs66 * TokenRewriteStream tokens = new TokenRewriteStream(lex);
77 * Actually, you have to cast the 'input' to a TokenRewriteStream. :(
94 [DebuggerDisplay("TODO: TokenRewriteStream debugger display")]
95 public class TokenRewriteStream : CommonTokenStream { class in namespace:Antlr.Runtime
109 protected TokenRewriteStream stream;
111 protected RewriteOperation(TokenRewriteStream stream, int index, object text) {
133 public InsertBeforeOp(TokenRewriteStream stream, int index, object text) :
152 public ReplaceOp(TokenRewriteStream stream, int from, int to, object text)
168 public DeleteOp(TokenRewriteStream strea
187 public TokenRewriteStream() { method in class:Antlr.Runtime.TokenRewriteStream
197 public TokenRewriteStream(ITokenSource tokenSource) method in class:Antlr.Runtime.TokenRewriteStream
202 public TokenRewriteStream(ITokenSource tokenSource, int channel) method in class:Antlr.Runtime.TokenRewriteStream
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
H A DST.stg103 ((TokenRewriteStream)input.TokenStream).Replace(
108 ((TokenRewriteStream)input).Replace(
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
H A DST.stg80 ((TokenRewriteStream)input.TokenStream).Replace(
85 ((TokenRewriteStream)input).Replace(
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DST.stg94 ((TokenRewriteStream)input.getTokenStream()).replace(
99 ((TokenRewriteStream)input).replace(
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DStrip.java43 protected TokenRewriteStream tokens;
55 public TokenRewriteStream getTokenStream() { return tokens; }
64 tokens = new TokenRewriteStream(lex);
201 public static void ACTION(TokenRewriteStream tokens, CommonTree t) {
221 private static void killTrailingNewline(TokenRewriteStream tokens, int index) {
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DTokenRewriteStream.cs69 * TokenRewriteStream tokens = new TokenRewriteStream(lex);
80 * Actually, you have to cast the 'input' to a TokenRewriteStream. :(
97 [DebuggerDisplay( "TODO: TokenRewriteStream debugger display" )]
98 public class TokenRewriteStream : CommonTokenStream class in namespace:Antlr.Runtime
114 protected TokenRewriteStream stream;
116 protected RewriteOperation(TokenRewriteStream stream, int index)
122 protected RewriteOperation( TokenRewriteStream stream, int index, object text )
150 public InsertBeforeOp( TokenRewriteStream stream, int index, object text ) :
172 public ReplaceOp( TokenRewriteStream strea
209 public TokenRewriteStream() method in class:Antlr.Runtime.TokenRewriteStream
221 public TokenRewriteStream( ITokenSource tokenSource ) method in class:Antlr.Runtime.TokenRewriteStream
227 public TokenRewriteStream( ITokenSource tokenSource, int channel ) method in class:Antlr.Runtime.TokenRewriteStream
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DST4ObjC.stg164 [([(TokenRewriteStream)input getTokenStream])
169 [((TokenRewriteStream)input)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
H A Drewrite.rb37 =begin rdoc ANTLR3::TokenRewriteStream
39 TokenRewriteStream is a specialized form of CommonTokenStream that provides simple stream editing functionality. By creating <i>rewrite programs</i>, new text output can be created based upon the tokens in the stream. The basic token stream itself is preserved, and text output is rendered on demand using the #to_s method.
43 class TokenRewriteStream < CommonTokenStream class in class:ANTLR3
49 =begin rdoc ANTLR3::TokenRewriteStream::RewriteOperation
95 =begin rdoc ANTLR3::TokenRewriteStream::InsertBefore
118 =begin rdoc ANTLR3::TokenRewriteStream::Replace
156 =begin rdoc ANTLR3::TokenRewriteStream::Delete
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DTokenRewriteStream.js25 * TokenRewriteStream tokens = new TokenRewriteStream(lex);
36 * Actually, you have to cast the 'input' to a TokenRewriteStream. :(
53 org.antlr.runtime.TokenRewriteStream = function() {
54 var sup = org.antlr.runtime.TokenRewriteStream.superclass;
75 var trs = org.antlr.runtime.TokenRewriteStream;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DTokenRewriteStream.java56 * TokenRewriteStream tokens = new TokenRewriteStream(lex);
67 * Actually, you have to cast the 'input' to a TokenRewriteStream. :(
83 public class TokenRewriteStream extends CommonTokenStream { class in inherits:CommonTokenStream
167 public TokenRewriteStream() { method in class:TokenRewriteStream
177 public TokenRewriteStream(TokenSource tokenSource) { method in class:TokenRewriteStream
182 public TokenRewriteStream(TokenSource tokenSource, int channel) { method in class:TokenRewriteStream
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtemplate.rb69 when TokenSource then TokenRewriteStream.new( input, options )
72 TokenRewriteStream.new( lexer_class.new( input, options ), options )
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A 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 {
96 public function TokenRewriteStream(tokenSource:TokenSource = null, channel:int = TokenConstants.DEFAULT_CHANNEL) { function
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
H A Dtemplate-output.rb395 tokens = ANTLR3::TokenRewriteStream.new( lexer )
/external/antlr/antlr-3.4/runtime/Ruby/lib/
H A Dantlr3.rb185 autoload :TokenRewriteStream, 'antlr3/streams/rewrite'
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py602 # \- TokenRewriteStream
1023 class TokenRewriteStream(CommonTokenStream): class in inherits:CommonTokenStream
1050 TokenRewriteStream tokens = new TokenRewriteStream(lex);
1061 Actually, you have to cast the 'input' to a TokenRewriteStream. :(
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.pas1254 /// Actually, you have to cast the 'input' to a TokenRewriteStream. :(

Completed in 1690 milliseconds