(self)
| 6396 | |
| 6397 | |
| 6398 | def initializer(self): |
| 6399 | |
| 6400 | localctx = CParser.InitializerContext(self, self._ctx, self.state) |
| 6401 | self.enterRule(localctx, 128, self.RULE_initializer) |
| 6402 | try: |
| 6403 | self.state = 1007 |
| 6404 | la_ = self._interp.adaptivePredict(self._input,104,self._ctx) |
| 6405 | if la_ == 1: |
| 6406 | self.enterOuterAlt(localctx, 1) |
| 6407 | self.state = 997 |
| 6408 | self.assignmentExpression() |
| 6409 | pass |
| 6410 | |
| 6411 | elif la_ == 2: |
| 6412 | self.enterOuterAlt(localctx, 2) |
| 6413 | self.state = 998 |
| 6414 | self.match(CParser.LeftBrace) |
| 6415 | self.state = 999 |
| 6416 | self.initializerList(0) |
| 6417 | self.state = 1000 |
| 6418 | self.match(CParser.RightBrace) |
| 6419 | pass |
| 6420 | |
| 6421 | elif la_ == 3: |
| 6422 | self.enterOuterAlt(localctx, 3) |
| 6423 | self.state = 1002 |
| 6424 | self.match(CParser.LeftBrace) |
| 6425 | self.state = 1003 |
| 6426 | self.initializerList(0) |
| 6427 | self.state = 1004 |
| 6428 | self.match(CParser.Comma) |
| 6429 | self.state = 1005 |
| 6430 | self.match(CParser.RightBrace) |
| 6431 | pass |
| 6432 | |
| 6433 | |
| 6434 | except RecognitionException as re: |
| 6435 | localctx.exception = re |
| 6436 | self._errHandler.reportError(self, re) |
| 6437 | self._errHandler.recover(self, re) |
| 6438 | finally: |
| 6439 | self.exitRule() |
| 6440 | return localctx |
| 6441 | |
| 6442 | class InitializerListContext(ParserRuleContext): |
| 6443 |
no test coverage detected