/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestInterpretedLexing.java | 30 import org.antlr.runtime.ANTLRStringStream; 84 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); in testSimpleAltCharTest() 85 engine = new Interpreter(g, new ANTLRStringStream("b")); in testSimpleAltCharTest() 88 engine = new Interpreter(g, new ANTLRStringStream("c")); in testSimpleAltCharTest() 99 Interpreter engine = new Interpreter(g, new ANTLRStringStream("abc")); // should ignore the x in testSingleRuleRef() 110 Interpreter engine = new Interpreter(g, new ANTLRStringStream("12x")); // should ignore the x in testSimpleLoop() 113 engine = new Interpreter(g, new ANTLRStringStream("1234")); in testSimpleLoop() 123 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); in testMultAltLoop() 125 engine = new Interpreter(g, new ANTLRStringStream("a")); in testMultAltLoop() 128 engine = new Interpreter(g, new ANTLRStringStream("1234")); in testMultAltLoop() [all …]
|
D | TestTokenRewriteStream.java | 30 import org.antlr.runtime.ANTLRStringStream; 49 CharStream input = new ANTLRStringStream("abc"); in testInsertBeforeIndex0() 64 CharStream input = new ANTLRStringStream("abc"); in testInsertAfterLastIndex() 79 CharStream input = new ANTLRStringStream("abc"); in test2InsertBeforeAfterMiddleIndex() 96 CharStream input = new ANTLRStringStream("abc"); in testReplaceIndex0() 112 CharStream input = new ANTLRStringStream("abc"); in testReplaceLastIndex() 128 CharStream input = new ANTLRStringStream("abc"); in testReplaceMiddleIndex() 149 CharStream input = new ANTLRStringStream("x = 3 * 0;"); in testToStringStartStop() 184 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testToStringStartStop2() 231 CharStream input = new ANTLRStringStream("abc"); in test2ReplaceMiddleIndex() [all …]
|
D | TestInterpretedParsing.java | 30 import org.antlr.runtime.ANTLRStringStream; 63 CharStream input = new ANTLRStringStream("while x { i=1; y=3.42; z=y; }"); in testSimpleParse() 98 CharStream input = new ANTLRStringStream("while x { i=1 y=3.42; z=y; }"); in testMismatchedTokenError() 133 CharStream input = new ANTLRStringStream("while x { i=; y=3.42; z=y; }"); in testMismatchedSetError() 168 CharStream input = new ANTLRStringStream("while x { i=; y=3.42; z=y; }"); in testNoViableAltError()
|
D | TestCommonTokenStream.java | 50 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testFirstToken() 71 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in test2ndToken() 92 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testCompleteBuffer() 122 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testCompleteBufferAfterConsuming() 153 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testLookback()
|
D | TestDFAMatching.java | 32 import org.antlr.runtime.ANTLRStringStream; 98 ANTLRStringStream stream = new ANTLRStringStream(input); in checkPrediction()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/stream/ |
D | ANTLRStringStreamTest.m | 11 #import "ANTLRStringStream.h" 18 NSString *input = @"This is a string used for ANTLRStringStream input ;)"; 19 ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:input]; 28 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"This is a string used for in… 38 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"This is a string\nused for i… 51 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"This is a string\nused for i… 67 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"This is a string\nused for i… 82 …ANTLRStringStream *stream =[ANTLRStringStream newANTLRStringStream:@"This is a string used for inp… 92 …ANTLRStringStream *stream =[ANTLRStringStream newANTLRStringStream:@"This is a string used for inp…
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 289 #region ANTLRStringStream Tests 294 ANTLRStringStream s1 = new ANTLRStringStream(""); in TestSizeOnEmptyANTLRStringStream() 302 ANTLRStringStream s1 = new ANTLRStringStream("lexer\r\n"); in TestSizeOnANTLRStringStream() 305 ANTLRStringStream s2 = new ANTLRStringStream(grammarStr); in TestSizeOnANTLRStringStream() 308 ANTLRStringStream s3 = new ANTLRStringStream("grammar P;"); in TestSizeOnANTLRStringStream() 315 ANTLRStringStream stream = new ANTLRStringStream("One\r\nTwo"); in TestConsumeOnANTLRStringStream() 374 ANTLRStringStream stream = new ANTLRStringStream("One\r\nTwo"); in TestResetOnANTLRStringStream() 408 ANTLRStringStream stream = new ANTLRStringStream("One\r\nTwo\r\nThree"); in TestSubstringOnANTLRStringStream()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | ANTLRStringStream.cs | 47 public class ANTLRStringStream : ICharStream class 83 public ANTLRStringStream( string input ) in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 88 public ANTLRStringStream( string input, string sourceName ) in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 94 public ANTLRStringStream( char[] data, int numberOfActualCharsInArray ) in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 99 public ANTLRStringStream( char[] data, int numberOfActualCharsInArray, string sourceName ) in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 113 protected ANTLRStringStream() in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ANTLRStringStream.cs | 46 public class ANTLRStringStream : ICharStream { class 81 public ANTLRStringStream(string input) in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 85 public ANTLRStringStream(string input, string sourceName) in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 90 public ANTLRStringStream(char[] data, int numberOfActualCharsInArray) in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 94 public ANTLRStringStream(char[] data, int numberOfActualCharsInArray, string sourceName) { in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream 107 protected ANTLRStringStream() { in ANTLRStringStream() method in Antlr.Runtime.ANTLRStringStream
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/ |
D | ANTLRCommonTreeTest.m | 11 #import "ANTLRStringStream.h" 39 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 69 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 89 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 135 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 149 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 171 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 201 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 251 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… 277 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||… [all …]
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/ |
D | TestANTLRStringStream.as | 4 import org.antlr.runtime.ANTLRStringStream; 15 var stream:CharStream = new ANTLRStringStream("abc"); 43 var stream:CharStream = new ANTLRStringStream("abc"); 62 var stream:ANTLRStringStream = new ANTLRStringStream("abc"); 86 var stream:ANTLRStringStream = new ANTLRStringStream("a\nbc");
|
/external/antlr/antlr-3.4/runtime/Perl5/t/ |
D | lexer.t | 34 use ANTLR::Runtime::ANTLRStringStream; 37 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => '123' }); 59 use ANTLR::Runtime::ANTLRStringStream; 62 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => "Hello World!\n42\n" }); 107 use ANTLR::Runtime::ANTLRStringStream; 113 my $input = ANTLR::Runtime::ANTLRStringStream->new(<< 'XML');
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/token/ |
D | ANTLRCommonTokenTest.m | 11 #import "ANTLRStringStream.h" 53 …ANTLRStringStream *stream = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped|… 65 …ANTLRStringStream *stream = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped|… 90 …ANTLRStringStream *stream = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped|…
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | ANTLRStringStream.js | 8 org.antlr.runtime.ANTLRStringStream = function(data) { class in org.antlr.runtime 72 org.antlr.lang.extend(org.antlr.runtime.ANTLRStringStream, 318 org.antlr.runtime.ANTLRStringStream.prototype.LT = org.antlr.runtime.ANTLRStringStream.prototype.LA;
|
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
D | ANTLRStringStream.pm | 1 package Test::ANTLR::Runtime::ANTLRStringStream; 3 use ANTLR::Runtime::ANTLRStringStream; 27 is $s->LA(4), ANTLR::Runtime::ANTLRStringStream->EOF;
|
D | Lexer.pm | 5 use ANTLR::Runtime::ANTLRStringStream; 13 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => 'ABC' });
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | ANTLRStringStream.java | 37 public class ANTLRStringStream implements CharStream { class 69 public ANTLRStringStream() { in ANTLRStringStream() method in ANTLRStringStream 73 public ANTLRStringStream(String input) { in ANTLRStringStream() method in ANTLRStringStream 80 public ANTLRStringStream(char[] data, int numberOfActualCharsInArray) { in ANTLRStringStream() method in ANTLRStringStream
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/zero-one/ |
D | t.pl | 6 use ANTLR::Runtime::ANTLRStringStream; 12 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => '010' });
|
D | t-error.pl | 6 use ANTLR::Runtime::ANTLRStringStream; 12 my $input = ANTLR::Runtime::ANTLRStringStream->new({ '01X0' });
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
D | mexpr.pl | 8 use ANTLR::Runtime::ANTLRStringStream; 14 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => $_ });
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/ |
D | expr.pl | 8 use ANTLR::Runtime::ANTLRStringStream; 19 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => $in });
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/id/ |
D | id.pl | 6 use ANTLR::Runtime::ANTLRStringStream; 12 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => "Hello World!\n42\n" });
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/ |
D | main.m | 10 ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"abB9Cdd44"];
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/ |
D | main.m | 11 ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:string];
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
D | TestDotTreeGenerator.cs | 46 ANTLRStringStream input = new ANTLRStringStream( "3 * x" ); in TestCreateDot()
|