Starting out the import statement
This commit is contained in:
committed by
Richard van Velzen
parent
6780d0906c
commit
0465bd270d
@@ -1037,6 +1037,12 @@ function OutputStream(options) {
|
||||
DEFPRINT(AST_Const, function(self, output){
|
||||
self._do_print(output, "const");
|
||||
});
|
||||
DEFPRINT(AST_Import, function(self, output) {
|
||||
output.print("import");
|
||||
output.space();
|
||||
self.module_name.print(output);
|
||||
output.semicolon();
|
||||
});
|
||||
|
||||
function parenthesize_for_noin(node, output, noin) {
|
||||
if (!noin) node.print(output);
|
||||
|
||||
Reference in New Issue
Block a user