/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | TestMessages.java | 34 import org.antlr.runtime.CommonToken; 65 new CommonToken(ANTLRParser.ACTION,action),1);
|
H A D | TestTemplates.java | 34 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 D | TestAttributes.java | 34 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 D | SemanticException.java | 31 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 D | CommonTreeAdaptor.java | 30 import org.antlr.runtime.CommonToken; 68 return new CommonToken(tokenType, text); 86 return new CommonToken(fromToken);
|
H A D | TreePatternParser.java | 31 import org.antlr.runtime.CommonToken; 112 Token wildcardPayload = new CommonToken(0, ".");
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
H A D | test-trees.rb | 21 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 D | PsiBuilderTokenStream.java | 38 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 D | Parser.as | 60 var t:CommonToken = new CommonToken(expectedTokenType, tokenText);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
H A D | CommonTreeAdaptor.cs | 84 return new CommonToken(tokenType, text); 106 return new CommonToken(fromToken);
|
H A D | TreeParser.cs | 101 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 D | MachineProbe.java | 32 import org.antlr.runtime.CommonToken; 133 CommonToken token = new CommonToken(oldtoken
|
/external/smali/smali/src/test/java/org/jf/smali/ |
H A D | LexerTest.java | 33 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 D | TreeParser.cs | 111 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 D | CommonTreeAdaptor.js | 58 return new org.antlr.runtime.CommonToken(arguments[0], arguments[1]); 60 return new org.antlr.runtime.CommonToken(arguments[0]);
|
H A D | TreeParser.js | 46 return new org.antlr.runtime.tree.CommonTree(new org.antlr.runtime.CommonToken(expectedTokenType, tokenText)); 107 e.token = new org.antlr.runtime.CommonToken(
|
H A D | CommonTree.js | 28 } 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 D | 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 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 D | rhino-python.extensions | 175 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 D | tokens.py | 163 # +- 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 D | Interpreter.java | 59 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 D | TreeParser.as | 76 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 D | TestExpressionFeatures.g3 | 37 TokenLabelType=CommonToken;
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
H A D | Parser.js | 29 var t = new org.antlr.runtime.CommonToken(expectedTokenType, tokenText);
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
H A D | Parser.pm | 44 my $t = ANTLR::Runtime::CommonToken->new({
|