(localctx antlr.RuleContext, ruleIndex, predIndex int)
| 10088 | } |
| 10089 | |
| 10090 | func (p *CommandsParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool { |
| 10091 | switch ruleIndex { |
| 10092 | case 24: |
| 10093 | var t *RelationContext = nil |
| 10094 | if localctx != nil { |
| 10095 | t = localctx.(*RelationContext) |
| 10096 | } |
| 10097 | return p.Relation_Sempred(t, predIndex) |
| 10098 | |
| 10099 | case 25: |
| 10100 | var t *CalcContext = nil |
| 10101 | if localctx != nil { |
| 10102 | t = localctx.(*CalcContext) |
| 10103 | } |
| 10104 | return p.Calc_Sempred(t, predIndex) |
| 10105 | |
| 10106 | case 27: |
| 10107 | var t *MemberContext = nil |
| 10108 | if localctx != nil { |
| 10109 | t = localctx.(*MemberContext) |
| 10110 | } |
| 10111 | return p.Member_Sempred(t, predIndex) |
| 10112 | |
| 10113 | default: |
| 10114 | panic("No predicate with index: " + fmt.Sprint(ruleIndex)) |
| 10115 | } |
| 10116 | } |
| 10117 | |
| 10118 | func (p *CommandsParser) Relation_Sempred(localctx antlr.RuleContext, predIndex int) bool { |
| 10119 | switch predIndex { |
nothing calls this directly
no test coverage detected