Home
last modified time | relevance | path

Searched refs:expectedTokenType (Results 1 – 25 of 44) sorted by relevance

12

/external/antlr/runtime/ObjC/Framework/
DMismatchedTokenException.m37 + (id) newException:(NSInteger)expectedTokenType Stream:(id<IntStream>)anInput
39 return [[MismatchedTokenException alloc] initWithTokenType:expectedTokenType Stream:anInput];
42 + (id) newExceptionMissing:(NSInteger)expectedTokenType
46 …return [[MismatchedTokenException alloc] initWithTokenType:expectedTokenType Stream:anInput Token:…
59 -(id) initWithTokenType:(NSInteger)expectedTokenType Stream:(id<IntStream>)anInput
62 expecting = expectedTokenType;
68 -(id) initWithTokenType:(NSInteger)expectedTokenType
73 expecting = expectedTokenType;
DMismatchedTokenException.h44 + (id) newException:(NSInteger)expectedTokenType Stream:(id<IntStream>)anInput;
45 + (id) newExceptionMissing:(NSInteger)expectedTokenType
52 - (id) initWithTokenType:(NSInteger)expectedTokenType Stream:(id<IntStream>)anInput;
53 -(id) initWithTokenType:(NSInteger)expectedTokenType
DMismatchedTreeNodeException.m34 + (id) newException:(NSInteger)expectedTokenType Stream:(id<IntStream>)anInput
36 return [[MismatchedTreeNodeException alloc] initWithTokenType:expectedTokenType Stream:anInput];
39 -(id) initWithTokenType:(NSInteger)expectedTokenType Stream:(id<IntStream>)anInput
42 expecting = expectedTokenType;
DMismatchedTreeNodeException.h38 + (id) newException:(NSInteger)expectedTokenType Stream:(id<IntStream>)anInput;
39 - (id) initWithTokenType:(NSInteger) expectedTokenType Stream:(id<IntStream>)anInput;
DParser.m100 TType:(NSInteger)expectedTokenType
104 if ( expectedTokenType == TokenTypeEOF )
107 …ringWithFormat:@"<missing %@>\n",[[BaseRecognizer getTokenNames] objectAtIndex:expectedTokenType]];
108 CommonToken *t = [[CommonToken newToken:expectedTokenType Text:tokenText] retain];
DTreeParser.m106 ExpectedToken:(NSInteger)expectedTokenType
109 …tokenText =[NSString stringWithFormat:@"<missing %@ %d>", [self getTokenNames], expectedTokenType];
111 //return [anAdaptor createToken:expectedTokenType Text:tokenText];
112 return [CommonToken newToken:expectedTokenType Text:tokenText];
DParser.h50 TType:(NSInteger)expectedTokenType
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DParser.cs75 int expectedTokenType, in GetMissingSymbol() argument
79 if ( expectedTokenType == TokenTypes.EndOfFile ) in GetMissingSymbol()
82 tokenText = "<missing " + TokenNames[expectedTokenType] + ">"; in GetMissingSymbol()
83 CommonToken t = new CommonToken( expectedTokenType, tokenText ); in GetMissingSymbol()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DParser.cs69 int expectedTokenType, in GetMissingSymbol() argument
72 if (expectedTokenType == TokenTypes.EndOfFile) in GetMissingSymbol()
75 tokenText = "<missing " + TokenNames[expectedTokenType] + ">"; in GetMissingSymbol()
76 CommonToken t = new CommonToken(expectedTokenType, tokenText); in GetMissingSymbol()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DParser.java62 int expectedTokenType, in getMissingSymbol() argument
66 if ( expectedTokenType==Token.EOF ) tokenText = "<missing EOF>"; in getMissingSymbol()
67 else tokenText = "<missing "+getTokenNames()[expectedTokenType]+">"; in getMissingSymbol()
68 CommonToken t = new CommonToken(expectedTokenType, tokenText); in getMissingSymbol()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DParser.js24 expectedTokenType, argument
28 "<missing "+this.getTokenNames()[expectedTokenType]+">";
29 var t = new org.antlr.runtime.CommonToken(expectedTokenType, tokenText);
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeParser.cs105 int expectedTokenType, in GetMissingSymbol() argument
109 "<missing " + TokenNames[expectedTokenType] + ">"; in GetMissingSymbol()
111 return adaptor.Create(new CommonToken(expectedTokenType, tokenText)); in GetMissingSymbol()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeParser.cs96 int expectedTokenType, in GetMissingSymbol() argument
99 "<missing " + TokenNames[expectedTokenType] + ">"; in GetMissingSymbol()
101 return adaptor.Create(new CommonToken(expectedTokenType, tokenText)); in GetMissingSymbol()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DTreeParser.js43 getMissingSymbol: function(input, e, expectedTokenType, follow) { argument
45 "<missing "+this.getTokenNames()[expectedTokenType]+">";
46 …org.antlr.runtime.tree.CommonTree(new org.antlr.runtime.CommonToken(expectedTokenType, tokenText));
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DParser.as55 expectedTokenType:int,
58 if ( expectedTokenType==TokenConstants.EOF ) tokenText = "<missing EOF>";
59 else tokenText = "<missing "+tokenNames[expectedTokenType]+">";
60 var t:CommonToken = new CommonToken(expectedTokenType, tokenText);
/external/antlr/runtime/C/src/
Dantlr3treeparser.c48 ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow);
205 ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow) in getMissingSymbol() argument
245 text->append8 (text, (const char *)recognizer->state->tokenNames[expectedTokenType]); in getMissingSymbol()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugTreeParser.cs109 int expectedTokenType, in GetMissingSymbol() argument
112 object o = base.GetMissingSymbol( input, e, expectedTokenType, follow ); in GetMissingSymbol()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugTreeParser.cs101 int expectedTokenType, in GetMissingSymbol() argument
103 object o = base.GetMissingSymbol(input, e, expectedTokenType, follow); in GetMissingSymbol()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeParser.java91 int expectedTokenType, in getMissingSymbol() argument
95 "<missing "+getTokenNames()[expectedTokenType]+">"; in getMissingSymbol()
97 return adaptor.create(new CommonToken(expectedTokenType, tokenText)); in getMissingSymbol()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeParser.java88 int expectedTokenType, in getMissingSymbol() argument
91 Object o = super.getMissingSymbol(input, e, expectedTokenType, follow); in getMissingSymbol()
/external/smali/smali/src/test/java/org/jf/smali/
DLexerTest.java191 int expectedTokenType = tokenTypesByName.get(expectedToken.tokenName); in runTest() local
193 if (token.getType() != expectedTokenType) { in runTest()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DTreeParser.as72 expectedTokenType:int,
75 "<missing "+tokenNames[expectedTokenType]+">";
76 return CommonTree.createFromToken(new CommonToken(expectedTokenType, tokenText));
/external/antlr/runtime/Python/antlr3/
Drecognizers.py760 def getMissingSymbol(self, input, e, expectedTokenType, follow): argument
1383 def getMissingSymbol(self, input, e, expectedTokenType, follow): argument
1384 if expectedTokenType == EOF:
1387 tokenText = "<missing " + self.tokenNames[expectedTokenType] + ">"
1388 t = CommonToken(type=expectedTokenType, text=tokenText)
/external/antlr/runtime/Python3/antlr3/
Drecognizers.py752 def getMissingSymbol(self, input, e, expectedTokenType, follow): argument
1352 def getMissingSymbol(self, input, e, expectedTokenType, follow): argument
1353 if expectedTokenType == EOF:
1356 tokenText = "<missing {}>".format(self.tokenNames[expectedTokenType])
1357 t = CommonToken(type=expectedTokenType, text=tokenText)
/external/antlr/runtime/Cpp/include/
Dantlr3treeparser.inl156 ANTLR_UINT32 expectedTokenType, BitsetListType* follow) argument
189 text.append((const char *)this->get_rec()->get_state()->get_tokenName(expectedTokenType));

12