All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.SyntacticScopeCreator$ScopeScanner.class Maven / Gradle / Ivy

Go to download

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!
????7f2com/google/javascript/jscomp/SyntacticScopeCreator
java/lang/Object()V	

?com/google/javascript/jscomp/SyntacticScopeCreator$ScopeScannercompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	
redeclarationHandlerILcom/google/javascript/jscomp/SyntacticScopeCreator$RedeclarationHandler;	
scope$Lcom/google/javascript/jscomp/Scope;	

changeRootSetLjava/util/Set;
 "com/google/javascript/jscomp/ScopeisGlobal()Z
"#$%&$com/google/common/base/Preconditions
checkState(Z)V	
()*treatProvidesAsRedeclarationsZ
,-.getRootNode$()Lcom/google/javascript/rhino/Node;
01234%com/google/javascript/jscomp/NodeUtil
getInputIdI(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/InputId;	
678inputId%Lcom/google/javascript/rhino/InputId;	:;<=>4com/google/javascript/jscomp/SyntacticScopeCreator$1,$SwitchMap$com$google$javascript$rhino$Token[I
@ABCD com/google/javascript/rhino/NodegetToken%()Lcom/google/javascript/rhino/Token;
FGHIJ!com/google/javascript/rhino/Tokenordinal()I
@LM.
getFirstChild
@OP.getNext
@RS isParamList

UVW
declareLHSI(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;)V
@YZ[	getString()Ljava/lang/String;
]^_` java/lang/StringisEmpty
0bcdisFunctionExpression%(Lcom/google/javascript/rhino/Node;)Z

fgW
declareVar
@^
0jkdisClassExpression
"m%n(ZLjava/lang/Object;)V

pqrscanVarsm(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/jscomp/Scope;)V
0tudisFunctionBlock
0wxdisClassStaticBlockzjava/lang/RuntimeException|}~makeConcatWithConstants6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
y??(Ljava/lang/String;)V
@?? hasOneChild
@?? isName???accept?(Lcom/google/javascript/jscomp/SyntacticScopeCreator$ScopeScanner;Lcom/google/javascript/jscomp/Scope;)Ljava/util/function/Consumer;
0???visitLhsNodesInNodeB(Lcom/google/javascript/rhino/Node;Ljava/util/function/Consumer;)V
@?? hasTwoChildren
@??.getSecondChild?????
java/util/Setcontains(Ljava/lang/Object;)Z
@?3?'()Lcom/google/javascript/rhino/InputId;

??disLegacyGoogModule

??W$declareImplicitGoogNamespaceFromCall
@??.	getParent
@?? isScript
0??disGoogProvideCall
???getGlobalScope.()Lcom/google/javascript/jscomp/AbstractScope;
0??disBundledGoogModuleCall
@?? 
isFunction
0???getFunctionBodyF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
0??dcreatesBlockScope
0??disControlStructure
0??disStatementBlock
@?? isImportStar?Invalid node for declareVar: %s
"?%?((ZLjava/lang/String;Ljava/lang/Object;)V
???
getOwnSlot>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;? com/google/javascript/jscomp/Var
???.getNode
??? isImplicitGoogNamespace
???	undeclare-(Lcom/google/javascript/jscomp/AbstractVar;)V
?????-com/google/javascript/jscomp/AbstractCompilergetInputS(Lcom/google/javascript/rhino/InputId;)Lcom/google/javascript/jscomp/CompilerInput;

???isShadowingAllowed9(Ljava/lang/String;Lcom/google/javascript/jscomp/Scope;)Z
?? isFunctionScope
?? isFunctionBlockScope?	arguments
]???equals?????Gcom/google/javascript/jscomp/SyntacticScopeCreator$RedeclarationHandleronRedeclaration?(Lcom/google/javascript/jscomp/Scope;Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CompilerInput;)V
???declare?(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CompilerInput;)Lcom/google/javascript/jscomp/Var;
@?? isString
0getRootOfQualifiedName&(Ljava/lang/String;)Ljava/lang/String;
$declareImplicitGoogNamespaceIfAbsentX(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/Var;
?	&()Lcom/google/javascript/jscomp/Scope;
? isParam
0disGoogModuleCall
0d&isGoogModuleDeclareLegacyNamespaceCallRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;	Signature3Ljava/util/Set;?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/SyntacticScopeCreator$RedeclarationHandler;Lcom/google/javascript/jscomp/Scope;Ljava/util/Set;Z)VCodeLineNumberTableLocalVariableTablethisALcom/google/javascript/jscomp/SyntacticScopeCreator$ScopeScanner;LocalVariableTypeTable
StackMapTableMethodParameters?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/SyntacticScopeCreator$RedeclarationHandler;Lcom/google/javascript/jscomp/Scope;Ljava/util/Set;Z)Vpopulate
fnNameNode"Lcom/google/javascript/rhino/Node;argsfnNameLjava/lang/String;
classNameNodens	classNameblockexprfn
moduleCallnextchild
hoistScope
blockScopeisBlockStartenteringNewBlocknamev"Lcom/google/javascript/jscomp/Var;input,Lcom/google/javascript/jscomp/CompilerInput;;*com/google/javascript/jscomp/CompilerInputexistingexprCall
namespaceNode	namespaceroot
maybeParamlambda$declareLHS$0lhs
SourceFileSyntacticScopeCreator.javaNestHostBootstrapMethodsI
JKL}M$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;OIllegal scope root: Q
RSTUV"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;X(Ljava/lang/Object;)VZ

[BW]%(Lcom/google/javascript/rhino/Node;)VInnerClassesScopeScannerRedeclarationHandlerb%java/lang/invoke/MethodHandles$Lookupdjava/lang/invoke/MethodHandlesLookup 

)*78	?4*?*+?	*,?*-?*??
-????!*?'?"_`	abcd-e3f>44
4444)*4?%
???@
) 	!*??+L*+?/?5?9+???E.??
Az???????????+?KM,?NN-?Q?!**?-?T,?X:?\?+?a?**?,?e?+?KM,?h?+?i?**?,?e?*??*??l*+*?*??o?*+*?*??o?*+*??o?+?s?
+?v?*+*?*??o?
*+*??o???yY+?{??rilm\oapfsmtvx|y?z?~??????????????????????????????>a4"#f/$#|%&?'#(#(
?\@?7@@]??@?

	VW}),???,?K???*+,?K?e?,*+????????(? ))))(#
	)(qro	?9+???E.??????????????]hhsz?8,?	*,+?T?-?	*-+?T?*,+?T?*+?K,-?o?+?a?-??+?K?X:?\??*-+?K?e?+?i?-??+?K?X:?\??*-+?K?e?+??+?l-?	*-+?T+??:*,-?o?*??*?+????*+???5??,???+?K:????
