Searched refs:CommonToken (Results 26 - 50 of 104) sorted by relevance

12345

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestMessages.java34 import org.antlr.runtime.CommonToken;
65 new CommonToken(ANTLRParser.ACTION,action),1);
H A DTestTemplates.java34 import org.antlr.runtime.CommonToken;
72 new CommonToken(ANTLRParser.ACTION,action),1);
109 new CommonToken(ANTLRParser.ACTION,action),1);
147 new CommonToken(ANTLRParser.ACTION,action),1);
182 new CommonToken(ANTLRParser.ACTION,action),1);
218 new CommonToken(ANTLRParser.ACTION,action),1);
253 new CommonToken(ANTLRParser.ACTION,action),1);
H A DTestAttributes.java34 import org.antlr.runtime.CommonToken;
60 new CommonToken(ANTLRParser.ACTION,action),0);
88 new CommonToken(ANTLRParser.ACTION,action),0);
108 new CommonToken(ANTLRParser.ACTION,action),1);
133 new CommonToken(ANTLRParser.ACTION,action),1);
186 new CommonToken(ANTLRParser.ACTION,action),1);
222 new CommonToken(ANTLRParser.ACTION,action),1);
247 new CommonToken(ANTLRParser.ACTION,action),1);
278 new CommonToken(ANTLRParser.ACTION,action),1);
316 new CommonToken(ANTLRParse
[all...]
/external/smali/smali/src/main/java/org/jf/smali/
H A DSemanticException.java31 import org.antlr.runtime.CommonToken;
65 this.index = ((CommonToken)token).getStartIndex();
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DCommonTreeAdaptor.java30 import org.antlr.runtime.CommonToken;
68 return new CommonToken(tokenType, text);
86 return new CommonToken(fromToken);
H A DTreePatternParser.java31 import org.antlr.runtime.CommonToken;
112 Token wildcardPayload = new CommonToken(0, ".");
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-trees.rb21 t = CommonTree.new(CommonToken.new { |t| t.type = 101 })
39 super(token || (CommonToken.new { |t| t.type = type } if type))
48 u = v.new CommonToken.create(:type => 102, :text => '102')
60 t = CommonTree.new CommonToken[101]
61 t.add_child( CommonTree.new CommonToken[102] )
62 t.child(0).add_child(CommonTree.new CommonToken[103])
63 t.add_child(CommonTree.new CommonToken[104])
78 t = CommonTree.new CommonToken[101]
79 t.add_child CommonTree.new(CommonToken[102])
80 t.child(0).add_child(CommonTree.new(CommonToken[10
[all...]
/external/smali/smalidea/src/main/java/org/jf/smalidea/
H A DPsiBuilderTokenStream.java38 import org.antlr.runtime.CommonToken;
51 @Nullable private CommonToken currentToken = null;
98 currentToken = new CommonToken(elementType.tokenId, psiBuilder.getTokenText());
105 currentToken = new CommonToken(Token.EOF);
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DParser.as60 var t:CommonToken = new CommonToken(expectedTokenType, tokenText);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DCommonTreeAdaptor.cs84 return new CommonToken(tokenType, text);
106 return new CommonToken(fromToken);
H A DTreeParser.cs101 return adaptor.Create(new CommonToken(expectedTokenType, tokenText));
170 e.Token = new CommonToken(adaptor.GetType(e.Node),
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DMachineProbe.java32 import org.antlr.runtime.CommonToken;
133 CommonToken token = new CommonToken(oldtoken
/external/smali/smali/src/test/java/org/jf/smali/
H A DLexerTest.java33 import org.antlr.runtime.CommonToken;
170 CommonToken token;
172 token = (CommonToken)tokens.get(i);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeParser.cs111 return adaptor.Create(new CommonToken(expectedTokenType, tokenText));
189 e.Token = new CommonToken( adaptor.GetType( e.Node ),
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DCommonTreeAdaptor.js58 return new org.antlr.runtime.CommonToken(arguments[0], arguments[1]);
60 return new org.antlr.runtime.CommonToken(arguments[0]);
H A DTreeParser.js46 return new org.antlr.runtime.tree.CommonTree(new org.antlr.runtime.CommonToken(expectedTokenType, tokenText));
107 e.token = new org.antlr.runtime.CommonToken(
H A DCommonTree.js28 } else if (node instanceof org.antlr.runtime.CommonToken) {
133 /* Monkey patch Tree static property with CommonToken value. */
/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/JavaScript/tests/functional/
H A Drhino-python.extensions175 var indent = new ANTLR.runtime.CommonToken(PythonParser.INDENT, "");
185 var dedent = new ANTLR.runtime.CommonToken(PythonParser.DEDENT, "");
/external/antlr/antlr-3.4/runtime/Python/antlr3/
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)
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DInterpreter.java59 public CommonToken token;
69 token = new CommonToken((CharStream)input,type,channel,0,0);
84 return new CommonToken((CharStream)input,Token.EOF,Token.DEFAULT_CHANNEL,input.index(),input.index());
88 CommonToken token = null;
105 return new CommonToken((CharStream)input,Token.EOF,Token.DEFAULT_CHANNEL,start,start);
152 public CommonToken scan(String startRule)
158 public CommonToken scan(String startRule,
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DTreeParser.as76 return CommonTree.createFromToken(new CommonToken(expectedTokenType, tokenText));
134 e.token = new CommonToken(adaptor.getType(e.node),
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
H A DTestExpressionFeatures.g337 TokenLabelType=CommonToken;
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DParser.js29 var t = new org.antlr.runtime.CommonToken(expectedTokenType, tokenText);
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DParser.pm44 my $t = ANTLR::Runtime::CommonToken->new({

Completed in 3619 milliseconds

12345