/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTokenRewriteStream.java | 31 import org.antlr.runtime.CharStream; 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 | 31 import org.antlr.runtime.CharStream; 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 | TestInterpretedLexing.java | 31 import org.antlr.runtime.CharStream; 150 CharStream input = new ANTLRStringStream("1234.5"); in testSimpleLoops() 169 CharStream input = new ANTLRStringStream("123 139.52"); in testTokensRules()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Interpreter.java | 69 token = new CommonToken((CharStream)input,type,channel,0,0); in exitRule() 83 if ( input.LA(1)==CharStream.EOF ) { in nextToken() 84 …return new CommonToken((CharStream)input,Token.EOF,Token.DEFAULT_CHANNEL,input.index(),input.index… in nextToken() 87 int charPos = ((CharStream)input).getCharPositionInLine(); in nextToken() 90 while (input.LA(1)!=CharStream.EOF) { in nextToken() 105 return new CommonToken((CharStream)input,Token.EOF,Token.DEFAULT_CHANNEL,start,start); in nextToken() 107 token.setLine(((CharStream)input).getLine()); in nextToken() 132 CharStream in = (CharStream)this.input; in scan() 441 CharStream cs = (CharStream)input; in reportScanError()
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | CharStream.js | 7 org.antlr.runtime.CharStream = function() {}; class in org.antlr.runtime 10 org.antlr.lang.extend(org.antlr.runtime.CharStream, 13 org.antlr.lang.augmentObject(org.antlr.runtime.CharStream,
|
D | ANTLRStringStream.js | 73 org.antlr.runtime.CharStream, 118 return org.antlr.runtime.CharStream.EOF;
|
D | Token.js | 21 EOF: org.antlr.runtime.CharStream.EOF,
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | Lexer.java | 37 protected CharStream input; 42 public Lexer(CharStream input) { in Lexer() 46 public Lexer(CharStream input, RecognizerSharedState state) { in Lexer() 80 if ( input.LA(1)==CharStream.EOF ) { in nextToken() 81 Token eof = new CommonToken((CharStream)input,Token.EOF, in nextToken() 127 public void setCharStream(CharStream input) { in setCharStream() 133 public CharStream getCharStream() { in getCharStream()
|
D | Token.java | 40 public static final int EOF = CharStream.EOF; 90 public CharStream getInputStream(); in getInputStream() 91 public void setInputStream(CharStream input); in setInputStream()
|
D | CommonToken.java | 37 protected transient CharStream input; 58 public CommonToken(CharStream input, int type, int channel, int start, int stop) { in CommonToken() 167 public CharStream getInputStream() { in getInputStream() 171 public void setInputStream(CharStream input) { in setInputStream()
|
D | ANTLRStringStream.java | 37 public class ANTLRStringStream implements CharStream { 121 return CharStream.EOF; // invalid; no char before first char in LA() 127 return CharStream.EOF; in LA()
|
D | RecognitionException.java | 113 else if ( input instanceof CharStream ) { in RecognitionException() 115 this.line = ((CharStream)input).getLine(); in RecognitionException() 116 this.charPositionInLine = ((CharStream)input).getCharPositionInLine(); in RecognitionException()
|
D | ClassicToken.java | 118 public CharStream getInputStream() { in getInputStream() 122 public void setInputStream(CharStream input) { in setInputStream()
|
D | CharStream.java | 31 public interface CharStream extends IntStream { interface
|
D | NoViableAltException.java | 50 if ( input instanceof CharStream ) { in toString()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | LexerErrorInterface.java | 31 import org.antlr.runtime.CharStream; 44 public ANTLRLexerWithErrorInterface(CharStream input, RecognizerSharedState state) { in ANTLRLexerWithErrorInterface()
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
D | Token.pm | 7 use ANTLR::Runtime::CharStream; 37 sub EOF { ANTLR::Runtime::CharStream->EOF }
|
D | CharStream.pm | 1 package ANTLR::Runtime::CharStream;
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
D | gUnitAdapter.java | 34 import org.antlr.runtime.CharStream; 62 … final CharStream input = new ANTLRFileStream(testSuite.getTestSuiteFile().getCanonicalPath()); in run()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitExecutor.java | 231 CharStream input; in runLexer() 241 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in runLexer() 307 CharStream input; in runParser() 318 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in runParser() 438 CharStream input; in runTreeParser() 459 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in runTreeParser() 607 private CharStream getANTLRInputStream(gUnitTestInput testInput) throws IOException { in getANTLRInputStream() 608 CharStream input; in getANTLRInputStream()
|
D | gUnitBaseTest.java | 65 CharStream input; in execLexer() 86 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in execLexer() 156 CharStream input; in execParser() 180 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in execParser() 303 CharStream input; in execTreeParser() 325 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in execTreeParser()
|
D | Interp.java | 44 CharStream input = null; in main() 99 public static GrammarInfo parse(CharStream input) throws RecognitionException { in parse()
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/ |
D | TestANTLRStringStream.as | 5 import org.antlr.runtime.CharStream; 15 var stream:CharStream = new ANTLRStringStream("abc"); 43 var stream:CharStream = new ANTLRStringStream("abc");
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | CommonToken.as | 37 protected var _input:CharStream; 59 …public static function createFromStream(input:CharStream, type:int, channel:int, start:int, stop:i… 157 public function get inputStream():CharStream { 161 public function set inputStream(input:CharStream):void {
|