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

com.google.javascript.jscomp.Es6RewriteClass.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/javascript/jscomp/Es6RewriteClasscompiler/Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompilercreateAstFactory+()Lcom/google/javascript/jscomp/AstFactory;	
astFactory)Lcom/google/javascript/jscomp/AstFactory;
getTranspilationNamespace+()Lcom/google/javascript/rhino/StaticScope;	transpilationNamespace)Lcom/google/javascript/rhino/StaticScope; Lcom/google/javascript/jscomp/Es6ConvertSuperConstructorCalls;	)*+features8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;-3com/google/javascript/jscomp/NodeTraversal$Callback
/01230com/google/javascript/jscomp/TranspilationPassesprocessTranspile?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;[Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V5,com/google/javascript/jscomp/GlobalNamespace
478v(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
:;<setGlobalNamespace1(Lcom/google/javascript/jscomp/GlobalNamespace;)V
>?@AB*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
/DEF!maybeMarkFeaturesAsTranspiledAway?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)V	HIJKL.com/google/javascript/jscomp/Es6RewriteClass$1,$SwitchMap$com$google$javascript$rhino$Token[I
NOPQR com/google/javascript/rhino/NodegetToken%()Lcom/google/javascript/rhino/Token;
TUVWX!com/google/javascript/rhino/Tokenordinal()I	Z[\]+6com/google/javascript/jscomp/parsing/parser/FeatureSetES3
_`a
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
cdefg,com/google/javascript/jscomp/CompilerOptionsgetOutputFeatureSet:()Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
Zijkcontains;(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Zm7ES5 getters/setters (consider using --language_out=ES5)
opqrs.com/google/javascript/jscomp/TranspilationUtil
cannotConvertf(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V
NuvwisClass()Z
yz{
visitClasss(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
}~??Ecom/google/javascript/jscomp/Es6RewriteClass$ClassDeclarationMetadatacreate?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AstFactory;)Lcom/google/javascript/jscomp/Es6RewriteClass$ClassDeclarationMetadata;?java/lang/IllegalStateException???makeConcatWithConstants6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
???(Ljava/lang/String;)V
}??w
hasSuperClass
}???getSuperClassNameNode$()Lcom/google/javascript/rhino/Node;
N??wisQualifiedName?eExpected Es6RewriteClassExtendsExpressions to make all extends clauses into qualified names, found %s
?????$com/google/common/base/Preconditions
checkState((ZLjava/lang/String;Ljava/lang/Object;)V
}???getInsertionPoint?()Lcom/google/javascript/jscomp/Es6RewriteClass$InsertionPoint;
?????;com/google/javascript/jscomp/Es6RewriteClass$InsertionPointgetNode
?????%com/google/javascript/jscomp/NodeUtilisStatement%(Lcom/google/javascript/rhino/Node;)Z?'insertion point must be a statement: %s
N???getLastChild
N???
getFirstChild
N???getNext
N??wisComputedProp	N???COMPUTED_PROP_GETTER'Lcom/google/javascript/rhino/Node$Prop;
N???getBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z	N???COMPUTED_PROP_SETTER
N??wisGetterDef
N??wisSetterDef
???visitNonMethodMemberl(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/Es6RewriteClass$ClassDeclarationMetadata;)V
????!isEs6ConstructorMemberFunctionDef
N???removeFirstChild
N???getColor-()Lcom/google/javascript/jscomp/colors/Color;
N???setColorO(Lcom/google/javascript/jscomp/colors/Color;)Lcom/google/javascript/rhino/Node;
}??wisAnonymous
}???getClassNameNode
N???	cloneNode
N???replaceWith%(Lcom/google/javascript/rhino/Node;)V
N??wisEmpty
N??wisMemberFunctionDef?Unexpected class member: (%s)	N???COMPUTED_PROP_VARIABLE?:Member variables should have been transpiled earlier: (%s)
???visitMethod?OEs6RewriteClasses expects all classes to have (possibly synthetic) constructors
????checkNotNull8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
}?"getDefinePropertiesObjForPrototype
NwhasChildren
?createObjectDotDefineProperties
}
?getClassPrototypeNode

'com/google/javascript/jscomp/AstFactorytypeR(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/AstFactory$Type;
N?	cloneTree


createCall?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AstFactory$Type;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
com/google/javascript/rhino/IR
exprResultF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
N !srcrefTreeIfMissing
}#$?insertNodeAndAdvance
}&'?getDefinePropertiesObjForClass
})*?getFullClassNameNode
?,-.getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
01234-com/google/javascript/rhino/JSDocInfo$Builder
maybeCopyFromX(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/JSDocInfo$Builder;
067wrecordConstructor
?9:getEnclosingStatement
N<=w
isFromExterns?$jscomp.inherits

ABCcreateQName_(Lcom/google/javascript/rhino/StaticScope;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;	EFGHI2com/google/javascript/jscomp/colors/StandardColorsNULL_OR_VOID+Lcom/google/javascript/jscomp/colors/Color;

KL[(Lcom/google/javascript/jscomp/colors/Color;)Lcom/google/javascript/jscomp/AstFactory$Type;
NNO?insertAfter
QRSaddTypeDeclarationsl(Lcom/google/javascript/jscomp/Es6RewriteClass$ClassDeclarationMetadata;Lcom/google/javascript/rhino/Node;)VU
NWX?	setString
Z[\leth(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
>^_?getCurrentScript	abcde>com/google/javascript/jscomp/parsing/parser/FeatureSet$FeatureLET_DECLARATIONS@Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
?ghiaddFeatureToScript?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/jscomp/AbstractCompiler;)V
?klmmarkFunctionsDeletedT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
0opqbuild)()Lcom/google/javascript/rhino/JSDocInfo;
NstusetJSDocInfoK(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
NwxwisName
Nz{?	getParent
N}~?getGrandparent
N??wisAssign?
>??reportCodeChange?Object.defineProperties

??CcreateJSCompDotGlobalAccess?Object.defineProperty
????
checkArgument(Z)V
N??wisStaticMember
N???	getString()Ljava/lang/String;
????getFirstPropMatchingKeyX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
???createPropertyDescriptor

???createStringKeyX(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
N??wisQuotedStringKey	N???QUOTED_PROP
N???putBooleanProp+(Lcom/google/javascript/rhino/Node$Prop;Z)V
N???addChildToBack?get?set
N???detach
???createObjectDotDefineProperty
???extractComputedProperty
??SaddToDefinePropertiesObject
????(ZLjava/lang/Object;)V
}???getClassMembersToDeclare()Ljava/util/Map;
?????:com/google/javascript/jscomp/Es6RewriteClass$ClassPropertybuilderF()Lcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$Builder;	?????Gcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$PropertyKindQUOTED_PROPERTYILcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$PropertyKind;
?????Bcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$Builderkind?(Lcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$PropertyKind;)Lcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$Builder;	????NORMAL_PROPERTY
????propertyKeyX(Ljava/lang/String;)Lcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$Builder;
????propertyTypeq(Lcom/google/javascript/jscomp/colors/Color;)Lcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$Builder;
?????%com/google/javascript/rhino/JSDocInfo1()Lcom/google/javascript/rhino/JSDocInfo$Builder;
0??wrecordNoCollapse
????	jsDocInfom(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$Builder;
??p?>()Lcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty;?????
java/util/Mapput
???getQualifiedMemberAccess?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/Es6RewriteClass$ClassDeclarationMetadata;)Lcom/google/javascript/rhino/Node;

??\createAssign
NsrcrefIfMissing
NqgetJSDocInfo
??referencesOwnReceiver	,com/google/javascript/rhino/JSTypeExpression	T
BANG#Lcom/google/javascript/rhino/Token;	T
QMARK
N&(Lcom/google/javascript/rhino/Token;)V
NH(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;)V
N
srcrefTree
N?getSourceFileName
7(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V
0!"#recordThisType1(Lcom/google/javascript/rhino/JSTypeExpression;)Z
?%&newExpr?()*values()Ljava/util/Collection;,-./0java/util/Collectioniterator()Ljava/util/Iterator;2345wjava/util/IteratorhasNext2789next()Ljava/lang/Object;
?;<=getDeclarationo(Lcom/google/javascript/jscomp/AstFactory;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
N?@makeNonIndexableRecursive

BC\
createGetElem
NEF?getFirstFirstChild

HIJ
createGetProp?(Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node;Lconfigurable

NOP
createBoolean%(Z)Lcom/google/javascript/rhino/Node;R
enumerable

TUVcreateObjectLitG([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	ZXY+BARE_MINIMUM	a[\eCLASSES	a^_e
CLASS_EXTENDS	aabeCLASS_GETTER_SETTER	adee
NEW_TARGET	agheSUPER
Zjklwith{([Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;n)com/google/javascript/jscomp/CompilerPassINHERITSLjava/lang/String;
ConstantValueCodeLineNumberTableLocalVariableTablethis.Lcom/google/javascript/jscomp/Es6RewriteClass;MethodParametersprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootshouldTraverses(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Zt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTablevisitmemberdefinePropsCallinheritsCallctorVarvar	classNodemetadataGLcom/google/javascript/jscomp/Es6RewriteClass$ClassDeclarationMetadata;constructorclassMembers
classJSDoc'Lcom/google/javascript/rhino/JSDocInfo;newInfo/Lcom/google/javascript/rhino/JSDocInfo$Builder;enclosingStatement	stringKeyobjpropfunctioninfo?java/lang/StringcomputedMemberownerproperty
propertyValuepropertyDescriptorobjectDefinePropertyCallmembersToDeclareLjava/util/Map;DLcom/google/javascript/jscomp/Es6RewriteClass$ClassProperty$Builder;
memberNamejsDocLocalVariableTypeTable_Ljava/util/Map;	memberDocqualifiedMemberAccessmethodassignnewNodedeclaration
SourceFileEs6RewriteClass.javaNestMembers?Mcom/google/javascript/jscomp/Es6RewriteClass$ClassDeclarationMetadata$BuilderBootstrapMethods?
?????$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;?_Can only convert classes that are declarations or the right hand side of a simple assignment: ?Unexpected parent node InnerClassesCallbackClassDeclarationMetadataInsertionPoint?%com/google/javascript/rhino/Node$PropProp?,com/google/javascript/jscomp/AstFactory$TypeTypeBuilderFeature
ClassPropertyPropertyKind?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup1,m*+opq>&'#rn&*?*+?*+?
?*+??*?Y+?!?$?s9:	;<=%>t&uv&wxyr?R*?+?(?,Y*S?.*?,?(?,Y*S?.*?$?4Y*?+,?6?9*?,*?$?=*?,?(?C?sCD&L:MFNQOt RuvRz{R|{w	z|}~r?E?G,?M?S.?8?Y*??^?b?h?*?,l?n??sS$V7WAXC^t*EuvE?E?{E?{?$w
???{rh,?t?
*+,-?x?scdft*uv??{?{?w
??z{r??,-*??|:???Y,??????????????????????????????:,??:??:????:?????????¶???Ś?ș*?˧z?ϙ,??,?ն?:?ݚ\??????I???>?????????????????*??:??@???W???@*?*??	??NY?	?SY?S??:,?W?"?%??@*?*??(??NY?(?SY?%S??:,?W?",?+:?/:?5W,?8:	???S,?;?L*?*?*?>?@?D?J?NY?(?SY???S?????:

	?M*	?P,???;??T?V????Y:

,?W,
??+?]?`*??f?	,??,*??j????n?rW?`-?v?-?y:

?n?rW?E?y?v??|:

?n?rW?%-??-?n?rW???Y-?????+???s~_stvw|&}(~2?5}8?:?G?M?P?S?Y?e?l?y????????????????????????????? ?#?+?6?;?@?N?Y?]?`?e?l?s?~????????????????????????????????????????%?,?4?;?F?U?\?b?p?s?y???????????????????????????t?l?8{`??{e?{??{%?{
U?{
??{
??{
?uv????{??{???S??{Y??{?8???1???%?{	?E?}?'NNN?)N
0
@@??O?G?p?0N?F
w
???r9*?*?????s?tuv??r9*?*?????stuv?Sr??,??????,???
+?%?+?N-,????:?.*??:*?,????:,???????-??,??:?+:*?,?ř	???????:?rW??,?W?sN	
",17FMV\bim???? t\	F?{?uv?????{"|?{,r?{b<?{i5????{?Z@CN?4NNN??}NNNN?
?}NNNN?
?w	????r?	~+???
,?(?,?	N+??:+??:*??:*?+?????	?????:??*?*??-??NY-?SYSYS?:,?+??"?sN%&'()+%,).>-C0J2O4S5]6k3p:s;z:}<t\	~uv~?{~??k?{e?{_?{%Y?{C;?{p?{?HCN?&N}NNNN
?N}NNNN
?w	????ri?+???
*+??,???*,+??+????+????+??,??N??:+??:+????Ͷ?W??ٶ?W??+?ն?W??:??W?n??W-???W?sNIJKNPQS/V4W9X?ZF[R][`jbocud?e?ftH?uv??{???4[??9V???P?po ???4[???
@?&???w	????rf	?*+,??N+????:*?-????:+?:+???E????:?/:?Y?NY?
?NY???+?+??? W?n:??rW?$:,?"?sBmnr!t'u9v@x[z_{exi|p~u}?????t\	@0???uv??{?????{{?{!j?{'d????{??pN}NNN?w	??RSr?L+?ù'?+N-?1?6-?6??:*?+?(??::+??W,?MM??DZs"?#?*?5???E?H?K?t45?{#%??LuvL??L?{??2?;w	????r?Q+???
,?(??
,?	?N-?>+???*?-+?ҶA+??+?D:*?-+??+??G??s:?????$?*?1?4?5?;?A?M?P?t4;?{QuvQ?{Q??8?{?
FN?Nw	????rl6*??NY*?K*??M??SY*?Q*??M??S?S?s??+?2?t6uv?rL,?W?aY?ZSY?]SY?`SY?cSY?fS?i?(?s)%*+)???H?}??????????j
,>?	H}????N?@?
?0??	aZ?@????????@?}????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy