()
| 3208 | } |
| 3209 | |
| 3210 | func (p *CommandsParser) QualId() (localctx IQualIdContext) { |
| 3211 | localctx = NewQualIdContext(p, p.GetParserRuleContext(), p.GetState()) |
| 3212 | p.EnterRule(localctx, 28, CommandsParserRULE_qualId) |
| 3213 | var _la int |
| 3214 | |
| 3215 | p.EnterOuterAlt(localctx, 1) |
| 3216 | p.SetState(168) |
| 3217 | p.GetErrorHandler().Sync(p) |
| 3218 | if p.HasError() { |
| 3219 | goto errorExit |
| 3220 | } |
| 3221 | _la = p.GetTokenStream().LA(1) |
| 3222 | |
| 3223 | if _la == CommandsParserDOT { |
| 3224 | { |
| 3225 | p.SetState(167) |
| 3226 | |
| 3227 | var _m = p.Match(CommandsParserDOT) |
| 3228 | |
| 3229 | localctx.(*QualIdContext).leadingDot = _m |
| 3230 | if p.HasError() { |
| 3231 | // Recognition error - abort rule |
| 3232 | goto errorExit |
| 3233 | } |
| 3234 | } |
| 3235 | |
| 3236 | } |
| 3237 | { |
| 3238 | p.SetState(170) |
| 3239 | |
| 3240 | var _m = p.Match(CommandsParserIDENTIFIER) |
| 3241 | |
| 3242 | localctx.(*QualIdContext).rid = _m |
| 3243 | if p.HasError() { |
| 3244 | // Recognition error - abort rule |
| 3245 | goto errorExit |
| 3246 | } |
| 3247 | } |
| 3248 | p.SetState(175) |
| 3249 | p.GetErrorHandler().Sync(p) |
| 3250 | if p.HasError() { |
| 3251 | goto errorExit |
| 3252 | } |
| 3253 | _la = p.GetTokenStream().LA(1) |
| 3254 | |
| 3255 | for _la == CommandsParserDOT { |
| 3256 | { |
| 3257 | p.SetState(171) |
| 3258 | p.Match(CommandsParserDOT) |
| 3259 | if p.HasError() { |
| 3260 | // Recognition error - abort rule |
| 3261 | goto errorExit |
| 3262 | } |
| 3263 | } |
| 3264 | { |
| 3265 | p.SetState(172) |
| 3266 | |
| 3267 | var _m = p.Match(CommandsParserIDENTIFIER) |
no test coverage detected