mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-14 23:09:22 +00:00
printer.println
This commit is contained in:
parent
a6a5c0866b
commit
bacb8c7184
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
/.project
|
||||
classes/
|
||||
bin/
|
||||
transpiler/jsweet-transpiler-2.0.1-SNAPSHOT
|
||||
core-lib/es6/jsweet-core
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user