com.google.javascript.jscomp.ClosureRewriteModule$ScriptUpdater.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 ? ?com/google/javascript/jscomp/ClosureRewriteModule$ScriptUpdater this$0 3Lcom/google/javascript/jscomp/ClosureRewriteModule;
java/lang/Object ()V scriptDescriptions Ljava/util/Deque; 3com/google/javascript/jscomp/ClosureRewriteModule$1 ,$SwitchMap$com$google$javascript$rhino$Token [I
com/google/javascript/rhino/Node getToken %()Lcom/google/javascript/rhino/Token;
! " !com/google/javascript/rhino/Token ordinal ()I $ % & ' ( java/util/Deque removeFirst ()Ljava/lang/Object; * Ccom/google/javascript/jscomp/ClosureRewriteModule$ScriptDescription ) , - . rootNode "Lcom/google/javascript/rhino/Node;
0 1 2 3 4 $com/google/common/base/Preconditions
checkState (Z)V
6 7 8
isFromExterns ()Z
: ; < = > %com/google/javascript/jscomp/NodeUtil isFromTypeSummary %(Lcom/google/javascript/rhino/Node;)Z @ A B C 1com/google/javascript/jscomp/ClosureRewriteModule scriptStack $ E F 8 isEmpty
@ H I J
pushScript H(Lcom/google/javascript/jscomp/ClosureRewriteModule$ScriptDescription;)V
L M N O P *com/google/javascript/jscomp/NodeTraversal getScope &()Lcom/google/javascript/jscomp/Scope; @ R S T globalScope $Lcom/google/javascript/jscomp/Scope;
V W X Y Z "com/google/javascript/jscomp/Scope getGlobalScope .()Lcom/google/javascript/jscomp/AbstractScope; \ ] ^ GOOG_MODULE 'Lcom/google/javascript/rhino/Node$Prop;
` a b getBooleanProp *(Lcom/google/javascript/rhino/Node$Prop;)Z
@ d e f updateModuleBodyEarly %(Lcom/google/javascript/rhino/Node;)V
h i j
getFirstChild $()Lcom/google/javascript/rhino/Node;
l m 8 isGetProp @ o ] .
q r > matchesQualifiedName
@ t u v updateGoogModule Q(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V @ x y . "GOOG_MODULE_DECLARELEGACYNAMESPACE
@ { | f updateGoogDeclareLegacyNamespace @ ~ . GOOG_REQUIRE @ ? ? . GOOG_REQUIRETYPE
@ ? ? v updateGoogRequire @ ? ? . GOOG_FORWARDDECLARE
? ? 8 isExprResult
@ ? ? v updateGoogForwardDeclare
@ ? ? ? isExportPropertyAssignment Q(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Z
@ ? ? ? updateExportsPropertyAssignment Q(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal;)V
? ? ? getJSDocInfo )()Lcom/google/javascript/rhino/JSDocInfo;
@ ? ? ? rewriteJsdoc N(Lcom/google/javascript/rhino/JSDocInfo;Lcom/google/javascript/jscomp/Scope;)V
@ ? ? f updateModuleBody
@ ? ? v maybeUpdateTopLevelName
@ ? ? v maybeUpdateExportDeclaration
@ ? ? v maybeUpdateExportNameRef @ ? ? ?
currentScript ELcom/google/javascript/jscomp/ClosureRewriteModule$ScriptDescription;
@ ? ? popScript ? 3com/google/javascript/jscomp/NodeTraversal$Callback Signature XLjava/util/Deque; G(Lcom/google/javascript/jscomp/ClosureRewriteModule;Ljava/util/Deque;)V Code LineNumberTable LocalVariableTable this ALcom/google/javascript/jscomp/ClosureRewriteModule$ScriptUpdater; LocalVariableTypeTable MethodParameters [(Ljava/util/Deque;)V shouldTraverse s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z currentDescription method t ,Lcom/google/javascript/jscomp/NodeTraversal; n parent
StackMapTable visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
SourceFile ClosureRewriteModule.java NestHost InnerClasses
ScriptUpdater ScriptDescription ? %com/google/javascript/rhino/Node$Prop Prop Callback ? ? ? ? ? ] *+? *? *,?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ` g? ,? ? .? D ? 5 D ? D D D D D 0*?
? # ? ):? +,? ? ? /,? 5? ,? 9? ?*? ? ?? D ? /*? ? G+? KW*? ? Q? ?*? +? K? U? V? Q? ?-? [? _? *? ,? c? ??,? g:? k? ? ?? n? p? *? +,? s? i? w? p?
,? z? W? }? p? ? ?? p? *? +,? ?? 5? ?? p? *-? ?? #*? +,? ?? +,? ?? *? ,+? ?? ,? ?? *? ,? ?+? K? ?? ? z ? @? N? _? m? o? ~? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?????/?;?C?O?V?e? ? > N \ ? ? ? t ? . g ? ? g ? ? g ? . g ? . ? # ? @? )@? :? ? ?
? ? ? ? ? ? ? s? ,? ? .? g G $*? ,? ?? F*? +,? ?*? +,? ?+? KW*? +,? ?? #*? ? ?? +,? ? ? /*? ? ?? ? ? 2 ? $? ,? /? 8 A F O R h o r
? * s ? ? s ? ? s ? . s ? . ? $
"@ ?
? ? ? ? ? ? @ ? * @ ? ) @ ? ? ?@ ? L ?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy