Sebastian McKenzie
|
fca3a0c56f
|
generator: add ensureSemicolon and printBlock methods
|
2014-11-04 08:04:32 +11:00 |
|
Sebastian McKenzie
|
f49f057b33
|
generator: add trim option to isLast
|
2014-11-03 21:17:17 +11:00 |
|
Sebastian McKenzie
|
171bcad870
|
make transformation tests compare output instead of ast
|
2014-11-03 17:52:15 +11:00 |
|
Sebastian McKenzie
|
9a3c973280
|
add removeLastNewline to generator and add newlines to generated nodes
|
2014-11-03 14:40:33 +11:00 |
|
Sebastian McKenzie
|
115282d57b
|
generator: add _push method to simplify buffer pushing and location tracking
|
2014-11-03 11:13:37 +11:00 |
|
Sebastian McKenzie
|
435b9434ea
|
don't mess with the indentation of TemplateElements
|
2014-11-01 23:26:48 +11:00 |
|
Sebastian McKenzie
|
bf58004947
|
generator: add intelligent whitespace based on tokens on nodes in a sequence
|
2014-11-01 23:07:17 +11:00 |
|
Sebastian McKenzie
|
f0c78102ca
|
move template literal generators into separate file
|
2014-11-01 19:37:21 +11:00 |
|
Sebastian McKenzie
|
629cea497f
|
move keyword method and restyle variable declarations
|
2014-11-01 19:29:02 +11:00 |
|
Sebastian McKenzie
|
fcf6c9e066
|
generator: add isLast helper method
|
2014-11-01 17:53:01 +11:00 |
|
Sebastian McKenzie
|
e77382582f
|
generator: add keyword method, remove __ident method and implement better position tracking
|
2014-11-01 15:56:10 +11:00 |
|
Sebastian McKenzie
|
0fbf0e2a77
|
generator: add semicolon helper method, add optional printJoin iterator
|
2014-10-31 21:24:54 +11:00 |
|
Sebastian McKenzie
|
a7385bdf1b
|
make CodeGenerators use static method calls instead of recursive string methods
|
2014-10-31 11:36:28 +11:00 |
|
Sebastian McKenzie
|
5483c4ef6f
|
split up code generators
|
2014-10-30 17:30:05 +11:00 |
|
Sebastian McKenzie
|
11dd13b7e0
|
remove invalid node types from generator and add todo ones
|
2014-10-30 17:11:31 +11:00 |
|
Sebastian McKenzie
|
eefab7f80f
|
remove unused variables
|
2014-10-30 13:31:45 +11:00 |
|
Sebastian McKenzie
|
e5ae2f8eaf
|
fix linting errors
|
2014-10-30 13:26:13 +11:00 |
|
Sebastian McKenzie
|
b31f3666c8
|
yank out acorn-recast and replace it with our own code generator
|
2014-10-29 20:51:52 +11:00 |
|