*,???+??????[+???*,???+???E+?K???;+?K?????.+?K??:???K:???*,??????-?+-?+??6?+????6?,??+???
+?™-+?K:?"?N:*,??-?o:??߱?>?h?l?r?s?w?}?~????????????????????????????????????????????
!(.;BCMPWfq}#?$?%?&?(?/?0?1?3?8?9?:?;	<
=???%&?*&?	+#.,#?-#?.#?/#?$0#(#12?V3*?C4*?#?h		

?]?	
?]?	
? 
@@?
@>@?@?
?@?
@@@
@?
@@@
@?	
(12gWO?,???
,?ř??,??,?XN+-????:???,???֙+??:*?	*?5??:?"-+??+??
+??-???*?+-,???+-,??W?FHJO(P-Q6R7S?UEVHZU[\\c]j^y_?a?c>??)?(#v5&(l67U?89	@?#]??':	)(?W%n,?K??N-?
-????-?X:??:?\??*?'?7+????:?'?֚*?+??*?	*?5?ݹ?+-?W?>mnprs!u)v*z1{<|I}R~`}e?m?H<)<7nn)n=#f>#T?&!M@&?@?]]:	)=
???&+?? +?*????M,?
,?
???????$? A7&5&&)??@?	5)
?d^ *?
??*?N?*?N??????	? (#	@(BWE*+,?e?? )C#DEFGHNPWY\^"
_
?`:ace




© 2015 - 2024 Weber Informatics LLC | Privacy Policy