com.google.javascript.jscomp.disambiguate.AmbiguateProperties$ProcessPropertiesAndConstructors.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!
???? 7D ^com/google/javascript/jscomp/disambiguate/AmbiguateProperties$ProcessPropertiesAndConstructors this$0 ?Lcom/google/javascript/jscomp/disambiguate/AmbiguateProperties;
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback ()V ?com/google/javascript/jscomp/disambiguate/AmbiguateProperties$1 ,$SwitchMap$com$google$javascript$rhino$Token [I
com/google/javascript/rhino/Node getToken %()Lcom/google/javascript/rhino/Token;
!com/google/javascript/rhino/Token ordinal ()I
! " processGetProp %(Lcom/google/javascript/rhino/Node;)V
$ % " processCall
' ( ) * + %com/google/javascript/jscomp/NodeUtil isNameDeclaration %(Lcom/google/javascript/rhino/Node;)Z
- . /
isFunction ()Z 1 2 3 4 5 =com/google/javascript/jscomp/disambiguate/AmbiguateProperties graphNodeFactory ALcom/google/javascript/jscomp/disambiguate/ColorGraphNodeFactory;
1 7 8 9 getColor O(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/colors/Color;
; < = > ? ?com/google/javascript/jscomp/disambiguate/ColorGraphNodeFactory
createNode g(Lcom/google/javascript/jscomp/colors/Color;)Lcom/google/javascript/jscomp/disambiguate/ColorGraphNode;
A B " processObjectLitOrPattern
D E " processGetElem
G H " processClass
J K L
getFirstChild $()Lcom/google/javascript/rhino/Node;
N O P maybeMarkCandidate P(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/colors/Color;)V
' R S +
isLhsOfAssign
U V L getParent
' X Y + isStatement
[ \ / isQualifiedName 1 ^ _ ` compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
b c d e f -com/google/javascript/jscomp/AbstractCompiler getCodingConvention 1()Lcom/google/javascript/jscomp/CodingConvention; h i j k + -com/google/javascript/jscomp/CodingConvention isPropertyRenameFunction
m n L getSecondChild
p q / isStringLit
s t u getString ()Ljava/lang/String;
1 w x y getProperty \(Ljava/lang/String;)Lcom/google/javascript/jscomp/disambiguate/AmbiguateProperties$Property; { | } ~ Fcom/google/javascript/jscomp/disambiguate/AmbiguateProperties$Property skipAmbiguating Z
' ? ? + "isObjectDefinePropertiesDefinition
? ? L getNext
? ? / isObjectLit
? ? ? processObjectProperty r(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/colors/Color;)V
? ? / isObjectPattern
? ? ? ? ? $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V 1 ? ? ? quotedNames Ljava/util/Set; ? ? ? ? ?
java/util/Set add (Ljava/lang/Object;)Z
? ? / isQuotedStringKey ? java/lang/IllegalStateException
? ? u toStringTree ? ? ? makeConcatWithConstants I(Lcom/google/javascript/rhino/Token;Ljava/lang/String;)Ljava/lang/String;
? ? ? (Ljava/lang/String;)V
? ? / isCall
? ? L getLastChild
? ? ? ? ? )com/google/javascript/jscomp/colors/Color
getPrototypes *()Lcom/google/common/collect/ImmutableSet;
? ? ? ? / &com/google/common/collect/ImmutableSet isEmpty ? ? ? ? ? 2com/google/javascript/jscomp/colors/StandardColors UNKNOWN +Lcom/google/javascript/jscomp/colors/Color;
? ? ? ? createUnion <(Ljava/util/Set;)Lcom/google/javascript/jscomp/colors/Color;
' ? ? ? getClassMembers F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
? ? / isComputedProp
? ? / isComputedFieldDef
' ? ? + !isEs6ConstructorMemberFunctionDef
? ? / isStaticMember
? ? / isMemberFieldDef
? ? ? ? getInstanceColors
? ? / isMemberFunctionDef
? ? / isGetterDef
? ? / isSetterDef
? ? ? ?
checkState (Z)V 1 ? ? ?
externedNames (Lcom/google/common/collect/ImmutableSet;
? ? ? ? contains 1 ? ? ? stringNodesToRename Ljava/util/List; ? ? ? java/util/List
? ? ? recordProperty ?(Ljava/lang/String;Lcom/google/javascript/jscomp/colors/Color;)Lcom/google/javascript/jscomp/disambiguate/AmbiguateProperties$Property;
{ addRelatedColor .(Lcom/google/javascript/jscomp/colors/Color;)V B(Lcom/google/javascript/jscomp/disambiguate/AmbiguateProperties;)V Code LineNumberTable LocalVariableTable this `Lcom/google/javascript/jscomp/disambiguate/AmbiguateProperties$ProcessPropertiesAndConstructors; MethodParameters visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V t ,Lcom/google/javascript/jscomp/NodeTraversal; n "Lcom/google/javascript/rhino/Node; parent
StackMapTable getProp type propName p HLcom/google/javascript/jscomp/disambiguate/AmbiguateProperties$Property; key typeObj
objectLiteral call target objectLit child memberOwnerColor possibleInstances member classNode classConstructorType possiblePrototypes classPrototype LocalVariableTypeTable ULcom/google/common/collect/ImmutableSet; name Ljava/lang/String;* java/lang/String color prop
SourceFile AmbiguateProperties.java NestHost BootstrapMethods2
345 ?6 $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;8 Unexpected child of : InnerClasses ProcessPropertiesAndConstructors< *com/google/javascript/jscomp/NodeTraversal AbstractPostOrderCallback Property@ %java/lang/invoke/MethodHandles$LookupB java/lang/invoke/MethodHandles Lookup
4
*+? *? ? s
y?
,? ? .? m - - 3 9 [ [ a g*,? ?*,? #?-? &?
-? ,? *? ? 0*? ,? 6? :W?*,? @?*,? C?*,? F?? > v 8y =z >} C~ D? R? e? f? k? l? q? r? w? x? * y y
y y 8
! " ? 0*? +? I? 6M*+,? M+? Q?
+? T? W? *? ? 0,? :W? ? ? ? #? /? 0 0 $ ? ? # ? % " ? ?+? IM,? Z? ?*? ? ]? a,? g ? *+? lN-?
-? o? ?*? -? r? v:? z? H+? ?? A+? lN*? -? 6:-? ?:? ?? ?? I:? *? ?? ?:??? N ? ? ?
? ? %? 0? 1? >? D? N? S? ]? c? k? l? x? ?? ?? \ % > s S 9 ] / ? c ) ? ? ? 4 ?
? " ? ? $ ? ? ? ? ? 0 ?+? ??
+? ?? ? +? ??
,? ? .? r * K K K K o o,? I? o? V*? ? ?,? I? r? ? W? ?,? ?? *? ? ?,? r? ? W? $*,-? M? ? ? ?Y+? ,? ?? ? ? ??? 2 ? ? L? V? m? t? ?? ?? ?? ?? ?? ?? * ? ? ? ? ? @8
B " ? 7+? T? ?? +? T? ?? ?*? +? 6M+? IN-? *+-,? ?-? ?N??? " ? ? ? ? ? '? .? 6? * # 7 7 ? ?
? ? E " v +? ?M,? o? *? ? ?,? r? ? W? ? ? ? ? ? H " R *? +? 6M*? ? 0,? :W,? ?N-? ?? ? ?? -? ?:+? ʶ I:? ?? ?? *? ? ?? r? ? W? ?? Κ ? љ &? I? o? ?*? ? ?? I? r? ? W? n? ԙ ? c? י ,:? M? ڙ !,? ?:? ?? ? ?? ? ?:? '? ?? ? ? ? ? ? ? ?:*? M? ?:??9? v ! ' -
6 ;
C U X h s ? ? ?" ?# ?$ ?% ?' ?( ?) ?* ?+ ?, ?/ ? 1 f
? ? ? ? ? ? ? ? 6 ? ! ?" ? ?# ? - ?$ ? % ? &