/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
CommonToken.as | 32 public class CommonToken implements Token { 54 public function CommonToken(type:int, text:String = null) { 59 public static function createFromStream(input:CharStream, type:int, channel:int, start:int, stop:int):CommonToken { 60 var token:CommonToken = new CommonToken(type); 68 public static function cloneToken(oldToken:Token):CommonToken { 69 var token:CommonToken = new CommonToken(oldToken.type, oldToken.text); 74 if ( oldToken is CommonToken ) { 75 token._start = CommonToken(oldToken).startIndex [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
CommonToken.js | 1 org.antlr.runtime.CommonToken = function() { 5 this.channel = 0; // org.antlr.runtime.CommonToken.DEFAULT_CHANNEL 19 if ( oldToken instanceof org.antlr.runtime.CommonToken ) { 27 this.channel = 0; // org.antlr.runtime.CommonToken.DEFAULT_CHANNEL 37 org.antlr.lang.extend(org.antlr.runtime.CommonToken, 142 /* Monkey patch Token static vars that depend on CommonToken. */ 144 EOF_TOKEN: new org.antlr.runtime.CommonToken(org.antlr.runtime.CharStream.EOF), 145 INVALID_TOKEN: new org.antlr.runtime.CommonToken(0), 146 SKIP_TOKEN: new org.antlr.runtime.CommonToken(0)
|
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
CommonToken.pm | 1 package Test::ANTLR::Runtime::CommonToken; 12 my $token = ANTLR::Runtime::CommonToken->new({
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
CommonToken.cs | 39 public class CommonToken : IToken { 64 public CommonToken() { 67 public CommonToken(int type) { 71 public CommonToken(ICharStream input, int type, int channel, int start, int stop) { 79 public CommonToken(int type, string text) { 85 public CommonToken(IToken oldToken) { 93 if (oldToken is CommonToken) { 94 start = ((CommonToken)oldToken).start; 95 stop = ((CommonToken)oldToken).stop;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
CommonToken.cs | 40 public class CommonToken : IToken 66 public CommonToken() 70 public CommonToken( int type ) 75 public CommonToken( ICharStream input, int type, int channel, int start, int stop ) 84 public CommonToken( int type, string text ) 91 public CommonToken( IToken oldToken ) 100 if ( oldToken is CommonToken ) 102 start = ( (CommonToken)oldToken ).start; 103 stop = ( (CommonToken)oldToken ).stop;
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
CommonToken.pm | 1 package ANTLR::Runtime::CommonToken;
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
exceptions.py | 138 from antlr3.tokens import CommonToken 174 self.token = CommonToken(type=type, text=text)
|
tokens.py | 163 # +- CommonToken 168 class CommonToken(Token): 189 if isinstance(oldToken, CommonToken): 318 that has a string; the tree node will point at this token. CommonToken 414 INVALID_TOKEN = CommonToken(type=INVALID_TOKEN_TYPE) 418 SKIP_TOKEN = CommonToken(type=INVALID_TOKEN_TYPE)
|
treewizard.py | 40 from antlr3.tokens import CommonToken 232 wildcardPayload = CommonToken(0, ".")
|
streams.py | 37 from antlr3.tokens import Token, CommonToken [all...] |
recognizers.py | 44 from antlr3.tokens import CommonToken, SKIP_TOKEN 429 to use t.toString() (which, for CommonToken, dumps everything about 776 a CommonToken of the appropriate type. The text will be the token. [all...] |
tree.py | 46 from antlr3.tokens import CommonToken, Token, INVALID_TOKEN [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
CommonToken.java | 32 public class CommonToken implements Token, Serializable { 54 public CommonToken(int type) { 58 public CommonToken(CharStream input, int type, int channel, int start, int stop) { 66 public CommonToken(int type, String text) { 72 public CommonToken(Token oldToken) { 80 if ( oldToken instanceof CommonToken ) { 81 start = ((CommonToken)oldToken).start; 82 stop = ((CommonToken)oldToken).stop;
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
token.rb | 59 This library provides a token implementation (see CommonToken). Additionally, 213 CommonToken = Struct.new( :type, :channel, :text, :input, :start, 216 =begin rdoc ANTLR3::CommonToken 224 CommonToken to track token-type names efficiently for debugging, inspection, and 226 named XYZ will have a base module named XYZ and a customized CommonToken 243 class CommonToken 288 EOF_TOKEN = CommonToken.new( EOF ).freeze 289 INVALID_TOKEN = CommonToken.new( INVALID_TOKEN_TYPE ).freeze 290 SKIP_TOKEN = CommonToken.new( INVALID_TOKEN_TYPE ).freeze 345 ANTLR3::CommonToken). Token classes are presumed to have an #initialize metho [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testtree.py | 9 from antlr3 import CommonToken, UP, DOWN, EOF 25 t = CommonTree(CommonToken(101)) 44 self.token = CommonToken(type=ttype) 60 u = V(token=CommonToken(type=102, text="102")) 71 t = CommonTree(CommonToken(101)) 72 t.addChild(CommonTree(CommonToken(102))) 73 t.getChild(0).addChild(CommonTree(CommonToken(103))) 74 t.addChild(CommonTree(CommonToken(104))) 89 t = CommonTree(CommonToken(101)) 90 t.addChild(CommonTree(CommonToken(102)) [all...] |
/cts/tools/signature-tools/lib/ |
antlr-2.7.7.jar | |
/external/antlr/antlr-3.4/lib/ |
antlr-3.4-complete.jar | |
/prebuilts/misc/common/antlr/ |
antlr-3.4-complete.jar | |
/prebuilts/misc/common/groovy/ |
groovy-all-1.7.0.jar | |