printer.println

This commit is contained in:
lgrignon 2017-09-28 00:11:29 +02:00
parent a6a5c0866b
commit bacb8c7184
2 changed files with 9 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
/.project
classes/
bin/
transpiler/jsweet-transpiler-2.0.1-SNAPSHOT
core-lib/es6/jsweet-core

View File

@ -244,6 +244,13 @@ public abstract class AbstractTreePrinter extends AbstractTreeScanner {
currentColumn += string.length();
return this;
}
/**
* Outputs a string and new line
*/
public AbstractTreePrinter println(String string) {
return print(string).println();
}
/**
* Outputs an identifier.