// $ANTLR start "expr" // C:\\data\\home\\ewger\\development\\php\\antlrPhp\\examples\\import\\Simple.g:21:1: expr : ( INT | FLOAT ); public function expr() { try { if ($this->input->LA(1) >= $this->getToken('INT') && $this->input->LA(1) <= $this->getToken('FLOAT')) { $this->input->consume(); $this->state->errorRecovery = false; } else { $mse = new MismatchedSetException(null, $this->input); throw mse; } } catch (RecognitionException $re) { $this->reportError($re); $this->recover($this->input, $re); } catch (Exception $e) { throw $e; } return; } } SimpleParser::$FOLLOW_13_in_file32 = new Set(array(4)); SimpleParser::$FOLLOW_ID_in_file34 = new Set(array(14)); SimpleParser::$FOLLOW_14_in_file36 = new Set(array(15)); SimpleParser::$FOLLOW_decl_in_file51 = new Set(array(1, 15)); SimpleParser::$FOLLOW_15_in_decl66 = new Set(array(4)); SimpleParser::$FOLLOW_ID_in_decl68 = new Set(array(14, 16)); SimpleParser::$FOLLOW_16_in_decl71 = new Set(array(5, 6)); SimpleParser::$FOLLOW_expr_in_decl73 = new Set(array(14)); SimpleParser::$FOLLOW_14_in_decl77 = new Set(array(1)); SimpleParser::$FOLLOW_set_in_expr0 = new Set(array(1));