com.google.javascript.jscomp.CheckDebuggerStatement.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
Closure Compiler is a JavaScript optimizing compiler. It parses your
JavaScript, analyzes it, removes dead code and rewrites and minimizes
what's left. It also checks syntax, variable references, and types, and
warns about common JavaScript pitfalls. It is used in many of Google's
JavaScript apps, including Gmail, Google Web Search, Google Maps, and
Google Docs.
The newest version!
???? 7 J
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback ()V
3com/google/javascript/jscomp/CheckDebuggerStatement compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
*com/google/javascript/jscomp/NodeTraversal traverse ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
com/google/javascript/rhino/Node
isDebugger ()Z DEBUGGER_STATEMENT_PRESENT -Lcom/google/javascript/jscomp/DiagnosticType; java/lang/String
! " report e(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V $ JSC_DEBUGGER_STATEMENT_PRESENT & ?Using the debugger statement can halt your application if the user has a JavaScript debugger running.
To disable this check when you want to do debugging, you can suppress this message like this:
/** @suppress '{'checkDebuggerStatement'}' */
debugger;
( ) * + , +com/google/javascript/jscomp/DiagnosticType disabled S(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType; . )com/google/javascript/jscomp/CompilerPass 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this 5Lcom/google/javascript/jscomp/CheckDebuggerStatement; MethodParameters process G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V externs "Lcom/google/javascript/rhino/Node; root visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V t ,Lcom/google/javascript/jscomp/NodeTraversal; n parent
StackMapTable
SourceFile CheckDebuggerStatement.java InnerClasses AbstractPostOrderCallback H 3com/google/javascript/jscomp/NodeTraversal$Callback Callback - / 0 F
*? *+? ? 1 * + , 2
3 4
5 6 7 0 L
*? ,*?
? 1
0 1 2
3 4
8 9
: 9 5 8 : ; <