com.google.javascript.jscomp.ReplaceCssNames$GatherCssNamesTraversal.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
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 ? Dcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal this$0 .Lcom/google/javascript/jscomp/ReplaceCssNames;
java/lang/Object ()V java/util/ArrayList
listOfCssNameInstances Ljava/util/List; Scom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal$TraversalState
I(Lcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal;)V traversalState ULcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal$TraversalState;
createSassGeneratedCssTsExpert ?(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal$SassGeneratedCssTsExpert; " # $ % & ]com/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal$SassGeneratedCssTsExpert !sassGeneratedCssTsValidationError &Lcom/google/javascript/jscomp/JSError; ( ) * + , ,com/google/javascript/jscomp/ReplaceCssNames compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
. / 0 1 2 -com/google/javascript/jscomp/AbstractCompiler report )(Lcom/google/javascript/jscomp/JSError;)V
4 5 6 7 8 com/google/javascript/rhino/Node isScript ()Z " : ; < hasSassGeneratedCssTsJsDoc Z > ? < inSassGeneratedCssTsScript A B C cssClosureClassesQualifiedName Ljava/lang/String; " E F < isCssClosureClassesAssignment " A
( I J K isGetCssNameCall %(Lcom/google/javascript/rhino/Node;)Z
( M N O createGetCssNameInstance w(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/jscomp/ReplaceCssNames$GetCssNameInstance;
Q R S T 8 ?com/google/javascript/jscomp/ReplaceCssNames$GetCssNameInstance isValid V W X Y Z java/util/List add (Ljava/lang/Object;)Z
Q \ ] ^ getValidationError (()Lcom/google/javascript/jscomp/JSError;
4 ` a b getJSDocInfo )()Lcom/google/javascript/rhino/JSDocInfo;
d e f g 8 %com/google/javascript/rhino/JSDocInfo isSassGeneratedCssTs
( i j K isNotInCssClosureFile ( l m n &UNEXPECTED_SASS_GENERATED_CSS_TS_ERROR -Lcom/google/javascript/jscomp/DiagnosticType; p java/lang/String
r s t u v $com/google/javascript/jscomp/JSError make ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
4 x y z
getFirstChild $()Lcom/google/javascript/rhino/Node;
4 | } 8 isAssign
4 ? 8 isGetProp
4 ? ? ? getString ()Ljava/lang/String; ? classes
o ? ? Z equals
4 ? ? ? getQualifiedName
" ? ? ?(Lcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal;ZLcom/google/javascript/jscomp/JSError;ZLjava/lang/String;)V ? 3com/google/javascript/jscomp/NodeTraversal$Callback Signature SLjava/util/List; 1(Lcom/google/javascript/jscomp/ReplaceCssNames;)V Code LineNumberTable LocalVariableTable this FLcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal; MethodParameters shouldTraverse s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z t ,Lcom/google/javascript/jscomp/NodeTraversal; n "Lcom/google/javascript/rhino/Node; parent sassGeneratedCssTsExpert _Lcom/google/javascript/jscomp/ReplaceCssNames$GatherCssNamesTraversal$SassGeneratedCssTsExpert;
StackMapTable visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V getCssNameInstance ALcom/google/javascript/jscomp/ReplaceCssNames$GetCssNameInstance; isInvalidSassGeneratedCssTsJsDoc assignmentTarget
SourceFile ReplaceCssNames.java NestHost InnerClasses GatherCssNamesTraversal TraversalState SassGeneratedCssTsExpert GetCssNameInstance ? *com/google/javascript/jscomp/NodeTraversal Callback ? ? ? ? ? S !*+? *? *?
Y? ? *? Y*? ? ? ? ? ? ? ? ! ? ? ? ? ? ? ? ^*,? :? !? *? ? '? !? -?,? 3? *? ? 9? =*? ? @? !*? ? =? ? D? *? ? G? @? ? *
? ? ? ? ? ' ? 3 ? > ? P ? \ ? ? 4 ^ ? ? ^ ? ? ^ ? ? ^ ? ? W ? ? ?
? " ?
? ? ? ? ? ? ? C*? ,? H? :*? ,*? ? @? L:? P? *? ? U W? *? ? '? [? -? ? $ 3 B ? 4 &