Racc Grammar File Reference ↑

Global Structure ↑

Class Block and User Code Block ↑

There are two top-level blocks: the ‘class’ block, and the ‘user code’ block. The ‘user code’ block MUST be after the ‘class’ block.

Comment ↑

Comments can be added about everywhere. Two comment styles are supported: Ruby style (‘# …`) and C style (`/* … */`).

Class Block ↑

The class block is formed like this: