idl_parser: Support annotated types in Typedef and NonAnyType
This CL's intention is to adjust to the change of WebIDL's specifications.
This CL enables types to be annotated types in Typedef and NonAnyType.
In order to check if ASTs are dumped correctly and if the code generator works correctly, I also added pattern match based tests and code generator's tests.
Commit-Queue: Lisa Suzuki <firstname.lastname@example.org>
Reviewed-by: Kentaro Hara <email@example.com>
Reviewed-by: Yuki Shiino <firstname.lastname@example.org>
Reviewed-by: Kenichi Ishibashi <email@example.com>
Reviewed-by: Hitoshi Yoshida <firstname.lastname@example.org>
4 files changed