public abstract class CoverageVisitor extends JsModVisitor
didChange
LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
CoverageVisitor(Set<String> instrumentedFiles) |
Modifier and Type | Method and Description |
---|---|
void |
endVisit(JsArrayAccess x,
JsContext ctx) |
void |
endVisit(JsBinaryOperation x,
JsContext ctx) |
protected abstract void |
endVisit(JsExpression x,
JsContext ctx) |
void |
endVisit(JsInvocation x,
JsContext ctx) |
void |
endVisit(JsNameRef x,
JsContext ctx) |
void |
endVisit(JsNew x,
JsContext ctx) |
void |
endVisit(JsPostfixOperation x,
JsContext ctx) |
void |
endVisit(JsPrefixOperation x,
JsContext ctx) |
boolean |
visit(JsFor x,
JsContext ctx)
This is essentially a hacked-up version of JsFor.traverse to account for
flow control differing from visitation order.
|
boolean |
visit(JsInvocation x,
JsContext ctx) |
boolean |
visit(JsPrefixOperation x,
JsContext ctx) |
boolean |
visit(JsPropertyInitializer x,
JsContext ctx) |
boolean |
visit(JsWhile x,
JsContext ctx)
Similar to JsFor, this resets the current location information before
evaluating the condition.
|
checkReplacement, didChange, doAccept, doAcceptList, doAcceptLvalue, doAcceptWithInsertRemove
accept, acceptList, acceptLvalue, acceptWithInsertRemove, 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, 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
public void endVisit(JsArrayAccess x, JsContext ctx)
public void endVisit(JsBinaryOperation x, JsContext ctx)
public void endVisit(JsInvocation x, JsContext ctx)
public void endVisit(JsPostfixOperation x, JsContext ctx)
public void endVisit(JsPrefixOperation x, JsContext ctx)
public boolean visit(JsFor x, JsContext ctx)
public boolean visit(JsInvocation x, JsContext ctx)
public boolean visit(JsPropertyInitializer x, JsContext ctx)
public boolean visit(JsPrefixOperation x, JsContext ctx)
public boolean visit(JsWhile x, JsContext ctx)
protected abstract void endVisit(JsExpression x, JsContext ctx)
Copyright © 2018. All rights reserved.