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

com.google.javascript.jscomp.PolymerPass.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!
????7?
Bcom/google/javascript/jscomp/NodeTraversal$ExternsSkippingCallback()V		
(com/google/javascript/jscomp/PolymerPasswarnedPolymer1ExternsMissingZ	propertySinkExternInjected	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
*com/google/javascript/jscomp/TagNameToTypegetMap*()Lcom/google/common/collect/ImmutableMap;	
tagNameMap(Lcom/google/common/collect/ImmutableMap;java/util/LinkedHashSet
	"#$nativeExternsAddedLjava/util/Set;&3com/google/javascript/jscomp/PolymerPassFindExterns
%
)*+,-*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
%/01getPolymerElementExterns$()Lcom/google/javascript/rhino/Node;	345polymerElementExterns"Lcom/google/javascript/rhino/Node;
%789getPolymerElementProps+()Lcom/google/common/collect/ImmutableList;	;<=polymerElementProps)Lcom/google/common/collect/ImmutableList;?,com/google/javascript/jscomp/GlobalNamespace
>ABv(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V	DEFglobalNames.Lcom/google/javascript/jscomp/GlobalNamespace;H5com/google/javascript/jscomp/PolymerBehaviorExtractor
JKLMN-com/google/javascript/jscomp/AbstractCompilergetModuleMetadataMap:()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;
JPQRgetModuleMap2()Lcom/google/javascript/jscomp/modules/ModuleMap;
GTU?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/GlobalNamespace;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;Lcom/google/javascript/jscomp/modules/ModuleMap;)V	WXYbehaviorExtractor7Lcom/google/javascript/jscomp/PolymerBehaviorExtractor;
[\]^1 com/google/javascript/rhino/Node	getParent`9com/google/javascript/jscomp/PolymerPassSuppressBehaviors
_bc2(Lcom/google/javascript/jscomp/AbstractCompiler;)V
efghi3com/google/javascript/jscomp/PolymerPassStaticUtils
isPolymerCall%(Lcom/google/javascript/rhino/Node;)Z
klmrewritePolymer1ClassDefinitions(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal;)V	opqrs.com/google/javascript/jscomp/PolymerPassErrorsPOLYMER_MISSING_EXTERNS-Lcom/google/javascript/jscomp/DiagnosticType;ujava/lang/String
wxyz{$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
J}~report)(Lcom/google/javascript/jscomp/JSError;)V
e??iisPolymerClass
???rewritePolymer2ClassDefinitionQ(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal;)V
)??1getCurrentScript
[??1
getFirstChild
[???isModuleBody()Z
?????1com/google/javascript/jscomp/ModuleImportResolvergetModuleFromScopeRoot?(Lcom/google/javascript/jscomp/modules/ModuleMap;Lcom/google/javascript/jscomp/CompilerInputProvider;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/Module;
?????+com/google/javascript/jscomp/modules/ModulemetadataI()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
)??1getScopeRoot
????i%com/google/javascript/jscomp/NodeUtilisBundledGoogModuleScopeRoot
[???isConst	?????!com/google/javascript/rhino/TokenLET#Lcom/google/javascript/rhino/Token;
[???setToken&(Lcom/google/javascript/rhino/Token;)V	?????>com/google/javascript/jscomp/parsing/parser/FeatureSet$FeatureLET_DECLARATIONS@Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
????addFeatureToScript?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/jscomp/AbstractCompiler;)V
)??reportCodeChange
???iisNameDeclaration
[???isExport
???normalizePolymerExportG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
???getModuleMetadatau(Lcom/google/javascript/jscomp/NodeTraversal;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
?????3com/google/javascript/jscomp/PolymerClassDefinitionextractFromCallNode(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/jscomp/PolymerBehaviorExtractor;)Lcom/google/javascript/jscomp/PolymerClassDefinition;	????nativeBaseElementLjava/lang/String;
???appendPolymerElementExterns8(Lcom/google/javascript/jscomp/PolymerClassDefinition;)V?1com/google/javascript/jscomp/PolymerClassRewriter
?b
????rewritePolymerCalld(Lcom/google/javascript/jscomp/PolymerClassDefinition;Lcom/google/javascript/jscomp/NodeTraversal;)V
????extractFromClassNode?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/PolymerClassDefinition;	?
????rewritePolymerClassDeclaration?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/PolymerClassDefinition;)V
[??1detach
[???insertBefore%(Lcom/google/javascript/rhino/Node;)V	????EXPORT_SPEC
[??
[??1	cloneNode
[???addChildToFront	????EXPORT_SPECS
[H(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;)V
[
srcrefTreeF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	

java/util/Setadd(Ljava/lang/Object;)Z
1com/google/javascript/rhino/IRblock
[1	cloneTree
egetPolymerElementTypeI(Lcom/google/javascript/jscomp/PolymerClassDefinition;)Ljava/lang/String;
[	setString(Ljava/lang/String;)V
 !"&com/google/common/collect/ImmutableMapget&(Ljava/lang/Object;)Ljava/lang/Object;	?$%5
descriptor	o'(sPOLYMER_INVALID_EXTENDS*,com/google/javascript/rhino/JSTypeExpression	?,-?BANG
/01string6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;3
)567(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V
[89:getJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;
<=>?@-com/google/javascript/rhino/JSDocInfo$BuildercopyFromX(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/JSDocInfo$Builder;
<BCDchangeBaseType1(Lcom/google/javascript/rhino/JSTypeExpression;)Z
<FG:build
[IJKsetJSDocInfoK(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
[MN?addChildToBack
PQRST'com/google/common/collect/ImmutableListiterator2()Lcom/google/common/collect/UnmodifiableIterator;VWXY?java/util/IteratorhasNextV[\]next()Ljava/lang/Object;
[_`1getFirstFirstChild
?bcgetRootOfQualifiedName
[efsrcrefTreeIfMissing
[hi1removeChildren
[kl?addChildrenAfter
Jno?reportChangeToEnclosingScopeq)com/google/javascript/jscomp/CompilerPassVIRTUAL_FILE
ConstantValue	SignatureNLcom/google/common/collect/ImmutableMap;#Ljava/util/Set;MLcom/google/common/collect/ImmutableList;CodeLineNumberTableLocalVariableTablethis*Lcom/google/javascript/jscomp/PolymerPass;MethodParametersprocessexternsrootexternsCallback5Lcom/google/javascript/jscomp/PolymerPassFindExterns;externsAndJsRootsuppressBehaviorsCallback;Lcom/google/javascript/jscomp/PolymerPassSuppressBehaviors;visits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V	traversal,Lcom/google/javascript/jscomp/NodeTraversal;nodeparent
StackMapTablescript	scopeRootRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;
scriptNoderewriter3Lcom/google/javascript/jscomp/PolymerClassRewriter;grandparentdef5Lcom/google/javascript/jscomp/PolymerClassDefinition;nameDeclexportname
exportSpecnewPropnewPropRootNamebasePropbaseExternspolymerElementTypeelementTypeelementBaseType.Lcom/google/javascript/rhino/JSTypeExpression;baseDocs/Lcom/google/javascript/rhino/JSDocInfo$Builder;stmts
SourceFilePolymerPass.javaNestMembers?9com/google/javascript/jscomp/PolymerPass$MemberDefinitionInnerClassesExternsSkippingCallback?3com/google/javascript/jscomp/NodeTraversal$CallbackCallback?Ecom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata?6com/google/javascript/jscomp/modules/ModuleMetadataMapModuleMetadata?6com/google/javascript/jscomp/parsing/parser/FeatureSetFeature?%com/google/javascript/rhino/JSDocInfoBuilderMemberDefinition0p
r?s2tu45#$tv<=twEFXYcxr&*?*?*?
*+?*??*?Y? ?!?y:7	8;<=%>z&{|&}~?x|?%Y?'N*?+-?(*-?.?2*-?6?:*?>Y*?+,?@?C*?GY*?*?C*??I*??O?S?V,?Z:*?*?(?_Y*??a:*??(?y2BCDE!G2HCJSLYMcNpP{Qz>|{||5|?5t??Y#?5p??}	???x?G,?d?5*?2?
*,-+?j?1*??**?,?n?t?v?|*??,???	*,+???y&	UVWXY1Z9\@]F_z*G{|G??G?5G?5? }
?????x?J+??M,?#,?????*??O*?,???????+??N-???*??O*?-??????y>bcde"d%f(d)i.j5k9lAkDmGkHoz*J{|J??E?5.?5??)[?[}???lmxc?,?Z:???&????-??:???*???-??????Z?™*?Z??-??+*?*-??*?V??:?&???	*?׻?Y*???:-?ޱyNtuvwx!y-{1}D~OS?Z?a?f?k?s?y?????zR?5????{|??5??5?????5f)????-[[?!?%?}
?????x?5+*???N-?*??Y*???:*?
??+,-??*??
?y?	?
??#?+?4?z4??5{|5?55??	,????4?}	????x?@+??N+??,??[Y???:-????-????,?[Y???,????y??
??"?+???z4@{|@?5@?5;?5'?5}	????xL
*?!+?ӹ???
M*?2?N+?:-???*?+?Ӷ?t:? *?+?#?&?tY+??S?v?|??)Y?[Y?+?.*?2??2?4:-?7?;:?AW-?E?HW,-?L*?:?O:?U?0?Z?[:		?:

?^?a:?,
?L???,*?2?dW*?2?Z:,?g:		*?2?j*?	?m?yr?????#?,?<?A?]?^?k???????????????????????????????z?
??5
?
?5??5	
{|
???5??5#???<?????????????5??5	?+?L?[[tt?J)<V?6}??????2)?	?)?	???	???@<??	??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy