While from_str in method.rs currently mentions that it is case insensitive, the code reads otherwise. This probably should be fixed.
Additionally, the rules for extension methods probably should match the token production given here, and fail or return None otherwise.
(I'll try my hand at this)