com.google.javascript.jscomp.PolymerBehaviorExtractor.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?
java/lang/Object ()V
(com/google/common/collect/HashBasedTable create ,()Lcom/google/common/collect/HashBasedTable; 5com/google/javascript/jscomp/PolymerBehaviorExtractor resolveMemoized !Lcom/google/common/collect/Table; java/util/LinkedHashMap
globalResolveMemoized Ljava/util/Map; compiler /Lcom/google/javascript/jscomp/AbstractCompiler; ! globalNames .Lcom/google/javascript/jscomp/GlobalNamespace; # $ % moduleMetadataMap 8Lcom/google/javascript/jscomp/modules/ModuleMetadataMap; ' ( ) moduleMap 0Lcom/google/javascript/jscomp/modules/ModuleMap;
+ , - . / 'com/google/common/collect/ImmutableList of +()Lcom/google/common/collect/ImmutableList;
1 2 3 4 5 com/google/javascript/rhino/Node
isArrayLit ()Z 7 8 9 : ; .com/google/javascript/jscomp/PolymerPassErrors POLYMER_INVALID_BEHAVIOR_ARRAY -Lcom/google/javascript/jscomp/DiagnosticType; = java/lang/String
? @ A B C $com/google/javascript/jscomp/JSError make ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
E F G H I -com/google/javascript/jscomp/AbstractCompiler report )(Lcom/google/javascript/jscomp/JSError;)V
+ K L M builder 3()Lcom/google/common/collect/ImmutableList$Builder;
1 O P Q
getFirstChild $()Lcom/google/javascript/rhino/Node;
1 S T 5 isObjectLit
V W X Y Z 3com/google/javascript/jscomp/PolymerPassStaticUtils switchDollarSignPropsToBrackets T(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
V \ ] Z !quoteListenerAndHostAttributeKeys _ is
a b c d e %com/google/javascript/jscomp/NodeUtil getFirstPropMatchingKey X(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node; 7 g h ; POLYMER_INVALID_BEHAVIOR
a j k l getEnclosingModuleIfPresent F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; n Hcom/google/javascript/jscomp/PolymerBehaviorExtractor$BehaviorDefinition p q r s t Bcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType
ObjectLiteral DLcom/google/javascript/jscomp/PolymerClassDefinition$DefinitionType;
V v w x extractProperties ?(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;
z { | getBehaviorFunctionsToCopy M(Lcom/google/javascript/rhino/Node;)Lcom/google/common/collect/ImmutableList;
~ | getNonPropertyMembersToCopy
a ? ? l getEnclosingScopeRoot
1 ? ? 5 isRoot
a ? ? l getEnclosingScript 1 ? ? ? FEATURE_SET 'Lcom/google/javascript/rhino/Node$Prop;
1 ? ? ? getProp ;(Lcom/google/javascript/rhino/Node$Prop;)Ljava/lang/Object; ? 6com/google/javascript/jscomp/parsing/parser/FeatureSet
m ? ? ?(Ljava/util/List;Ljava/util/List;Ljava/util/List;ZLcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/rhino/Node;)V
? ? ? ? ? /com/google/common/collect/ImmutableList$Builder add E(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
? ? ? isGoogModuleGetCall %(Lcom/google/javascript/rhino/Node;)Z
1 ? ? Q getSecondChild
1 ? ? ? getString ()Ljava/lang/String;
? ? ? resolveGoogModuleGet e(Ljava/lang/String;)Lcom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult;
? ? ? getQualifiedNameThroughCast 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
? ? ? resolveBehaviorName ?(Ljava/lang/String;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult; ? ? ? FAILED_RESOLVE_RESULT QLcom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult;
? ? ? equals (Ljava/lang/Object;)Z 7 ? ? ; POLYMER_UNQUALIFIED_BEHAVIOR ? ? ? ? ? Ocom/google/javascript/jscomp/PolymerBehaviorExtractor$ResolveBehaviorNameResult node "Lcom/google/javascript/rhino/Node; ? ? ? ? moduleMetadata GLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
? ? ? extractBehaviors ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/common/collect/ImmutableList;
? ? ? ? addAll G(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList$Builder; ? ? ? ? isGlobalDeclaration Z
1 ? ? Q getNext
? ? ? / build ? ? ? ? ? com/google/common/collect/Table get 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? ?
java/util/Map &(Ljava/lang/Object;)Ljava/lang/Object;
? ? ? resolveBehaviorNameInternal
? ? ? ? ? $com/google/common/base/Preconditions checkNotNull ? ? ? ? put J(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ?
? ? ? getNameIfModuleImport
? ? ? "resolveReferenceToLegacyGoogModule
? ? ? ? ? ,com/google/javascript/jscomp/GlobalNamespace getNameFromModule ?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;
? getSlot G(Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;
1com/google/javascript/jscomp/GlobalNamespace$Name getDeclaration 4()Lcom/google/javascript/jscomp/GlobalNamespace$Ref;
getRefs ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; 5 java/util/Iterator hasNext next ()Ljava/lang/Object; 0com/google/javascript/jscomp/GlobalNamespace$Ref
5 isSet
"# Q getNode
a%&