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

com.google.javascript.jscomp.PolymerClassDefinition.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!
????7u
java/lang/Object()V		
3com/google/javascript/jscomp/PolymerClassDefinition
interfaceNameLjava/lang/String;	defTypeDLcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType;	
definition"Lcom/google/javascript/rhino/Node;	target	hasGeneratedLhsZ
 ! com/google/javascript/rhino/NodeisObjectLit()Z
#$%&'$com/google/common/base/Preconditions
checkState(Z)V	)*
descriptor	,-.constructor;Lcom/google/javascript/jscomp/PolymerPass$MemberDefinition;	01nativeBaseElement	345propsLjava/util/List;	789
behaviorPropsLjava/util/Map;	;<5methods	>?@	behaviors)Lcom/google/common/collect/ImmutableList;	BCDfeatures8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	FGHinput,Lcom/google/javascript/jscomp/CompilerInput;
JKLMN%com/google/javascript/jscomp/NodeUtilgetArgumentForCallOrNewG(Lcom/google/javascript/rhino/Node;I)Lcom/google/javascript/rhino/Node;	PQRST.com/google/javascript/jscomp/PolymerPassErrorsPOLYMER_DESCRIPTOR_NOT_VALID-Lcom/google/javascript/jscomp/DiagnosticType;Vjava/lang/String
XYZ[\$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
^_`ab-com/google/javascript/jscomp/AbstractCompilerreport)(Lcom/google/javascript/jscomp/JSError;)V
def
getChildCount()I	PhiTPOLYMER_UNEXPECTED_PARAMSkis
JmnogetFirstPropMatchingKeyX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;	PqrTPOLYMER_MISSING_IS
tuvgetGrandparent$()Lcom/google/javascript/rhino/Node;
JxyzisNameDeclaration%(Lcom/google/javascript/rhino/Node;)Z
|}v	getParent
??	getString()Ljava/lang/String;
?????com/google/javascript/rhino/IRname6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
??!isAssign
??zisGoogModuleExports
???"createDummyGoogModuleExportsTargetu(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
??v
getFirstChild
??v	cloneTree
??!isQualifiedName
???getQualifiedName
U???replace(CC)Ljava/lang/String;	?????!com/google/common/base/CaseFormatLOWER_HYPHEN#Lcom/google/common/base/CaseFormat;	????UPPER_CAMEL
????toI(Lcom/google/common/base/CaseFormat;Ljava/lang/String;)Ljava/lang/String;???makeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;
J???getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;?factoryImpl
J??v
emptyFunction
^???reportChangeToChangeScope%(Lcom/google/javascript/rhino/Node;)V
???
srcrefTreeF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;?extends?
?????5com/google/javascript/jscomp/PolymerBehaviorExtractorextractBehaviors?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/common/collect/ImmutableList;?java/util/ArrayList
??java/util/LinkedHashMap
?
?????'com/google/common/collect/ImmutableListiterator2()Lcom/google/common/collect/UnmodifiableIterator;????!java/util/IteratorhasNext????next()Ljava/lang/Object;?Hcom/google/javascript/jscomp/PolymerBehaviorExtractor$BehaviorDefinition	?3?????java/util/List()Ljava/util/Iterator;?9com/google/javascript/jscomp/PolymerPass$MemberDefinition?????
java/util/Mapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;	????Bcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType
ObjectLiteral
?????3com/google/javascript/jscomp/PolymerPassStaticUtilsextractProperties?(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;
??overwriteMembersIfPresent#(Ljava/util/List;Ljava/util/List;)V
removeDuplicateBehaviorProps(Ljava/util/Map;)V
.removeBehaviorPropsOverlappingWithElementProps"(Ljava/util/Map;Ljava/util/List;)V
?
!isEmpty
?
get(I)Ljava/lang/Object;	?B
?fsize
6com/google/javascript/jscomp/parsing/parser/FeatureSetunionr(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
!isMemberFunctionDef
!isStringKey
!"!
isFunction
?$%n(Lcom/google/javascript/rhino/JSDocInfo;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V?'()add(Ljava/lang/Object;)Z
+,vgetNext
J./?getEnclosingScript
123
getInputId'()Lcom/google/javascript/rhino/InputId;
^567getInputS(Lcom/google/javascript/rhino/InputId;)Lcom/google/javascript/jscomp/CompilerInput;
9:?(Lcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;ZLcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/JSDocInfo;Lcom/google/javascript/jscomp/PolymerPass$MemberDefinition;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;Ljava/util/List;Lcom/google/common/collect/ImmutableList;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/jscomp/CompilerInput;)V
<=!isExprResult?exports
ABCmatchesName(Ljava/lang/String;)Z
EF!isModuleBody	HIJGOOG_MODULE'Lcom/google/javascript/rhino/Node$Prop;
LMNgetBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z
JPQzisBundledGoogModuleScopeRoot
^STUgetUniqueNameIdSupplier()Ljava/util/function/Supplier;WXY?java/util/function/Supplier?
\]?clonePropsFrom
_`?srcref
bc?replaceWith
efv	cloneNode
?hijvarh(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
lm?insertBefore
opqgetJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;
stusetJSDocInfoK(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
wx!isClass
Jz{?getClassMembers}
properties
J?ogetFirstGetterMatchingKey
??!isStaticMember	P??T#POLYMER_CLASS_PROPERTIES_NOT_STATIC
J???getFunctionBody
??!isReturn
??!hasChildren	P??T POLYMER_CLASS_PROPERTIES_INVALID

	P??TPOLYMER_CLASS_UNNAMED
J???'getEs6ClassConstructorMemberFunctionDef	???ES6Class	???
U??)equals???)remove????entrySet()Ljava/util/Set;???
java/util/Set?java/util/LinkedHashSet
??java/util/Map$Entry????getKey?'???????stream()Ljava/util/stream/Stream;???apply()Ljava/util/function/Function;?????java/util/stream/Streammap8(Ljava/util/function/Function;)Ljava/util/stream/Stream;
?????java/util/stream/CollectorstoSet()Ljava/util/stream/Collector;????collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;???)contains
?????"com/google/common/base/MoreObjectstoStringHelperG(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
???(?1com/google/common/base/MoreObjects$ToStringHelperY(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;1
????omitNullValues5()Lcom/google/common/base/MoreObjects$ToStringHelper;
????toString
?????-com/google/javascript/jscomp/UniqueIdSuppliergetUniqueId@(Lcom/google/javascript/jscomp/CompilerInput;)Ljava/lang/String;???8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;	SignatureMLjava/util/List;?Ljava/util/Map;uLcom/google/common/collect/ImmutableList;CodeLineNumberTableLocalVariableTablethis5Lcom/google/javascript/jscomp/PolymerClassDefinition;	classInfo'Lcom/google/javascript/rhino/JSDocInfo;LocalVariableTypeTable
StackMapTable%com/google/javascript/rhino/JSDocInfo*com/google/javascript/jscomp/CompilerInputMethodParameters+(Lcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;ZLcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/JSDocInfo;Lcom/google/javascript/jscomp/PolymerPass$MemberDefinition;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;Ljava/util/List;Lcom/google/common/collect/ImmutableList;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/jscomp/CompilerInput;)VextractFromCallNode(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;elNameStringBaseelNameStringpropbehaviorJLcom/google/javascript/jscomp/PolymerBehaviorExtractor$BehaviorDefinition;iIisFunctionDefinitionkeyNodecallNodecompiler/Lcom/google/javascript/jscomp/AbstractCompiler;moduleMetadataGLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;behaviorExtractor7Lcom/google/javascript/jscomp/PolymerBehaviorExtractor;
paramCountelNamectorInfo	baseClass
behaviorArraynewFeaturesEcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadataassigncontainingBlock
madeUpName
assignExpr
exportNamenewDeclextractFromClassNode?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/PolymerClassDefinition;child	classNodepropertiesDescriptorpropertiesGetterfLcom/google/common/collect/ImmutableList;member	newMemberlist
newMembers?(Ljava/util/List;Ljava/util/List;)VmemberDefinitionpropertyNamebehaviorsItrLjava/util/Iterator;seenLjava/util/Set;?Ljava/util/Iterator;>;#Ljava/util/Set;?(Ljava/util/Map;)VpolymerElementPropselementPropNames?(Ljava/util/Map;Ljava/util/List;)VgetInterfaceNameC(Lcom/google/javascript/jscomp/UniqueIdSupplier;)Ljava/lang/String;uniqueIdSupplier/Lcom/google/javascript/jscomp/UniqueIdSupplier;7lambda$removeBehaviorPropsOverlappingWithElementProps$0O(Lcom/google/javascript/jscomp/PolymerPass$MemberDefinition;)Ljava/lang/String;x
SourceFilePolymerClassDefinition.javaNestMembersBootstrapMethodsJ
KLM?N$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;PElementRexportsForPolymer$jscompT
UVWXY"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;[&(Ljava/lang/Object;)Ljava/lang/Object;]
^BCCaPolymerInterface$InnerClassesDefinitionTypee(com/google/javascript/jscomp/PolymerPassMemberDefinitionh6com/google/javascript/jscomp/modules/ModuleMetadataMapModuleMetadataBehaviorDefinitionl%com/google/javascript/rhino/Node$PropPropEntryToStringHelperq%java/lang/invoke/MethodHandles$Lookupsjava/lang/invoke/MethodHandlesLookup0GH*-.1??45??89??<5?????@????CD????:??j*?*?*+?
*,?*-?*??????"*?(*?+*?/*	?2*
?6*?:*?=*
?A*?E??FgW	hijkl3m9n?oEpKqQrWs]tcuiv??j??jjjjj*j??j-.j1j45	j89
j<5j?@jCD
jGH?*j4?	j8?
j<?j???7?+??U????@9*?-148<?CG???	??????*?I:???+*?O?U?W?]?*?cd6?+*?g?U?W?]?j?l:?+*?p?U?W?]?6*?s?w?*?{?~??:?n*?{???&*?{???
+*??:?P*?{????:?A?????.$????~:	????	??:

??:

??:6??:	:
??l:???:+??*??W?
??:
ĸl:???~:
Ƹl:-,??:??Y??:??Y??:??:???C????:???:???????:??W??ާ????+??????:?	?8???:6??????:???߻?Y??:??:?O??????? ??6???Y?????#?&W?*:???+*?-?0?4:?Y??*	??Y
?#
?8??E???#?%?-?3?B?D?M?R?a?c?f?p????????????????????????????????
???'?7?@?D?I?R?[?x????????????????????????????????&?>?C?K?X?^?h?u??8|??? 	?	
?
.x1?$
> Q?????*-vMVf=??????	???
??-'|7l1
@cIZ?@RQ}5[H89??D?<5u.GH?*IZ??RQ}?[H8??<???????DU?!?,?DU?,^?U?????!???$??6?#??@!?	??
?z???*?{?;?*??>?@??*?sL+?D?+?{?G?K?
+?O????????&3>??? !!??@ 
????^*?R?V?U?ZM+?sN+?{??:,???[?^:+?a?d+?g-?^:-?k-?n?rW-?rW??*
 06EKU[?H^^L"G# >$0.E%	&'?g?*?*?v???"M*?y|?~N-?j-???+*???U?W?]?Q-??????:?@???.?????????M?+-???U?W?]?*:???*?s?w?*?{?~??:?J*?{???*?{?????*?{??:?'*?????*??:?+*???U?W?]?*??::*??:?
??:,??+??:??Y??:	*?y??:

?3
???	??Y
??

???#?&W
?*:
???+*?-?0?4:
?Y??*,??Y?#	
?8???/&)*+ ,$-+/407/=2>3I4N6V7i8o9r;{<~;?5?E?F?G?H?I?J?K?N?O?R?T?U?V?WZ
[^_$`)b1c4e<gIeOaYifk??IB(???$5
?)?y* n+???????????-|}@s<5	f(GH
?|},s<?	??@?,?(?	"??????		)??
??
h+??M,???Z,????N*??:???3????:???~-???~???*??W????*-?&W?????&	??8?M?V?Y?\?d?g??*8!-.J..h/5h05?h/?h0???????6??
	/0?1
?
R*??*????L??Y??M+???2+????????N-???~:,???	+????˱?2??????"?4?=?H?N?Q??442.=3R89A45967? R8?A48969????48?:
?&d*??+???????Ź???M*????N-???0-????????:,???~???	-????ͱ?2????!?"?-?6?I?Z?`?c??4I2.d89d;5!C<7-745?*d8?d;?!C<9-748??'??2	8;?=???y3*???*?
???*????*????*?/?ٶ???"????)?,?/?2??3??>??x+*??"**???._??+*?E????*???????&??+??+@A?&@
BC?2*???~????D.EFG?HIOIQSZ\_I`bB?c@?dfgi	??jkm@??n	??oprt




© 2015 - 2024 Weber Informatics LLC | Privacy Policy