/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTokenRewriteStream.java | 31 import org.antlr.runtime.CharStream; 51 CharStream input = new ANTLRStringStream("abc"); in testInsertBeforeIndex0() 66 CharStream input = new ANTLRStringStream("abc"); in testInsertAfterLastIndex() 81 CharStream input = new ANTLRStringStream("abc"); in test2InsertBeforeAfterMiddleIndex() 98 CharStream input = new ANTLRStringStream("abc"); in testReplaceIndex0() 114 CharStream input = new ANTLRStringStream("abc"); in testReplaceLastIndex() 130 CharStream input = new ANTLRStringStream("abc"); in testReplaceMiddleIndex() 151 CharStream input = new ANTLRStringStream("x = 3 * 0;"); in testToStringStartStop() 186 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testToStringStartStop2() 233 CharStream input = new ANTLRStringStream("abc"); in test2ReplaceMiddleIndex() [all …]
|
D | TestInterpretedParsing.java | 31 import org.antlr.runtime.CharStream; 65 CharStream input = new ANTLRStringStream("while x { i=1; y=3.42; z=y; }"); in testSimpleParse() 100 CharStream input = new ANTLRStringStream("while x { i=1 y=3.42; z=y; }"); in testMismatchedTokenError() 135 CharStream input = new ANTLRStringStream("while x { i=; y=3.42; z=y; }"); in testMismatchedSetError() 170 CharStream input = new ANTLRStringStream("while x { i=; y=3.42; z=y; }"); in testNoViableAltError()
|
D | TestCommonTokenStream.java | 52 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testFirstToken() 73 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in test2ndToken() 94 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testCompleteBuffer() 124 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testCompleteBufferAfterConsuming() 155 CharStream input = new ANTLRStringStream("x = 3 * 0 + 2 * 0;"); in testLookback()
|
D | TestInterpretedLexing.java | 31 import org.antlr.runtime.CharStream; 152 CharStream input = new ANTLRStringStream("1234.5"); in testSimpleLoops() 171 CharStream input = new ANTLRStringStream("123 139.52"); in testTokensRules()
|
/external/antlr/runtime/ObjC/Framework/ |
D | Lexer.h | 40 id<CharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=input, setter=setInput:) id<CharStream> input; 48 - (id) initWithCharStream:(id<CharStream>) anInput; 49 - (id) initWithCharStream:(id<CharStream>)anInput State:(RecognizerSharedState *)state; 63 - (id<CharStream>) input; 64 - (void) setInput:(id<CharStream>)aCharStream;
|
D | CommonToken.h | 47 __strong id<CharStream> input; 55 + (id<Token>) newToken:(id<CharStream>)anInput 70 - (id) initWithInput:(id<CharStream>)anInput 112 - (id<CharStream>)input; 113 - (void) setInput:(id<CharStream>)anInput; 139 @property (retain) id<CharStream> input;
|
D | CommonToken.m | 80 + (CommonToken *) newToken:(id<CharStream>)anInput Type:(NSInteger)aTType Channel:(NSInteger)aChann… 82 …return [[CommonToken alloc] initWithInput:(id<CharStream>)anInput Type:(NSInteger)aTType Channel:(… 146 - (id) initWithInput:(id<CharStream>)anInput 322 - (id<CharStream>) input 327 - (void) setInput: (id<CharStream>) anInput
|
/external/antlr/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;
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
D | Token.java | 40 public static final int EOF = CharStream.EOF; 88 public CharStream getInputStream(); in getInputStream() 89 public void setInputStream(CharStream input); in setInputStream()
|
D | Lexer.java | 37 protected CharStream input; 42 public Lexer(CharStream input) { in Lexer() 46 public Lexer(CharStream input, RecognizerSharedState state) { in Lexer() 81 if ( input.LA(1)==CharStream.EOF ) { in nextToken() 135 public void setCharStream(CharStream input) { in setCharStream() 141 public CharStream getCharStream() { in getCharStream()
|
D | CommonToken.java | 37 protected transient CharStream input; 58 public CommonToken(CharStream input, int type, int channel, int start, int stop) { in CommonToken() 180 public CharStream getInputStream() { in getInputStream() 185 public void setInputStream(CharStream input) { in setInputStream()
|
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 | ANTLRStringStream.java | 37 public class ANTLRStringStream implements CharStream { 123 return CharStream.EOF; // invalid; no char before first char in LA() 129 return CharStream.EOF; in LA()
|
D | ClassicToken.java | 131 public CharStream getInputStream() { in getInputStream() 136 public void setInputStream(CharStream input) { in setInputStream()
|
/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | Interpreter.java | 70 token = new CommonToken((CharStream)input,type,channel,0,0); in exitRule() 85 if ( input.LA(1)==CharStream.EOF ) { in nextToken() 86 …return new CommonToken((CharStream)input,Token.EOF,Token.DEFAULT_CHANNEL,input.index(),input.index… in nextToken() 89 int charPos = ((CharStream)input).getCharPositionInLine(); in nextToken() 92 while (input.LA(1)!=CharStream.EOF) { in nextToken() 107 return new CommonToken((CharStream)input,Token.EOF,Token.DEFAULT_CHANNEL,start,start); in nextToken() 109 token.setLine(((CharStream)input).getLine()); in nextToken() 443 CharStream cs = (CharStream)input; in reportScanError()
|
/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/google-java-format/core/src/main/java/com/google/googlejavaformat/java/javadoc/ |
D | CharStream.java | 29 final class CharStream { class 33 CharStream(String input) { in CharStream() method in CharStream
|
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/ |
D | Token.pm | 7 use ANTLR::Runtime::CharStream; 37 sub EOF { ANTLR::Runtime::CharStream->EOF }
|
/external/antlr/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/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/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitBaseTest.java | 58 CharStream input; in execLexer() 79 Constructor<? extends Lexer> lexConstructor = lexer.getConstructor(CharStream.class); in execLexer() 147 CharStream input; in execParser() 171 Constructor<? extends Lexer> lexConstructor = lexer.getConstructor(CharStream.class); in execParser() 289 CharStream input; in execTreeParser() 311 Constructor<? extends Lexer> lexConstructor = lexer.getConstructor(CharStream.class); in execTreeParser()
|
D | gUnitExecutor.java | 233 CharStream input; in runLexer() 243 Constructor<? extends Lexer> lexConstructor = lexer.getConstructor(CharStream.class); in runLexer() 307 CharStream input; in runParser() 318 Constructor<? extends Lexer> lexConstructor = lexer.getConstructor(CharStream.class); in runParser() 429 CharStream input; in runTreeParser() 450 Constructor<? extends Lexer> lexConstructor = lexer.getConstructor(CharStream.class); in runTreeParser() 587 private CharStream getANTLRInputStream(gUnitTestInput testInput) throws IOException { in getANTLRInputStream() 588 CharStream input; in getANTLRInputStream()
|
D | Interp.java | 44 CharStream input = null; in main() 99 public static GrammarInfo parse(CharStream input) throws RecognitionException { in parse()
|
/external/antlr/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 {
|