com.google.javascript.jscomp.DeclaredGlobalExternsOnWindow.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 java/util/LinkedHashSet
:com/google/javascript/jscomp/DeclaredGlobalExternsOnWindow nodes Ljava/util/Set; windowInExterns Z 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
addWindowProperties " # $ % &
java/util/Set isEmpty ()Z " ( ) * iterator ()Ljava/util/Iterator; , - . / & java/util/Iterator hasNext , 1 2 3 next ()Ljava/lang/Object; 5 com/google/javascript/rhino/Node
7 8 9 addExtern &(Lcom/google/javascript/rhino/Node;Z)V
; < = > ? -com/google/javascript/jscomp/AbstractCompiler reportChangeToEnclosingScope %(Lcom/google/javascript/rhino/Node;)V
4 A B C getString ()Ljava/lang/String;
E F G H I %com/google/javascript/jscomp/NodeUtil getBestJSDocInfo K(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo; K window
M N O P Q com/google/javascript/rhino/IR name 6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
M S T U thisNode $()Lcom/google/javascript/rhino/Node;
M W X Y getprop X(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
[ \ ] ^ & %com/google/javascript/rhino/JSDocInfo isConstructorOrInterface
[ ` a & hasEnumParameterType
M c d e assign h(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
[ g h i builder 1()Lcom/google/javascript/rhino/JSDocInfo$Builder;
[ k l &
isConstructor
n o p q & -com/google/javascript/rhino/JSDocInfo$Builder recordConstructor
[ s t & isInterface
n v w & recordInterface
[ y z & usesImplicitMatch
n | } & recordImplicitMatch
[ ? ? getEnumParameterType 0()Lcom/google/javascript/rhino/JSTypeExpression;
n ? ? ? recordEnumParameterType 1(Lcom/google/javascript/rhino/JSTypeExpression;)Z
E ? ? ? isNamespaceDecl %(Lcom/google/javascript/rhino/Node;)Z
E ? ? ? getRValueOfLValue F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
[ ? ? & hasConstAnnotation
4 ? ? & isQualifiedName
4 ? ? U cloneTree
n ? ? ? copyFrom X(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/JSDocInfo$Builder; ? const ? duplicate
? ? ? ? ? &com/google/common/collect/ImmutableSet of N(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
n ? ? ? recordSuppressions (Ljava/util/Set;)V
n ? ? ? build )()Lcom/google/javascript/rhino/JSDocInfo;
4 ? ? ? setJSDocInfo K(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
4 ? ? ?
srcrefTree
4 ? ? ? setOriginalName (Ljava/lang/String;)V
4 ? ? makeNonIndexableRecursive
4 ? ? U getGrandparent
M ? ? ?
exprResult
4 ? ? ? addChildToBack
E ? ? ? isControlStructure
E ? ? ? isStatementBlock
4 ? ? &
isFunction
4 ? ? U
getFirstChild " ? ? ? add (Ljava/lang/Object;)Z
4 ? ? & isVar
? ? ? ? ? java/lang/String equals ? location
4 ? ? U getNext ? )com/google/javascript/jscomp/CompilerPass ? 3com/google/javascript/jscomp/NodeTraversal$Callback WINDOW_NAME Ljava/lang/String;
ConstantValue Signature 3Ljava/util/Set; 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this