func()

in pkg/dataplane/internal/challenge/challenge_parser.go [2059:2077]


func (s *Quoted_stringContext) Quoted_pair(i int) IQuoted_pairContext {
	var t antlr.RuleContext
	j := 0
	for _, ctx := range s.GetChildren() {
		if _, ok := ctx.(IQuoted_pairContext); ok {
			if j == i {
				t = ctx.(antlr.RuleContext)
				break
			}
			j++
		}
	}

	if t == nil {
		return nil
	}

	return t.(IQuoted_pairContext)
}