Searched refs:ttype (Results 51 - 75 of 147) sorted by relevance

123456

/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRHashMap.h88 - (ANTLRMapElement *)getNameInList:(NSInteger)ttype;
89 - (void)putNode:(NSString *)name TokenType:(NSInteger)ttype;
H A DANTLRTreeParser.h73 Type:(NSInteger)ttype
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DCommonTokenStream.as146 * 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));
H A DBaseRecognizer.as53 /** 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, inpu
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DLegacyCommonTokenStream.cs221 * to force all tokens of type ttype to be on channel. For example,
227 public virtual void SetTokenTypeChannel( int ttype, int channel ) argument
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/
H A DLegacyCommonTokenStream.java161 * to force all tokens of type ttype to be on channel. For example,
166 public void setTokenTypeChannel(int ttype, int channel) { argument
170 channelOverrideMap.put(new Integer(ttype), new Integer(channel));
173 public void discardTokenType(int ttype) { argument
177 discardSet.add(new Integer(ttype));
231 public List getTokens(int start, int stop, int ttype) { argument
232 return getTokens(start,stop,BitSet.of(ttype));
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DTreeToNFAConverter.g489 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
[all...]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtokens.py66 def setType(self, ttype):
244 def setType(self, ttype):
245 self.type = ttype
353 def setType(self, ttype):
354 self.type = ttype
H A Drecognizers.py197 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, inpu
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3baserecognizer.c54 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) argument
535 if (nextt == ttype)
415 match( pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
642 mismatch(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
1432 recoverFromMismatchedToken(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
1718 ANTLR3_UINT32 ttype; local
1768 ANTLR3_UINT32 ttype; local
[all...]
H A Dantlr3treeparser.c38 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) argument
177 recognizer->recoverFromMismatchedToken(recognizer, ttype, follow);
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3tokenstream.h242 * 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/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeParser.cs145 protected override object RecoverFromMismatchedToken(IIntStream input, int ttype, BitSet follow) { argument
146 throw new MismatchedTreeNodeException(ttype, (ITreeNodeStream)input);
H A DBaseTree.cs379 public virtual bool HasAncestor(int ttype) { argument
380 return GetAncestor(ttype) != null;
384 public virtual ITree GetAncestor(int ttype) { argument
388 if (t.Type == ttype)
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeParser.cs159 protected override object RecoverFromMismatchedToken( IIntStream input, int ttype, BitSet follow ) argument
161 throw new MismatchedTreeNodeException( ttype, (ITreeNodeStream)input );
H A DBaseTree.cs455 public virtual bool HasAncestor( int ttype )
457 return GetAncestor( ttype ) != null;
461 public virtual ITree GetAncestor( int ttype )
467 if ( t.Type == ttype )
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DTreeParser.js85 mismatch: function(input, ttype, follow) {
86 throw new org.antlr.runtime.MismatchedTreeNodeException(ttype, input);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRHashMap.h85 - (ANTLRMapElement *)getNameInList:(NSInteger)ttype;
86 - (void)putNode:(NSString *)name TokenType:(NSInteger)ttype;
H A DANTLRTreeParser.h73 Type:(NSInteger)ttype
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DInterp.java58 public void setTokenTypeChannel(int ttype, int channel) { argument
59 hide.add(ttype);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DBaseTree.java313 public boolean hasAncestor(int ttype) { return getAncestor(ttype)!=null; } argument
316 public Tree getAncestor(int ttype) { argument
320 if ( t.getType()==ttype ) return t;
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DCommonTokenStream.js107 * 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/
H A DANTLRTreeParser.h73 Type:(NSInteger)ttype
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRTreeParser.h73 Type:(NSInteger)ttype
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DTreeParser.as113 protected override function mismatch(input:IntStream, ttype:int, follow:BitSet):void {
114 throw new MismatchedTreeNodeException(ttype, TreeNodeStream(input));

Completed in 641 milliseconds

123456