# ri > Racc::Parser

---
type: CommandReference
command: Racc::Parser
mode: ri
section: ""
source: ri
---

## Quick Reference

- `next_token` — get next token from input
- `on_error` — handle parse errors
- `yyerror` — report a syntax error
- `yyerrok` — recover from error state
- `yyaccept` — accept the current parse
- `racc_accept` — accept the parse
- `racc_reduce` — perform a reduction
- `racc_shift` — shift a token

## Name

Racc::Parser — Ruby ACC parser class, subclass of Object.

## Options

### Constants

- `Racc_Runtime_Core_Version_R` — [not documented]
- `Racc_Runtime_Version` — [not documented]

### Instance Methods

- `_racc_do_parse_rb` — [not documented]
- `_racc_do_reduce` — [not documented]
- `_racc_evalact` — [not documented]
- `_racc_init_sysvars` — [not documented]
- `_racc_setup` — [not documented]
- `_racc_yyparse_rb` — [not documented]
- `next_token` — [not documented]
- `on_error` — [not documented]
- `racc_accept` — [not documented]
- `racc_e_pop` — [not documented]
- `racc_next_state` — [not documented]
- `racc_print_stacks` — [not documented]
- `racc_print_states` — [not documented]
- `racc_read_token` — [not documented]
- `racc_reduce` — [not documented]
- `racc_shift` — [not documented]
- `racc_token2str` — [not documented]
- `token_to_str` — [not documented]
- `yyaccept` — [not documented]
- `yyerrok` — [not documented]
- `yyerror` — [not documented]