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

com.google.javascript.jscomp.PolymerBehaviorExtractor.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?
java/lang/Object()V
	
(com/google/common/collect/HashBasedTablecreate,()Lcom/google/common/collect/HashBasedTable;	5com/google/javascript/jscomp/PolymerBehaviorExtractorresolveMemoized!Lcom/google/common/collect/Table;java/util/LinkedHashMap
	globalResolveMemoizedLjava/util/Map;	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	 !globalNames.Lcom/google/javascript/jscomp/GlobalNamespace;	#$%moduleMetadataMap8Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;	'()	moduleMap0Lcom/google/javascript/jscomp/modules/ModuleMap;
+,-./'com/google/common/collect/ImmutableListof+()Lcom/google/common/collect/ImmutableList;
12345 com/google/javascript/rhino/Node
isArrayLit()Z	789:;.com/google/javascript/jscomp/PolymerPassErrorsPOLYMER_INVALID_BEHAVIOR_ARRAY-Lcom/google/javascript/jscomp/DiagnosticType;=java/lang/String
?@ABC$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
EFGHI-com/google/javascript/jscomp/AbstractCompilerreport)(Lcom/google/javascript/jscomp/JSError;)V
+KLMbuilder3()Lcom/google/common/collect/ImmutableList$Builder;
1OPQ
getFirstChild$()Lcom/google/javascript/rhino/Node;
1ST5isObjectLit
VWXYZ3com/google/javascript/jscomp/PolymerPassStaticUtilsswitchDollarSignPropsToBracketsT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
V\]Z!quoteListenerAndHostAttributeKeys_is
abcde%com/google/javascript/jscomp/NodeUtilgetFirstPropMatchingKeyX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;	7gh;POLYMER_INVALID_BEHAVIOR
ajklgetEnclosingModuleIfPresentF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;nHcom/google/javascript/jscomp/PolymerBehaviorExtractor$BehaviorDefinition	pqrstBcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType
ObjectLiteralDLcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType;
VvwxextractProperties?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType;Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;)Lcom/google/common/collect/ImmutableList;
z{|getBehaviorFunctionsToCopyM(Lcom/google/javascript/rhino/Node;)Lcom/google/common/collect/ImmutableList;
~|getNonPropertyMembersToCopy
a??lgetEnclosingScopeRoot
1??5isRoot
a??lgetEnclosingScript	1???FEATURE_SET'Lcom/google/javascript/rhino/Node$Prop;
1???getProp;(Lcom/google/javascript/rhino/Node$Prop;)Ljava/lang/Object;?6com/google/javascript/jscomp/parsing/parser/FeatureSet
m???(Ljava/util/List;Ljava/util/List;Ljava/util/List;ZLcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/rhino/Node;)V
?????/com/google/common/collect/ImmutableList$BuilderaddE(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
???isGoogModuleGetCall%(Lcom/google/javascript/rhino/Node;)Z
1??QgetSecondChild
1???	getString()Ljava/lang/String;
???resolveGoogModuleGete(Ljava/lang/String;)Lcom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult;
???getQualifiedNameThroughCast6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
???resolveBehaviorName?(Ljava/lang/String;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult;	???FAILED_RESOLVE_RESULTQLcom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult;
???equals(Ljava/lang/Object;)Z	7??;POLYMER_UNQUALIFIED_BEHAVIOR	?????Ocom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResultnode"Lcom/google/javascript/rhino/Node;	????moduleMetadataGLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
???extractBehaviors?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/common/collect/ImmutableList;
????addAllG(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList$Builder;	????isGlobalDeclarationZ
1??QgetNext
???/build?????com/google/common/collect/Tableget8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?????
java/util/Map&(Ljava/lang/Object;)Ljava/lang/Object;
???resolveBehaviorNameInternal
?????$com/google/common/base/PreconditionscheckNotNull????putJ(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????
???getNameIfModuleImport
???"resolveReferenceToLegacyGoogModule
?????,com/google/javascript/jscomp/GlobalNamespacegetNameFromModule?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;
?getSlotG(Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;
1com/google/javascript/jscomp/GlobalNamespace$NamegetDeclaration4()Lcom/google/javascript/jscomp/GlobalNamespace$Ref;

getRefs()Ljava/util/Collection;java/util/Collectioniterator()Ljava/util/Iterator;5java/util/IteratorhasNextnext()Ljava/lang/Object;0com/google/javascript/jscomp/GlobalNamespace$Ref
 5isSet
"#QgetNode
a%&lgetRValueOfLValue
1()5isQualifiedName	+,-scope$Lcom/google/javascript/jscomp/Scope;
/0123"com/google/javascript/jscomp/ScopegetClosestHoistScope.()Lcom/google/javascript/jscomp/AbstractScope;
E567getModuleMap2()Lcom/google/javascript/jscomp/modules/ModuleMap;
/9:QgetRootNode
<=>?@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;
BCDEF+com/google/javascript/jscomp/modules/ModulemetadataI()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
aHIJgetBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
LMNO5%com/google/javascript/rhino/JSDocInfoisPolymerBehavior	7QR;POLYMER_UNANNOTATED_BEHAVIOR
?TUm(Lcom/google/javascript/rhino/Node;ZLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)V
<WXYlength()I
<[\]	substring(II)Ljava/lang/String;
_`abc6com/google/javascript/jscomp/modules/ModuleMetadataMapgetModulesByGoogNamespace*()Lcom/google/common/collect/ImmutableMap;
e?f&com/google/common/collect/ImmutableMaphEcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata
gjk5isLegacyGoogModule
<mnolastIndexOf(II)Iq
<s\t(I)Ljava/lang/String;vwxmakeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;
1z{5isCall	}~GOOG_MODULE_GET+Lcom/google/javascript/rhino/QualifiedName;
?????)com/google/javascript/rhino/QualifiedNamematches
1??5hasTwoChildren
1??5isStringLit
g??5
isGoogProvide
g??5isGoogModule
????
checkState(ZLjava/lang/Object;)V?exports
g??5isEs6Module
g???googNamespaces/()Lcom/google/common/collect/ImmutableMultiset;
????/+com/google/common/collect/ImmutableMultisetasList
+???(I)Ljava/lang/Object;
?????.com/google/javascript/jscomp/modules/ModuleMapgetClosureModuleA(Ljava/lang/String;)Lcom/google/javascript/jscomp/modules/Module;
g???path=()Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
????	getModulej(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)Lcom/google/javascript/jscomp/modules/Module;
????
<???indexOf(I)I
B??c
boundNames?,com/google/javascript/jscomp/modules/Binding
???5isSomeImport
???5isModuleNamespace
???resolveModuleNamespaceBinding?(Lcom/google/javascript/jscomp/modules/Binding;Ljava/lang/String;)Lcom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult;
????originatingExport/()Lcom/google/javascript/jscomp/modules/Export;
????F+com/google/javascript/jscomp/modules/Export
????	localName?w?8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
????
exportName?
????closureNamespace?w?J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
?C
????(Z)V
<??5isEmpty
B??c	namespace
???5isCreatedByEsExport
1??5isStringKey
1??5
isFunction
1??5isMemberFunctionDef	???BEHAVIOR_NAMES_NOT_TO_COPY(Lcom/google/common/collect/ImmutableSet;
?????&com/google/common/collect/ImmutableSetcontains9com/google/javascript/jscomp/PolymerPass$MemberDefinition
n(Lcom/google/javascript/rhino/JSDocInfo;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
15isName
1	
5	isGetProp?
1
5isCast
15isGetterDefcreatedattacheddetachedattributeChanged	configureready
properties!	listeners#	observers%hostAttributes
?'.(?(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;*goog.module.get
?,.-?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;	Signature;GOOG_MODULE_EXPORTSLjava/lang/String;
ConstantValue?Lcom/google/common/collect/Table;tLjava/util/Map;?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/GlobalNamespace;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;Lcom/google/javascript/jscomp/modules/ModuleMap;)VCodeLineNumberTableLocalVariableTablethis7Lcom/google/javascript/jscomp/PolymerBehaviorExtractor;MethodParametersbehaviorModule
resolveResult
behaviorValuebehaviorName
behaviorArray	behaviors1Lcom/google/common/collect/ImmutableList$Builder;LocalVariableTypeTable}Lcom/google/common/collect/ImmutableList$Builder;
StackMapTable?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/common/collect/ImmutableList;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;namememoizedref2Lcom/google/javascript/jscomp/GlobalNamespace$Ref;declarationScopem-Lcom/google/javascript/jscomp/modules/Module;result
legacyResolvemoduleLevelName3Lcom/google/javascript/jscomp/GlobalNamespace$Name;
globalNamedeclarationRefdeclarationNoderValuebehaviorInfo'Lcom/google/javascript/rhino/JSDocInfo;subNamespacerestdotIcallNodemoduleNamespace
closureModuleoriginatingNamemodulerootb.Lcom/google/javascript/jscomp/modules/Binding;importMetadataexportedNameoriginalModule
exportBindingisFunctionDefinitionkeyNodebehaviorObjLitfunctionsToCopynLcom/google/common/collect/ImmutableList$Builder;?(Lcom/google/javascript/rhino/Node;)Lcom/google/common/collect/ImmutableList;leftrightisNonFunctionMember
membersToCopy
SourceFilePolymerBehaviorExtractor.javaNestMembersBootstrapMethodsz
{|}w~$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;?exports??
exports.?.?.InnerClassesBuilderBehaviorDefinition?3com/google/javascript/jscomp/PolymerClassDefinitionDefinitionType?%com/google/javascript/rhino/Node$PropPropResolveBehaviorNameResultModuleMetadataNameRef?9com/google/javascript/jscomp/deps/ModuleLoader$ModulePath?.com/google/javascript/jscomp/deps/ModuleLoader
ModulePath?(com/google/javascript/jscomp/PolymerPassMemberDefinition?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup0
??./012? !$%().3.4??~
56?,*?*??
*?Y??*+?*,?*-?"*?&?7&	NEFGOP Q%R+S84,9:,, !,$%,(); $(??6<	?+??*?+?0?*?+?6??D?*??JN+?N:?}?R?w*??U*??[^?`?*??f??D?i:-?mY?o*??u?y?}????????????????W?????*??????:?*??,??:?????*?????D????:?0?-*?Ķȶ?W???R?t*??U*??[^?`?*??f??D?i:-?mY?o*??u?y?}??????????????W?*?????D??:???-?װ7?2bcfghg!i%l)m/n4p<qErNsXtkvrw?y?~??????w?????????????????????? ?)?2?<?O?V?e?j?o?y????????o??8f
r><??=?V8<???=???>?/???9:?@????)?ABC)?ADE)
?	?1;?D?? ?!16?A??	;	@?.FG	H??6?^+????,?*?
+,?????*?+????N-?0*+,?????N,?*?
+,-??W?*?+-??W-?7.?????+?/?<?@?P?\?8*^9:^I1^??+3J?EL??%?;	I?GHH??6H
:*+,??N-?-?*+??:??,?*?,+???:?*?+???:??????6?:?:?	?
:		??$	??:

??
6
:?????????!:		????	?$:

????
?'?=?*?.?/:*??4*??8?;:*
????A????	?G:??K?*?	?P??D??Y
,?S?7?)???
????/?C?H?L?X?_d??????	?
?
???????????? 
!"'#*"-&8??KL
?-M-?NO:9::I1:??3P?&Q?/RSC?TSX???_?UL??V?	?W?

-XYE??
???@?A?
@?'??1?1?<
<g??11/Bp@8H`Z1 PE?O![1^P?r9:rI1m\]E0??'<g
D?,?	,?Z:*?&+?????:???d??:??????*?ɶ??	p?,?r??+????7J?
??#?6?@?G?K?Q?X?i?y?????????????8H?9:?de?[1Xg\]iVg1yFhO?7ieE]	?E?%??,?????+?Y,?G,,?N???W,??M???+?װ76
??????&?2?C?I?T?X?`?8*2&j?Pk?el?ZmBCZmnE??1@&?;l.o
??6?L*??*??L+???+?*??*?N??L+??*??M+,??*??*?N????72???? ?(?,?.?3?;?B?J?8*
I1(p13q1L??E?<@?%??,?????+?Y,?G,,?N???W,??M???+?װ72??????2?C?I?T?X?`?8*2&r?Pk?el?ZsBCZsnE??1@&?;l.ot6o
K?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy