(localctx antlr.RuleContext, ruleIndex, predIndex int)
| 6130 | } |
| 6131 | |
| 6132 | func (p *CELParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool { |
| 6133 | switch ruleIndex { |
| 6134 | case 4: |
| 6135 | var t *RelationContext = nil |
| 6136 | if localctx != nil { |
| 6137 | t = localctx.(*RelationContext) |
| 6138 | } |
| 6139 | return p.Relation_Sempred(t, predIndex) |
| 6140 | |
| 6141 | case 5: |
| 6142 | var t *CalcContext = nil |
| 6143 | if localctx != nil { |
| 6144 | t = localctx.(*CalcContext) |
| 6145 | } |
| 6146 | return p.Calc_Sempred(t, predIndex) |
| 6147 | |
| 6148 | case 7: |
| 6149 | var t *MemberContext = nil |
| 6150 | if localctx != nil { |
| 6151 | t = localctx.(*MemberContext) |
| 6152 | } |
| 6153 | return p.Member_Sempred(t, predIndex) |
| 6154 | |
| 6155 | default: |
| 6156 | panic("No predicate with index: " + fmt.Sprint(ruleIndex)) |
| 6157 | } |
| 6158 | } |
| 6159 | |
| 6160 | func (p *CELParser) Relation_Sempred(localctx antlr.RuleContext, predIndex int) bool { |
| 6161 | switch predIndex { |
nothing calls this directly
no test coverage detected