/** Is there a non-syn-pred predicate visible from s that is not in * the rule enclosing s? This accounts for most predicate situations * and lets ANTLR do a simple LL(1)+pred computation. * * TODO: what about gated vs regular preds? */ public boolean detectConfoundingPredicates(NFAState s) { lookBusy.clear(); Rule r = s.enclosingRule; return _detectConfoundingPredicates(s, r, false) == DETECT_PRED_FOUND; }
/** Is there a non-syn-pred predicate visible from s that is not in * the rule enclosing s? This accounts for most predicate situations * and lets ANTLR do a simple LL(1)+pred computation. * * TODO: what about gated vs regular preds? */ public boolean detectConfoundingPredicates(NFAState s) { lookBusy.clear(); Rule r = s.enclosingRule; return _detectConfoundingPredicates(s, r, false) == DETECT_PRED_FOUND; }
/** Is there a non-syn-pred predicate visible from s that is not in * the rule enclosing s? This accounts for most predicate situations * and lets ANTLR do a simple LL(1)+pred computation. * * TODO: what about gated vs regular preds? */ public boolean detectConfoundingPredicates(NFAState s) { lookBusy.clear(); Rule r = s.enclosingRule; return _detectConfoundingPredicates(s, r, false) == DETECT_PRED_FOUND; }
/** Is there a non-syn-pred predicate visible from s that is not in * the rule enclosing s? This accounts for most predicate situations * and lets ANTLR do a simple LL(1)+pred computation. * * TODO: what about gated vs regular preds? */ public boolean detectConfoundingPredicates(NFAState s) { lookBusy.clear(); Rule r = s.enclosingRule; return _detectConfoundingPredicates(s, r, false) == DETECT_PRED_FOUND; }
int result = _detectConfoundingPredicates((NFAState)transition0.target, enclosingRule, chaseFollowTransitions); NFAState following = ruleInvocationTrans.followState; int afterRuleResult = _detectConfoundingPredicates(following, enclosingRule, chaseFollowTransitions); if ( transition1!=null ) { int t1Result = _detectConfoundingPredicates((NFAState)transition1.target, enclosingRule, chaseFollowTransitions);
int result = _detectConfoundingPredicates((NFAState)transition0.target, enclosingRule, chaseFollowTransitions); NFAState following = ruleInvocationTrans.followState; int afterRuleResult = _detectConfoundingPredicates(following, enclosingRule, chaseFollowTransitions); if ( transition1!=null ) { int t1Result = _detectConfoundingPredicates((NFAState)transition1.target, enclosingRule, chaseFollowTransitions);
int result = _detectConfoundingPredicates((NFAState)transition0.target, enclosingRule, chaseFollowTransitions); NFAState following = (NFAState) ruleInvocationTrans.followState; int afterRuleResult = _detectConfoundingPredicates(following, enclosingRule, chaseFollowTransitions); if ( transition1!=null ) { int t1Result = _detectConfoundingPredicates((NFAState)transition1.target, enclosingRule, chaseFollowTransitions);
int result = _detectConfoundingPredicates((NFAState)transition0.target, enclosingRule, chaseFollowTransitions); NFAState following = (NFAState) ruleInvocationTrans.followState; int afterRuleResult = _detectConfoundingPredicates(following, enclosingRule, chaseFollowTransitions); if ( transition1!=null ) { int t1Result = _detectConfoundingPredicates((NFAState)transition1.target, enclosingRule, chaseFollowTransitions);