idl_parser: Enable "namespace" to be parsed into ASTs

This CL is a 1st step of supporting "namespace" definition in WebIDL.

In order to check if ASTs are made correctly, I made pattern matching tests.

Bug: 727971
Change-Id: I033e9bab2623675f40a9b941cc53cdecef0c186d
Reviewed-by: Hitoshi Yoshida <>
Reviewed-by: Kentaro Hara <>
Reviewed-by: Yuki Shiino <>
Reviewed-by: Kenichi Ishibashi <>
Commit-Queue: Lisa Suzuki <>
Cr-Original-Commit-Position: refs/heads/master@{#504265}
Cr-Mirrored-Commit: fd4acd522e94c696bb6e1d177e354e0ccc53ba1c
3 files changed