public class JsReportGenerationVisitor extends JsSourceGenerationVisitorWithSizeBreakdown
needSemi
LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
JsReportGenerationVisitor(TextOutput out,
JavaToJavaScriptMap map) |
Modifier and Type | Method and Description |
---|---|
protected <T extends JsVisitable> |
doAcceptList(List<T> collection) |
protected <T extends JsVisitable> |
doAcceptWithInsertRemove(List<T> collection) |
protected <T extends JsVisitable> |
generateAndBill(T node,
JsName nameToBillTo)
Generate some JavaScript and bill the number of characters generated to the given name.
|
Map<Range,SourceInfo> |
getSourceInfoMap() |
doAccept, getDirectlyEnclosingType, getSizeBreakdown, visit, visit, visit
_newline, _newlineOpt, getStatementRanges, printJsBlock, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
accept, acceptList, acceptLvalue, acceptWithInsertRemove, didChange, doAcceptLvalue, doTraverse, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit
public JsReportGenerationVisitor(TextOutput out, JavaToJavaScriptMap map)
protected <T extends JsVisitable> T generateAndBill(T node, JsName nameToBillTo)
JsSourceGenerationVisitorWithSizeBreakdown
generateAndBill
in class JsSourceGenerationVisitorWithSizeBreakdown
public Map<Range,SourceInfo> getSourceInfoMap()
getSourceInfoMap
in class JsSourceGenerationVisitorWithSizeBreakdown
protected <T extends JsVisitable> void doAcceptList(List<T> collection)
doAcceptList
in class JsSourceGenerationVisitorWithSizeBreakdown
protected <T extends JsVisitable> void doAcceptWithInsertRemove(List<T> collection)
doAcceptWithInsertRemove
in class JsSourceGenerationVisitorWithSizeBreakdown
Copyright © 2018. All rights reserved.