com.google.javascript.jscomp.RewriteCallerCodeLocation.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 {
java/lang/Object ()V
6com/google/javascript/jscomp/RewriteCallerCodeLocation compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompiler createAstFactory +()Lcom/google/javascript/jscomp/AstFactory;
astFactory )Lcom/google/javascript/jscomp/AstFactory; java/util/LinkedHashMap
callerLocationFunctionNames Ljava/util/Map; Rcom/google/javascript/jscomp/RewriteCallerCodeLocation$FindCallerLocationFunctions
! " ;(Lcom/google/javascript/jscomp/RewriteCallerCodeLocation;)V
$ % & ' ( *com/google/javascript/jscomp/NodeTraversal traverse ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V * + , - .
java/util/Map isEmpty ()Z 0 Ycom/google/javascript/jscomp/RewriteCallerCodeLocation$RewriteCallerLocationFunctionCalls
/ ! 3 "JSC_CALLER_LOCATION_POSITION_ERROR 5 ?Please make sure there is only one goog.callerLocation argument in your function's parameter list, and it is the first optional argument in the list
7 8 9 : ; +com/google/javascript/jscomp/DiagnosticType error S(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType; = 3 > -Lcom/google/javascript/jscomp/DiagnosticType; @ JSC_CALLER_LOCATION_MISUSE_ERROR B Jgoog.callerLocation should only be used as a default parameter initializer D @ > F !JSC_UNDEFINED_CODE_LOCATION_ERROR H FDo not pass in undefined as an argument to goog.CodeLocation parameter J F > L *JSC_ANONYMOUS_FUNCTION_CODE_LOCATION_ERROR N qDo not use goog.callerLocation in an anonymous functions. Functions that use goog.callerLocation should be named. P L > R goog.callerLocation
T U V W X )com/google/javascript/rhino/QualifiedName of ?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName; Z [ \ #GOOG_CALLER_LOCATION_QUALIFIED_NAME +Lcom/google/javascript/rhino/QualifiedName; ^ )com/google/javascript/jscomp/CompilerPass Signature wLjava/util/Map; 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this 8Lcom/google/javascript/jscomp/RewriteCallerCodeLocation; MethodParameters process G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V externs "Lcom/google/javascript/rhino/Node; root
StackMapTable
SourceFile RewriteCallerCodeLocation.java NestMembers s Rcom/google/javascript/jscomp/RewriteCallerCodeLocation$FunctionVarAndParamPosition InnerClasses FindCallerLocationFunctions w 3com/google/javascript/jscomp/NodeTraversal$Callback Callback "RewriteCallerLocationFunctionCalls FunctionVarAndParamPosition ] 3 > @ > F > L > [ \ _ ` a b a *? *+? *+?
? *? Y? ? ? c O P Q R S d e f g h i b ? -*? ,? Y*? ? #*? ? ) ? *? ,? /Y*? 1? #? c W X Y , [ d - e f - j k - l k m , g j l n b q 124? 6? <?A? 6? CEG? 6? IKM? 6? OQ? S? Y? c . * +
0 1 5 6 : " ; ( @ * A 0 @ o p q r / t " u v $ x / y r z
© 2015 - 2024 Weber Informatics LLC | Privacy Policy