/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
D | BaseRecognizer.pm | 67 my ($self, $input, $ttype, $follow) = @_; 82 return $self->recover_from_mismatched_token($input, $ttype, $follow); 101 my ($self, $input, $follow) = @_; 103 if (!defined $follow) { 107 if ($follow->member(ANTLR::Runtime::Token->EOR_TOKEN_TYPE)) { 109 $follow = $follow->or($viable_tokens_following_this_rule); 111 $follow->remove(ANTLR::Runtime::Token->EOR_TOKEN_TYPE); 115 if ($follow->member($input->LA(1)) || $follow->member(ANTLR::Runtime::Token->EOR_TOKEN_TYPE)) { 124 my ($self, $input, $ttype, $follow) = @_; 132 elsif ($self->mismatch_is_missing_token($input, $follow)) { [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | BaseRecognizer.js | 109 match: function(input, ttype, follow) { argument 121 matchedSymbol = this.recoverFromMismatchedToken(input, ttype, follow); 154 mismatchIsMissingToken: function(input, follow) { argument 155 if ( !follow ) { 161 if ( follow.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE) ) { 163 follow = follow.or(this.viableTokensFollowingThisRule); 165 follow.remove(org.antlr.runtime.Token.EOR_TOKEN_TYPE); 175 if ( follow.member(input.LA(1)) || 176 follow.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE) ) 192 mismatch: function(input, ttype, follow) { argument [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
D | recognizers.rb | 385 def match( type, follow ) 393 return recover_from_mismatched_token( type, follow ) 627 def recover_from_mismatched_token( type, follow ) 636 if mismatch_is_missing_token?( follow ) 637 inserted = missing_symbol( nil, type, follow ) 645 def recover_from_mismatched_set( e, follow ) 646 if mismatch_is_missing_token?( follow ) 648 return missing_symbol( e, INVALID_TOKEN_TYPE, follow ) 653 def recover_from_mismatched_element( e, follow ) 654 follow.nil? and return false [all …]
|
/external/antlr/antlr-3.4/runtime/C/include/ |
D | antlr3baserecognizer.h | 120 ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 139 … ANTLR3_BASE_RECOGNIZER_struct * recognizer, pANTLR3_INT_STREAM input, pANTLR3_BITSET_LIST follow); 145 ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 231 pANTLR3_BITSET_LIST follow); 237 pANTLR3_BITSET_LIST follow); 243 pANTLR3_BITSET_LIST follow); 332 pANTLR3_BITSET_LIST follow);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | BaseRecognizer.java | 100 public Object match(IntStream input, int ttype, BitSet follow) in match() argument 115 matchedSymbol = recoverFromMismatchedToken(input, ttype, follow); in match() 130 public boolean mismatchIsMissingToken(IntStream input, BitSet follow) { in mismatchIsMissingToken() argument 131 if ( follow==null ) { in mismatchIsMissingToken() 137 if ( follow.member(Token.EOR_TOKEN_TYPE) ) { in mismatchIsMissingToken() 139 follow = follow.or(viableTokensFollowingThisRule); in mismatchIsMissingToken() 141 follow.remove(Token.EOR_TOKEN_TYPE); in mismatchIsMissingToken() 154 if ( follow.member(input.LA(1)) || follow.member(Token.EOR_TOKEN_TYPE) ) { in mismatchIsMissingToken() 588 protected Object recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow) in recoverFromMismatchedToken() argument 610 if ( mismatchIsMissingToken(input, follow) ) { in recoverFromMismatchedToken() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | BaseRecognizer.cs | 131 public virtual object Match(IIntStream input, int ttype, BitSet follow) { in Match() argument 144 matchedSymbol = RecoverFromMismatchedToken(input, ttype, follow); in Match() 159 public virtual bool MismatchIsMissingToken(IIntStream input, BitSet follow) { in MismatchIsMissingToken() argument 160 if (follow == null) { in MismatchIsMissingToken() 166 if (follow.Member(TokenTypes.EndOfRule)) { in MismatchIsMissingToken() 168 follow = follow.Or(viableTokensFollowingThisRule); in MismatchIsMissingToken() 170 follow.Remove(TokenTypes.EndOfRule); in MismatchIsMissingToken() 183 if (follow.Member(input.LA(1)) || follow.Member(TokenTypes.EndOfRule)) { in MismatchIsMissingToken() 616 … protected virtual object RecoverFromMismatchedToken(IIntStream input, int ttype, BitSet follow) { in RecoverFromMismatchedToken() argument 636 if (MismatchIsMissingToken(input, follow)) { in RecoverFromMismatchedToken() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | BaseRecognizer.cs | 141 public virtual object Match( IIntStream input, int ttype, BitSet follow ) in Match() argument 157 matchedSymbol = RecoverFromMismatchedToken( input, ttype, follow ); in Match() 174 public virtual bool MismatchIsMissingToken( IIntStream input, BitSet follow ) in MismatchIsMissingToken() argument 176 if ( follow == null ) in MismatchIsMissingToken() 183 if ( follow.Member( TokenTypes.EndOfRule ) ) in MismatchIsMissingToken() 186 follow = follow.Or( viableTokensFollowingThisRule ); in MismatchIsMissingToken() 189 follow.Remove( TokenTypes.EndOfRule ); in MismatchIsMissingToken() 202 if ( follow.Member( input.LA( 1 ) ) || follow.Member( TokenTypes.EndOfRule ) ) in MismatchIsMissingToken() 695 … protected virtual object RecoverFromMismatchedToken( IIntStream input, int ttype, BitSet follow ) in RecoverFromMismatchedToken() argument 717 if ( MismatchIsMissingToken( input, follow ) ) in RecoverFromMismatchedToken() [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3baserecognizer.c | 54 … match (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 56 …mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 58 …singToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_BITSET_LIST follow); 64 …atchedToken (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 65 … * recoverFromMismatchedSet (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_BITSET_LIST follow); 66 …LEAN recoverFromMismatchedElement(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_BITSET_LIST follow); 80 ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow); 416 ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) in match() argument 478 matchedSymbol = recognizer->recoverFromMismatchedToken(recognizer, ttype, follow); in match() 552 …MissingToken(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_BITSET_LIST follow) in mismatchIsMissingToken() argument [all …]
|
D | antlr3treeparser.c | 38 …mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 48 ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow); 174 mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) in mismatch() argument 177 recognizer->recoverFromMismatchedToken(recognizer, ttype, follow); in mismatch() 205 ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow) in getMissingSymbol() argument
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | recognizers.py | 197 def match(self, input, ttype, follow): argument 221 matchedSymbol = self.recoverFromMismatchedToken(input, ttype, follow) 236 def mismatchIsMissingToken(self, input, follow): argument 237 if follow is None: 243 if EOR_TOKEN_TYPE in follow: 245 follow = follow | viableTokensFollowingThisRule 249 follow = follow - set([EOR_TOKEN_TYPE]) 254 if input.LA(1) in follow or EOR_TOKEN_TYPE in follow: 668 def recoverFromMismatchedToken(self, input, ttype, follow): argument 720 if self.mismatchIsMissingToken(input, follow): [all …]
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | BaseRecognizer.as | 62 * symbols that can follow rule ref. 64 public function matchStream(input:IntStream, ttype:int, follow:BitSet):Object { 77 matchedSymbol = recoverFromMismatchedToken(input, ttype, follow); 92 public function mismatchIsMissingToken(input:IntStream, follow:BitSet):Boolean { 93 if ( follow==null ) { 94 // we have no information about the follow; we can only consume 98 // compute what can follow this grammar element reference 99 if ( follow.member(TokenConstants.EOR_TOKEN_TYPE) ) { 101 follow = follow.or(viableTokensFollowingThisRule); 103 follow.remove(TokenConstants.EOR_TOKEN_TYPE); [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRDebugTreeParser.m | 114 follow:(ANTLRBitSet *)follow 117 [self recoverFromMismatchedToken:inputStream exception:e follow:follow]; 122 follow:(ANTLRBitSet *)follow
|
D | ANTLRBaseRecognizer.h | 105 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 108 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow; 132 Follow:(ANTLRBitSet *)follow; 136 Follow:(ANTLRBitSet *)follow; 142 Follow:(ANTLRBitSet *)follow;
|
D | ANTLRBaseRecognizer.m | 230 -(id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow 243 matchedSymbol = [self recoverFromMismatchedToken:anInput TokenType:ttype Follow:follow]; 259 -(BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *) follow 261 if ( follow == nil ) { 262 // we have no information about the follow; we can only consume 266 // compute what can follow this grammar element reference 267 if ( [follow member:ANTLRTokenTypeEOR] ) { 269 follow = [follow or:viableTokensFollowingThisRule]; 271 [follow remove:(ANTLRTokenTypeEOR)]; 278 //System.out.println("viable tokens="+follow.toString(getTokenNames())); [all …]
|
D | ANTLRDebugTreeParser.h | 50 follow:(ANTLRBitSet *)follow;
|
D | ANTLRTreeParser.h | 60 BitSet:(ANTLRBitSet *)follow; 74 Follow:(ANTLRBitSet *)follow;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRBaseRecognizer.h | 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 116 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow; 140 Follow:(ANTLRBitSet *)follow; 144 Follow:(ANTLRBitSet *)follow; 150 Follow:(ANTLRBitSet *)follow;
|
D | ANTLRTreeParser.h | 60 BitSet:(ANTLRBitSet *)follow; 74 Follow:(ANTLRBitSet *)follow;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRBaseRecognizer.h | 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 116 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow; 140 Follow:(ANTLRBitSet *)follow; 144 Follow:(ANTLRBitSet *)follow; 150 Follow:(ANTLRBitSet *)follow;
|
D | ANTLRTreeParser.h | 60 BitSet:(ANTLRBitSet *)follow; 74 Follow:(ANTLRBitSet *)follow;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRBaseRecognizer.h | 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 116 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow; 140 Follow:(ANTLRBitSet *)follow; 144 Follow:(ANTLRBitSet *)follow; 150 Follow:(ANTLRBitSet *)follow;
|
/external/libxml2/result/VC/ |
D | ElementValid6.rdr | 1 ./test/VC/ElementValid6:7: element doc: validity error : Element doc content does not follow the DT… 4 ./test/VC/ElementValid6:8: element doc: validity error : Element doc content does not follow the DT…
|
D | ElementValid5.rdr | 1 ./test/VC/ElementValid5:7: element doc: validity error : Element doc content does not follow the DT… 4 ./test/VC/ElementValid5:8: element doc: validity error : Element doc content does not follow the DT…
|
D | ElementValid7.rdr | 1 ./test/VC/ElementValid7:7: element doc: validity error : Element doc content does not follow the DT… 4 ./test/VC/ElementValid7:8: element doc: validity error : Element doc content does not follow the DT…
|
/external/svox/pico/lib/ |
D | picobase.c | 57 picoos_uint8 follow; in picobase_utf8_length() local 63 follow = 0; in picobase_utf8_length() 65 if (follow > 0) { in picobase_utf8_length() 68 follow--; in picobase_utf8_length() 77 follow = 3; in picobase_utf8_length() 80 follow = 2; in picobase_utf8_length() 83 follow = 1; in picobase_utf8_length()
|