/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRHashMap.h | 88 - (ANTLRMapElement *)getNameInList:(NSInteger)ttype; 89 - (void)putNode:(NSString *)name TokenType:(NSInteger)ttype;
|
ANTLRTreeParser.h | 73 Type:(NSInteger)ttype
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRHashMap.h | 88 - (ANTLRMapElement *)getNameInList:(NSInteger)ttype; 89 - (void)putNode:(NSString *)name TokenType:(NSInteger)ttype;
|
ANTLRTreeParser.h | 73 Type:(NSInteger)ttype
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
CommonTokenStream.as | 146 * to force all tokens of type ttype to be on channel. For example, 151 public function setTokenTypeChannel(ttype:int, channel:int):void { 155 channelOverrideMap[ttype] = channel; 158 public function discardTokenType(ttype:int):void { 162 discardSet[ttype] = true; 218 public function getTokensInt(start:int, stop:int, ttype:int):Array { 219 return getTokensBitSet(start,stop,BitSet.of(ttype));
|
BaseRecognizer.as | 53 /** Match current input symbol against ttype. Attempt 64 public function matchStream(input:IntStream, ttype:int, follow:BitSet):Object { 67 if ( input.LA(1)==ttype ) { 77 matchedSymbol = recoverFromMismatchedToken(input, ttype, follow); 88 public function mismatchIsUnwantedToken(input:IntStream, ttype:int):Boolean { 89 return input.LA(2)==ttype; 123 * differently. Override and call mismatchRecover(input, ttype, follow) 128 protected function mismatch(input:IntStream, ttype:int, follow:BitSet):void 130 if ( mismatchIsUnwantedToken(input, ttype) ) { 131 throw new UnwantedTokenException(ttype, input) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
LegacyCommonTokenStream.cs | 221 * to force all tokens of type ttype to be on channel. For example, 227 public virtual void SetTokenTypeChannel( int ttype, int channel ) 233 channelOverrideMap[ttype] = channel; 236 public virtual void DiscardTokenType( int ttype ) 242 discardSet.Add( ttype ); 311 public virtual IList<IToken> GetTokens( int start, int stop, int ttype ) 313 return GetTokens( start, stop, BitSet.Of( ttype ) );
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
LegacyCommonTokenStream.java | 161 * to force all tokens of type ttype to be on channel. For example, 166 public void setTokenTypeChannel(int ttype, int channel) { 170 channelOverrideMap.put(new Integer(ttype), new Integer(channel)); 173 public void discardTokenType(int ttype) { 177 discardSet.add(new Integer(ttype)); 231 public List getTokens(int start, int stop, int ttype) { 232 return getTokens(start,stop,BitSet.of(ttype));
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
TreeToNFAConverter.g | 489 int ttype=0; 492 ttype = Grammar.getCharValueFromGrammarCharLiteral($c.text); 496 ttype = grammar.getTokenType($c.text); 498 IntSet notAtom = grammar.complement(ttype); 511 int ttype=0; 531 ttype = grammar.getTokenType($t.text); 532 notAtom = grammar.complement(ttype); 694 int ttype; 701 ttype = Grammar.getCharValueFromGrammarCharLiteral($c.text); 705 ttype = grammar.getTokenType($c.text) [all...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
tokens.py | 66 def setType(self, ttype): 244 def setType(self, ttype): 245 self.type = ttype 353 def setType(self, ttype): 354 self.type = ttype
|
recognizers.py | 197 def match(self, input, ttype, follow): 199 Match current input symbol against ttype. Attempt 212 if self.input.LA(1) == ttype: 221 matchedSymbol = self.recoverFromMismatchedToken(input, ttype, follow) 232 def mismatchIsUnwantedToken(self, input, ttype): 233 return input.LA(2) == ttype 668 def recoverFromMismatchedToken(self, input, ttype, follow): 681 ttype then it is ok to 'insert' the missing token, else throw 702 if self.mismatchIsUnwantedToken(input, ttype): 703 e = UnwantedTokenException(ttype, input [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3baserecognizer.c | 54 static void * match (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 56 static void mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 57 static ANTLR3_BOOLEAN mismatchIsUnwantedToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype); 64 static void * recoverFromMismatchedToken (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 405 /// Match current input symbol against ttype. Upon error, do one token 416 ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) 453 if (is->_LA(is, 1) == ttype) 478 matchedSymbol = recognizer->recoverFromMismatchedToken(recognizer, ttype, follow); 529 mismatchIsUnwantedToken(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype) 535 if (nextt == ttype) 1718 ANTLR3_UINT32 ttype; local 1768 ANTLR3_UINT32 ttype; local [all...] |
antlr3treeparser.c | 38 static void mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 174 mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) 177 recognizer->recoverFromMismatchedToken(recognizer, ttype, follow);
|
/system/core/adb/ |
commandline.c | 41 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...); 434 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* serial) 440 if (ttype == kTransportUsb) 442 else if (ttype == kTransportLocal) 635 static void status_window(transport_type ttype, const char* serial) 651 format_host_command(command, sizeof command, "get-state", ttype, serial); 1129 transport_type ttype = kTransportAny; local [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3tokenstream.h | 242 * to force all tokens of type ttype to be on channel. For example, 248 ANTLR3_UINT32 ttype, ANTLR3_UINT32 channel); 253 void (*discardTokenType) (struct ANTLR3_COMMON_TOKEN_STREAM_struct * tokenStream, ANTLR3_INT32 ttype);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRHashMap.h | 85 - (ANTLRMapElement *)getNameInList:(NSInteger)ttype; 86 - (void)putNode:(NSString *)name TokenType:(NSInteger)ttype;
|
ANTLRTreeParser.h | 73 Type:(NSInteger)ttype
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Interp.java | 58 public void setTokenTypeChannel(int ttype, int channel) { 59 hide.add(ttype);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
BaseTree.java | 313 public boolean hasAncestor(int ttype) { return getAncestor(ttype)!=null; } 316 public Tree getAncestor(int ttype) { 320 if ( t.getType()==ttype ) return t;
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
CommonTokenStream.js | 107 * to force all tokens of type ttype to be on channel. For example, 112 setTokenTypeChannel: function(ttype, channel) { 116 this.channelOverrideMap[ttype] = channel; 119 discardTokenType: function(ttype) { 123 this.discardSet[ttype] = true;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRTreeParser.h | 73 Type:(NSInteger)ttype
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
TreeParser.as | 113 protected override function mismatch(input:IntStream, ttype:int, follow:BitSet):void { 114 throw new MismatchedTreeNodeException(ttype, TreeNodeStream(input));
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeParser.cs | 145 protected override object RecoverFromMismatchedToken(IIntStream input, int ttype, BitSet follow) { 146 throw new MismatchedTreeNodeException(ttype, (ITreeNodeStream)input);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreeParser.cs | 159 protected override object RecoverFromMismatchedToken( IIntStream input, int ttype, BitSet follow ) 161 throw new MismatchedTreeNodeException( ttype, (ITreeNodeStream)input );
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
TreeParser.js | 85 mismatch: function(input, ttype, follow) { 86 throw new org.antlr.runtime.MismatchedTreeNodeException(ttype, input);
|