idl_parser: Support annotated types in RecordType
This CL's intention is to adjust to the change of WebIDL's specifications.
Before this CL, RecordType's types cannot be annotated.
After this CL, however, RecordType's types can be annotated types.
In order to check if ASTs are dumped correctly,
I also added pattern match based tests.
Commit-Queue: Lisa Suzuki <email@example.com>
Reviewed-by: Yuki Shiino <firstname.lastname@example.org>
Reviewed-by: Kenichi Ishibashi <email@example.com>
Reviewed-by: Kentaro Hara <firstname.lastname@example.org>
2 files changed