code: function() {
        var node = this.startNode(_ImportDeclaration);
  
        this.expect('import');
        node.specifiers = this.parseImportClause();
  
        if (this.value === 'from') {
          this.next();
        }
  
        this.assertType(_String);
        node.source = this.parseLiteral();
        this.expectSemicolon();
  
        return this.finishNode(node);
      }
docs: ECMA-262 15.2.2 Imports