org.stjs.generator.writer.statement
Class MultipleVariableWriter<JS>
java.lang.Object
org.stjs.generator.writer.statement.MultipleVariableWriter<JS>
public class MultipleVariableWriter<JS>
- extends Object
this is a special writer called from a block to handle the case of multiple variables declarated on the same line.
This is needed because the Javac AST parser has an separate node per variable
- Author:
- acraciun
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleVariableWriter
public MultipleVariableWriter()
visit
public JS visit(WriterVisitor<JS> visitor,
List<com.sun.source.tree.VariableTree> trees,
GenerationContext<JS> context,
boolean isStatement)
Copyright © 2014. All Rights Reserved.