Slide 78
Slide 78 text
• Tokens that may be consumed by the parsing methods are:
• Possible
fi
rst tokens of type (UIDENT, void, untyped, ...)
• class, attr_reader, and def for next class_member
• end for closing the class declaration
• class for next class declaration
attr_reader ::= attr_reader attribute_name : type