com.google.dart.compiler.backend.js
Class JsRequiresSemiVisitor
java.lang.Object
JsVisitor
com.google.dart.compiler.backend.js.JsRequiresSemiVisitor
public class JsRequiresSemiVisitor
- extends JsVisitor
Determines if a statement at the end of a block requires a semicolon.
For example, the following statements require semicolons:
The following do not require semicolons:
- return 1
- do {} while(true)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exec
public static boolean exec(JsStatement lastStatement)
visitFor
public void visitFor(@NotNull
JsFor x)
visitForIn
public void visitForIn(@NotNull
JsForIn x)
visitIf
public void visitIf(@NotNull
JsIf x)
visitLabel
public void visitLabel(@NotNull
JsLabel x)
visitWhile
public void visitWhile(@NotNull
JsWhile x)