com.google.javascript.jscomp.Es6RewriteBlockScopedFunctionDeclaration.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/NodeTraversal$AbstractPostOrderCallback ()V
Ecom/google/javascript/jscomp/Es6RewriteBlockScopedFunctionDeclaration compiler /Lcom/google/javascript/jscomp/AbstractCompiler; transpiledFeatures 8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet; 3com/google/javascript/jscomp/NodeTraversal$Callback
0com/google/javascript/jscomp/TranspilationPasses processTranspile ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;[Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
!maybeMarkFeaturesAsTranspiledAway ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)V
! " com/google/javascript/rhino/Node
isFunction ()Z
$ % " isBlock
' ( ) getParent $()Lcom/google/javascript/rhino/Node;
+ , - #visitBlockScopedFunctionDeclaration s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
/ 0 )
getFirstChild
2 3 ) cloneNode 5 6 7 8 9 !com/google/javascript/rhino/Token LET #Lcom/google/javascript/rhino/Token;
; < = > ? com/google/javascript/rhino/IR declaration i(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Token;)Lcom/google/javascript/rhino/Node;
A B C srcref F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
E F G H ) *com/google/javascript/jscomp/NodeTraversal getCurrentScript J K L M N >com/google/javascript/jscomp/parsing/parser/FeatureSet$Feature LET_DECLARATIONS @Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
P Q R S T %com/google/javascript/jscomp/NodeUtil addFeatureToScript ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/jscomp/AbstractCompiler;)V V
X Y Z setString (Ljava/lang/String;)V
\ ] ^ _ ` -com/google/javascript/jscomp/AbstractCompiler reportChangeToEnclosingScope %(Lcom/google/javascript/rhino/Node;)V
b c ) detach
e f ` addChildToFront h i j k 6com/google/javascript/jscomp/parsing/parser/FeatureSet BARE_MINIMUM J m n N !BLOCK_SCOPED_FUNCTION_DECLARATION
h p q r with z(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet; t )com/google/javascript/jscomp/CompilerPass 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this GLcom/google/javascript/jscomp/Es6RewriteBlockScopedFunctionDeclaration; MethodParameters process G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V externs "Lcom/google/javascript/rhino/Node; root visit t ,Lcom/google/javascript/jscomp/NodeTraversal; n parent
StackMapTable oldNameNode
fnNameNode let
SourceFile -Es6RewriteBlockScopedFunctionDeclaration.java InnerClasses AbstractPostOrderCallback Callback Feature 1 s u v F
*? *+? ? w % &