• adamk's avatar
    Implemented new syntax for ImportDeclarations · 0c928d53
    adamk authored
    Also had to split ParseImportsList and ParseExportClause into separate
    methods as they have different rules about reserved words and arguments/eval.
    
    Added lots more test cases, including some export cases that were missed before
    due to incorrect checking of reserved words.
    
    BUG=v8:1569
    LOG=n
    
    Review URL: https://codereview.chromium.org/887843002
    
    Cr-Commit-Position: refs/heads/master@{#26338}
    0c928d53
parser.h 35.6 KB