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

com.google.javascript.jscomp.ReplaceCssNames.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/ReplaceCssNamescompiler/Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompilercreateAstFactory+()Lcom/google/javascript/jscomp/AstFactory;	
astFactory)Lcom/google/javascript/jscomp/AstFactory;		symbolMap-Lcom/google/javascript/jscomp/CssRenamingMap;	cssNameCollector?Lcom/google/javascript/jscomp/ReplaceCssNames$CssNameCollector;	 !"skiplistLjava/util/Set;$java/util/LinkedHashMap
#	'()cssNamesBySymbolLjava/util/Map;+java/util/LinkedHashSet
*	./"classesObjectsQualifiedNames1Dcom/google/javascript/jscomp/ReplaceCssNames$FindSetCssNameTraversal
0341(Lcom/google/javascript/jscomp/ReplaceCssNames;)V
6789:*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
<=>gatherGetCssNameInstances4(Lcom/google/javascript/rhino/Node;)Ljava/util/List;@ABCDjava/util/Listiterator()Ljava/util/Iterator;FGHIJjava/util/IteratorhasNext()ZFLMNnext()Ljava/lang/Object;P?com/google/javascript/jscomp/ReplaceCssNames$GetCssNameInstance
ORSTgetCssClassName()Ljava/lang/String;
OVWJisCssClosureFileClassesMember
OYZTgetCssClosureClassesMemberName\]^_`
java/util/Mapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ObcT!getCssClosureClassesQualifiedNameefghi
java/util/Setadd(Ljava/lang/Object;)Zklmhn=com/google/javascript/jscomp/ReplaceCssNames$CssNameCollector(Ljava/lang/String;)V
OpqreplaceWithExpressionsBcom/google/javascript/jscomp/ReplaceCssNames$CountCssNamesBySymbol
r3vDcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal
u3	uyz{listOfCssNameInstancesLjava/util/List;
}~?T com/google/javascript/rhino/NodegetSourceFileName?.css.closure.js
?????java/lang/StringendsWith(Ljava/lang/String;)Z
}??JisCall
}???
getFirstChild$()Lcom/google/javascript/rhino/Node;	???GET_CSS_NAME_FUNCTION"Lcom/google/javascript/rhino/Node;
}???matchesQualifiedName%(Lcom/google/javascript/rhino/Node;)Z
???validateGetCssNameCallJ(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/JSError;
O???(Lcom/google/javascript/jscomp/ReplaceCssNames;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/JSError;Ljava/lang/String;)V
}???
getChildCount()I
???validateSingleArgGetCssNameCall
???validateTwoArgGetCssNameCall	???INVALID_NUM_ARGUMENTS_ERROR-Lcom/google/javascript/jscomp/DiagnosticType;
????valueOf(I)Ljava/lang/String;
?????$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
}???getLastChild
?????$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;
}??JisStringLit	???STRING_LITERAL_EXPECTED_ERROR
}???getToken%()Lcom/google/javascript/rhino/Token;
????T!com/google/javascript/rhino/TokentoString
}???getSecondChild
}???getNext	???UNEXPECTED_STRING_LITERAL_ERROR
}??T	getString
???isGetCssNameCall	???NESTED_CALL_ERRORe??icontains?-
????split'(Ljava/lang/String;)[Ljava/lang/String;	?????.com/google/javascript/jscomp/ReplaceCssNames$1<$SwitchMap$com$google$javascript$jscomp$CssRenamingMap$Style[I?????+com/google/javascript/jscomp/CssRenamingMapgetStyle5()Lcom/google/javascript/jscomp/CssRenamingMap$Style;
?????1com/google/javascript/jscomp/CssRenamingMap$Styleordinal????get&(Ljava/lang/String;)Ljava/lang/String;	?UNKNOWN_SYMBOL_WARNING
report)(Lcom/google/javascript/jscomp/JSError;)V
	
com/google/common/base/Joineron3(Ljava/lang/String;)Lcom/google/common/base/Joiner;

join'([Ljava/lang/Object;)Ljava/lang/String;
}n	setStringgoog
com/google/javascript/rhino/IRname6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
getCssName
 getpropX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;"JSC_GETCSSNAME_NUM_ARGS$=goog.getCssName called with "{0}" arguments, expected 1 or 2.
&'()*+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;,&JSC_GETCSSNAME_STRING_LITERAL_EXPECTED.Rgoog.getCssName called with invalid argument, string literal expected.  Was "{0}".0(JSC_GETCSSNAME_UNEXPECTED_STRING_LITERAL2?goog.getCssName called with invalid arguments, string literal passed as first of two arguments.  Did you mean goog.getCssName("{0}-{1}")?4JSC_GETCSSNAME_NESTED_CALL6,goog.getCssName: nested call is not allowed.8!JSC_GETCSSNAME_UNKNOWN_CSS_SYMBOL:Egoog.getCssName called with unrecognized symbol "{0}" in class "{1}".
&<=*warning?$JSC_UNEXPECTED_SASS_GENERATED_CSS_TSAQ@sass_generated_css_ts JSDoc annotation is only allowed on .css.closure.js files.	CD?&UNEXPECTED_SASS_GENERATED_CSS_TS_ERRORF(JSC_UNKNOWN_CSS_SYMBOL_IN_CLASSES_OBJECTH/Symbol was not defined "{0}" in classes object.	JK?UNKNOWN_SYMBOL_ERRORM!JSC_INVALID_USE_OF_CLASSES_OBJECTOOinvalid use of generated classes object. Only accessing its members is allowed.	QR?#INVALID_USE_OF_CLASSES_OBJECT_ERRORTsetCssNameMapping	VW?GOOG_SET_CSS_NAME_MAPPINGY)com/google/javascript/jscomp/CompilerPass	Signature5Ljava/util/Map;#Ljava/util/Set;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/CssRenamingMap;Lcom/google/javascript/jscomp/ReplaceCssNames$CssNameCollector;Ljava/util/Set;)VCodeLineNumberTableLocalVariableTablethis.Lcom/google/javascript/jscomp/ReplaceCssNames;LocalVariableTypeTableMethodParameters?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/CssRenamingMap;Lcom/google/javascript/jscomp/ReplaceCssNames$CssNameCollector;Ljava/util/Set;)VprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VcssClassNameLjava/lang/String;getCssNameInstanceALcom/google/javascript/jscomp/ReplaceCssNames$GetCssNameInstance;externsrootgetCssNameInstancesSLjava/util/List;
StackMapTablegatherCssNamesTraversalFLcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal;w(Lcom/google/javascript/rhino/Node;)Ljava/util/List;isNotInCssClosureFilenodesourceFileNamecreateGetCssNameInstancew(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/jscomp/ReplaceCssNames$GetCssNameInstance;ncssClosureClassesQualifiedNamevalidationError&Lcom/google/javascript/jscomp/JSError;callNode
childCountIstringLiteralArgfirstArg	secondArgprocessStringNode%(Lcom/google/javascript/rhino/Node;)Vpartireplaced[Ljava/lang/String;replacementparts?
SourceFileReplaceCssNames.javaNestMembers?Scom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal$TraversalState?]com/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal$SassGeneratedCssTsExpertInnerClassesCssNameCollectorFindSetCssNameTraversal?3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackGetCssNameInstanceCountCssNamesBySymbolGatherCssNamesTraversalStyleTraversalStateSassGeneratedCssTsExpert X???????????D?K?R?()Z[/"Z\]^!"Z\W?_`?8*?*+?*+?
?*,?*-?*?*?#Y?%?&*?*Y?,?-?a&	??	????!?,?7?b48cd8888!"e8!\f!Zg]^^hi`B?*?,?0Y*?2?5*,?;N-??:?E?T?K?O:?Q:?U?&*?&?X?[W*?-?a?dW?*??j?o???*?,?rY*?t?5?a2???4?;?C?T?f?q?v?y???b>;;jk4Blm?cd?n??o?tp{etpqr?@F?GO?
?f	no=>`]?uY*?wM*?+,?5,?x?a?	??b cdo?	stfoZuv?`k+?|M,?,??????a
@Ab cdw?xkr??@fw??`Y+???+?????????aEbcdw?r@fwyz`^*+??N?OY*+-,???a
JKb*cd{?|k}~f	{|??`??+??=?& *+???*+???+????Y??S???a?? ?&?,?b ?cd??:??r? f]^??`?*+?????}M,???+????Y,?ƶ?S????a????$?(?b *cd*???r?(}f]^??`?j+?ϸ??}M,?Ҹ??}N-???+????Y-?ƶ?S???,???+????Y,??SY-??S???*,?ۙ,????????a.????3?:?E?P?T?\?h?b*jcdj?_??T??r
?3}} f]^??`??+??M*??*?,????,??N*???:??*?????.??E*?,??:?z*?+????Y,SY,S????-???:6-??B*?-2??:?!*?+????Y-2SY,S????S??????:+??aZ???!(+T`e??
??????
???bR?*?k?F???U??+??k?cd?{??k!???r(???9??+?	??8????f{?`?????!#?%??+-?%??/1?%??35?%??79?;??>@?%?BEG?%?ILN?%?P?S??U?aR`bcg!h'm-n3t9u?xEyK}Q~W?]?c?i?o?r?~?????rOu??0k?R
k?	0??6?	O?r?u?????@?u??u?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy