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

com.google.javascript.jscomp.DotFormatter.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()Vjava/util/LinkedHashMap
	
)com/google/javascript/jscomp/DotFormatterassignmentsLjava/util/LinkedHashMap;	keyCountIjava/lang/StringBuilder
	builderLjava/lang/Appendable;	cfg/Lcom/google/javascript/jscomp/ControlFlowGraph;	 !"printAnnotationsZ
$%formatPreamble
'()
traverseNodes%(Lcom/google/javascript/rhino/Node;)V
+,formatConclusion
./0toDote(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ControlFlowGraph;)Ljava/lang/String;
23k(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ControlFlowGraph;Ljava/lang/Appendable;Z)V
567toString()Ljava/lang/String;9:;<=0com/google/javascript/jscomp/graph/GraphvizGraph
isDirected()Z?digraphAgraph
CDEappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;G  9IJ7getNameL {
N'node [color=lightblue2, style=filled];
P -> R -- 9TUVgetGraphvizNodes()Ljava/util/List;XYZ[\java/util/Listsize()I^java/lang/StringX`abget(I)Ljava/lang/Object;d=com/google/javascript/jscomp/graph/GraphvizGraph$GraphvizNodecfg7getIdcij7getLabelclm7getColoropqmakeConcatWithConstantsJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
stuvwjava/util/Arrayssort([Ljava/lang/Object;)Vy;
9{|VgetGraphvizEdges~?apply()Ljava/util/function/Function;?????java/util/Comparator	comparing5(Ljava/util/function/Function;)Ljava/util/Comparator;~????
thenComparingX?v?(Ljava/util/Comparator;)VX???iterator()Ljava/util/Iterator;????=java/util/IteratorhasNext????next()Ljava/lang/Object;?=com/google/javascript/jscomp/graph/GraphvizGraph$GraphvizEdge???7
getNode1Id???7
getNode2Id?	 [label="?i?	" color="?l?"]?}


???key%(Lcom/google/javascript/rhino/Node;)I
????? com/google/javascript/rhino/Node
getFirstChild$()Lcom/google/javascript/rhino/Node;???D?java/lang/Appendable0(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
?????java/lang/IntegervalueOf(I)Ljava/lang/Integer;
???formatNodeName'(Ljava/lang/Integer;)Ljava/lang/String;?
 [weight=1];

????getNext
?????-com/google/javascript/jscomp/ControlFlowGraphhasNode(Ljava/lang/Object;)Z
????getOutEdges$(Ljava/lang/Object;)Ljava/util/List;?6com/google/javascript/jscomp/graph/DiGraph$DiGraphEdge????getDestination:()Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphNode;
????getImplicitReturn?RETURN?????6com/google/javascript/jscomp/graph/DiGraph$DiGraphNodegetValue???p?J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
?a?&(Ljava/lang/Object;)Ljava/lang/Object;
???put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
????getToken%()Lcom/google/javascript/rhino/Token;
?5?!com/google/javascript/rhino/Token
???=isName
???=isStringLit
??=	isGetProp
?=isImportStar
?=isStringKey
	
getNodeLabel6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
?
	getJSType-()Lcom/google/javascript/rhino/jstype/JSType; : 
5)com/google/javascript/rhino/jstype/JSType
?getNode^(Ljava/lang/Object;)Lcom/google/javascript/jscomp/graph/LinkedDirectedGraph$LinkedDiGraphNode;
Hcom/google/javascript/jscomp/graph/LinkedDirectedGraph$LinkedDiGraphNode
getAnnotation1()Lcom/google/javascript/jscomp/graph/Annotation;\n
5""
?$%&getJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;( color="green"*];

?,-\intValue
?/07	getString
]23\length
]567	substring(II)Ljava/lang/String;
]9:=isEmpty<p=&(Ljava/lang/String;)Ljava/lang/String;?p?Adigraph AST {
INDENTLjava/lang/String;
ConstantValueARROWLINEMAX_LABEL_NAME_LENGTH
	SignaturePLjava/util/LinkedHashMap;SLcom/google/javascript/jscomp/ControlFlowGraph;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;CodeLineNumberTableLocalVariableTablethis+Lcom/google/javascript/jscomp/DotFormatter;n"Lcom/google/javascript/rhino/Node;LocalVariableTypeTable
ExceptionsXjava/io/IOExceptionMethodParameters?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ControlFlowGraph;Ljava/lang/Appendable;Z)VinCFGLjava/lang/StringBuilder;unused?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ControlFlowGraph;)Ljava/lang/String;F(Lcom/google/javascript/jscomp/graph/GraphvizGraph;)Ljava/lang/String;gNode?Lcom/google/javascript/jscomp/graph/GraphvizGraph$GraphvizNode;inodeNameedge?Lcom/google/javascript/jscomp/graph/GraphvizGraph$GraphvizEdge;2Lcom/google/javascript/jscomp/graph/GraphvizGraph;
edgeSymbolnodesLjava/util/List;	nodeNames[Ljava/lang/String;edgesQLjava/util/List;QLjava/util/List;
StackMapTablek	appendDotj(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ControlFlowGraph;Ljava/lang/Appendable;)V?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ControlFlowGraph;Ljava/lang/Appendable;)VnewInstanceForTesting-()Lcom/google/javascript/jscomp/DotFormatter;keyChildchildkeySucc8Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphEdge;succ8Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphNode;toNodeelementoutEdgesedgeListparent	keyParent?Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphEdge;?Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphNode;?Ljava/util/List<+Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphEdge;>;
annotationLjava/lang/Object;type+Lcom/google/javascript/rhino/jstype/JSType;Ljava/lang/Integer;content
SourceFileDotFormatter.javaBootstrapMethods?
???p?$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;? [label="" color=""]?
?????"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;?	??S(Lcom/google/javascript/jscomp/graph/GraphvizGraph$GraphvizEdge;)Ljava/lang/String;	??? ->  [label="", fontcolor="red", weight=0.01, color="red"];
?()?nodeInnerClassesGraphvizNodeGraphvizEdge?*com/google/javascript/jscomp/graph/DiGraphDiGraphEdgeDiGraphNode?6com/google/javascript/jscomp/graph/LinkedDirectedGraphLinkedDiGraphNode?4com/google/javascript/jscomp/ControlFlowGraph$BranchBranch?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup1	BCDFECDOFCDQGDHIJIKLM!"
Nl**?*?Y?	?
*?*?Y??*?*??OA47BC$D)EP*QR3N?2*?*?Y?	?
*?*,?*-?*?*?#*+?&*?*?O*
I47JKL$N(O-P1QP42QR2ST222!"U2KVWYS!IZ	/
N0*?-?OZPSTVWYS/0N{?Y?M?Y*+,?1N,?4?OefgP*ST[\]RU[KVWY	S[I^L	M	/_N	~?Y?L+*?8?>?@?BW+F?BW+*?H?BW+K?BW+F?BW+M?BW*?8?O?QM*?SN-?W?]:6??5-?_?c:?e?h?k?nS?????r:?66?%2:+F?BW+?BW+x?BW????*?z:?}??????????:???c????:+F?BW+???BW+,?BW+???BW+??B???B??B???B??BW+x?BW???+??BW+?4?O?(qrs$t/u6v=wDyU{\}gr????????????????????????????%?1?7?C?F?K?U?Z?d?h?o?r?y?Pf
`aj:b?cCQde~Afv\U)gC\"higjk??liU\"hm??lno[
?9?9]8A]?9]Xp?9?p?(?)X??iYAqrNk
?Y*+,?1N?O
??P*
ST
[
]RU
[KVWY
S[IstuN ?Y???O?()N?
?*+??=+??N-?^*-??6*?F??W*????ù?W*?O??W*????ù?W*?ǹ?W*-?&-??N???*???*?+?̙?*?+??N-?W?]:6??i-?_??:??::*??ܦ
?:?*??????6		????:????????S?????r:?66?(2:*?F??W*???W???ױO~????"?3???Q?]?b?j?|????????????????????????????? ?,?8?>?P?
Lv_wT?
x	?Sdy?Jz{?G|C?nb }C??~i??k?QR??T9?U ?Sd??Jz???~?oM???^?(Xp?3??]??Xp?p?+?VWY???N?/*?
+????M,?*Y?Z`???M*?
+,??W*?F??W*?,?ù?W*????W*?+?????W+???+???+???+??
+??*?+???W+?N-?*???W*?-???W*??C*??<*?+?̙1*?+??:?*???W*?? ??W*?!??W+?#?*?'??W*?)??W,?+?Ob????)?5?C?O?`?????????????????		*
P4?!??????/QR/ST#??o???
?#?F ?VWYS
	
N}&*?.L+?1
?+
?4L+?8?
+?;L+?O$P&ST!?Co	?]
YS
??N1*?>?OP??Y?%N\&*?@??W*?F??W*?M??W?O 
!"%#P&QRVW,N;
*????W?O
&'P
QRVW???.?????????????????:c9?	?9?	???	???	??	???@???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy