org.stjs.generator.writer.statement
Class MultipleVariableWriter<JS>

java.lang.Object
  extended by 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

Constructor Summary
MultipleVariableWriter()
           
 
Method Summary
 JS visit(WriterVisitor<JS> visitor, List<com.sun.source.tree.VariableTree> trees, GenerationContext<JS> context, boolean isStatement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleVariableWriter

public MultipleVariableWriter()
Method Detail

visit

public JS visit(WriterVisitor<JS> visitor,
                List<com.sun.source.tree.VariableTree> trees,
                GenerationContext<JS> context,
                boolean isStatement)


Copyright © 2014. All Rights Reserved.