com.google.javascript.jscomp.Normalize$DuplicateDeclarationHandler.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 ? Bcom/google/javascript/jscomp/Normalize$DuplicateDeclarationHandler this$0 (Lcom/google/javascript/jscomp/Normalize;
java/lang/Object ()V java/util/LinkedHashSet
hasOkDuplicateDeclaration Ljava/util/Set;
com/google/javascript/rhino/Node isName ()Z
$com/google/common/base/Preconditions
checkState (Z)V
! " # getParent $()Lcom/google/javascript/rhino/Node;
% & ' ( ) "com/google/javascript/jscomp/Scope getVar >(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar; + com/google/javascript/jscomp/Var
% - . isGlobal
* 0 1 isExtern
3 0 4 *com/google/javascript/jscomp/CompilerInput 6 7 8 9 :
java/util/Set add (Ljava/lang/Object;)Z
< =
isFunction
* ? @ #
getParentNode
B C isVar
% E F G undeclare -(Lcom/google/javascript/jscomp/AbstractVar;)V
* I J K getInput .()Lcom/google/javascript/jscomp/CompilerInput;
% M N O declare ?(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CompilerInput;)Lcom/google/javascript/jscomp/Var;
* Q R # getNameNode
T U V replaceVarWithAssignment i(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
X Y hasOneChild
[ \ hasChildren
^ _ # detach
a b #
getFirstChild d e f g h &com/google/javascript/jscomp/Normalize
astFactory )Lcom/google/javascript/jscomp/AstFactory;
j k l m n 'com/google/javascript/jscomp/AstFactory createAssign h(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
p q r getJSDocInfo )()Lcom/google/javascript/rhino/JSDocInfo;
t u v setJSDocInfo K(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
x y z srcrefIfMissing F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
| } ~ z %com/google/javascript/jscomp/NodeUtil newExpr
? ? ? replaceWith %(Lcom/google/javascript/rhino/Node;)V ? Duplicate VAR declaration
d ? ? ? reportCodeChange 7(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)V
| ? ? ? isStatementBlock %(Lcom/google/javascript/rhino/Node;)Z
? ? (ZLjava/lang/Object;)V ? Gcom/google/javascript/jscomp/SyntacticScopeCreator$RedeclarationHandler Signature 3Ljava/util/Set; +(Lcom/google/javascript/jscomp/Normalize;)V Code LineNumberTable LocalVariableTable this DLcom/google/javascript/jscomp/Normalize$DuplicateDeclarationHandler; MethodParameters onRedeclaration ?(Lcom/google/javascript/jscomp/Scope;Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CompilerInput;)V s $Lcom/google/javascript/jscomp/Scope; name Ljava/lang/String; n "Lcom/google/javascript/rhino/Node; input ,Lcom/google/javascript/jscomp/CompilerInput; parent v "Lcom/google/javascript/jscomp/Var;
StackMapTable value replacement statement grandparent
SourceFile Normalize.java NestHost InnerClasses DuplicateDeclarationHandler ? 2com/google/javascript/jscomp/SyntacticScopeCreator RedeclarationHandler 0 ? ? ? ? ? C *+? *? *?
Y? ? ? ?
5 8 ? ? ? ? ? ? ? U ?-? ? -? :+,? $? *:+? ,? "? /? ? 2? *? ? 5 ? ?? ;? 9? >? A? J+? D+,-? H? LW*? P? >? >? ? S? ? A? ? W? *-? ? S? ? J = >
? A F .G <H =M EN PO VP bQ eR uQ {T ?U ?V ?X ? H ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ?
? = *= ? ? ? ? ? U V ? k+? Z? O+? ]W+? `:? ]W*? ? c+? i:,? o? sW,? wW? {:,? ?*? ?? ?? -? ?-? ?,? ]W*? ?-? ?? ? > h j l m n 'o 1p 8q ?r Es Pt Sv [w `x jz ? H > ? ? ' ) ? ? ? ? ? k ? ? k ? ? k ? ? k ? ? ? ? S ?
? ? ? ? ? ? d ? d ? ? ? ?
© 2015 - 2024 Weber Informatics LLC | Privacy Policy