Searched defs:CommonToken (Results 1 - 17 of 17) sorted by relevance

/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DCommonToken.as32 public class CommonToken implements Token {
54 public function CommonToken(type:int, text:String = null) { function
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(oldToke
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DCommonToken.js1 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/
H A DCommonToken.pm1 package Test::ANTLR::Runtime::CommonToken;
12 my $token = ANTLR::Runtime::CommonToken->new({
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DCommonToken.cs39 public class CommonToken : IToken { class in namespace:Antlr.Runtime
64 public CommonToken() { method in class:Antlr.Runtime.CommonToken
67 public CommonToken(int type) { method in class:Antlr.Runtime.CommonToken
71 public CommonToken(ICharStream input, int type, int channel, int start, int stop) { method in class:Antlr.Runtime.CommonToken
79 public CommonToken(int type, string text) { method in class:Antlr.Runtime.CommonToken
85 public CommonToken(IToken oldToken) { method in class:Antlr.Runtime.CommonToken
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/
H A DCommonToken.cs40 public class CommonToken : IToken class in namespace:Antlr.Runtime
66 public CommonToken() method in class:Antlr.Runtime.CommonToken
70 public CommonToken( int type ) method in class:Antlr.Runtime.CommonToken
75 public CommonToken( ICharStream input, int type, int channel, int start, int stop ) method in class:Antlr.Runtime.CommonToken
84 public CommonToken( int type, string text ) method in class:Antlr.Runtime.CommonToken
91 public CommonToken( IToken oldToken ) method in class:Antlr.Runtime.CommonToken
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/
H A DCommonToken.pm1 package ANTLR::Runtime::CommonToken;
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dexceptions.py138 from antlr3.tokens import CommonToken namespace
174 self.token = CommonToken(type=type, text=text)
H A Dtokens.py163 # +- CommonToken
168 class CommonToken(Token): class in inherits: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)
H A Dtreewizard.py40 from antlr3.tokens import CommonToken namespace
232 wildcardPayload = CommonToken(0, ".")
H A Dstreams.py37 from antlr3.tokens import Token, CommonToken namespace
H A Drecognizers.py44 from antlr3.tokens import CommonToken, SKIP_TOKEN namespace
429 to use t.toString() (which, for CommonToken, dumps everything about
776 a CommonToken of the appropriate type. The text will be the token.
998 and also must reveal it's source of characters; CommonToken's text is
1086 eof = CommonToken(
1173 token = CommonToken(
1388 t = CommonToken(type=expectedTokenType, text=tokenText)
H A Dtree.py46 from antlr3.tokens import CommonToken, Token, INVALID_TOKEN namespace
1519 return CommonToken(oldToken=fromToken)
1521 return CommonToken(type=tokenType, text=text)
2223 CommonToken(type=expectedTokenType, text=tokenText))
2377 e.token = CommonToken(
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DCommonToken.java32 public class CommonToken implements Token, Serializable { class in inherits:Token,Serializable
54 public CommonToken(int type) { method in class:CommonToken
58 public CommonToken(CharStream input, int type, int channel, int start, int stop) { method in class:CommonToken
66 public CommonToken(int type, String text) { method in class:CommonToken
72 public CommonToken(Token oldToken) { method in class:CommonToken
80 if ( oldToken instanceof CommonToken ) {
81 start = ((CommonToken)oldToken).start;
82 stop = ((CommonToken)oldToken).stop;
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtoken.rb59 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 class in class:ANTLR3
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)
[all...]
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtesttree.py9 from antlr3 import CommonToken, UP, DOWN, EOF namespace
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(10
[all...]
/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/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...

Completed in 461 milliseconds