(i int)
| 1537 | } |
| 1538 | |
| 1539 | func (s *CalcContext) Calc(i int) ICalcContext { |
| 1540 | var t antlr.RuleContext |
| 1541 | j := 0 |
| 1542 | for _, ctx := range s.GetChildren() { |
| 1543 | if _, ok := ctx.(ICalcContext); ok { |
| 1544 | if j == i { |
| 1545 | t = ctx.(antlr.RuleContext) |
| 1546 | break |
| 1547 | } |
| 1548 | j++ |
| 1549 | } |
| 1550 | } |
| 1551 | |
| 1552 | if t == nil { |
| 1553 | return nil |
| 1554 | } |
| 1555 | |
| 1556 | return t.(ICalcContext) |
| 1557 | } |
| 1558 | |
| 1559 | func (s *CalcContext) STAR() antlr.TerminalNode { |
| 1560 | return s.GetToken(CELParserSTAR, 0) |
nothing calls this directly
no outgoing calls
no test coverage detected