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

com.google.javascript.jscomp.instrumentation.BranchCoverageInstrumentationCallback.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?
*com/google/javascript/jscomp/NodeTraversal
getSourceName()Ljava/lang/String;
	
9com/google/javascript/jscomp/instrumentation/CoverageUtilcreateIdentifierFromText&(Ljava/lang/String;)Ljava/lang/String;makeConcatWithConstants
>com/google/javascript/jscomp/NodeTraversal$AbstractCfgCallback()V	Rcom/google/javascript/jscomp/instrumentation/BranchCoverageInstrumentationCallbackcompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	instrumentationDataLjava/util/Map;
!"#$ com/google/javascript/rhino/NodegetSourceFileName
&'()*java/util/Objectsequals'(Ljava/lang/Object;Ljava/lang/Object;)Z
!,-.isScript()Z01234
java/util/Mapget&(Ljava/lang/Object;)Ljava/lang/Object;
!67.hasChildren
!9:;
getFirstChild$()Lcom/google/javascript/rhino/Node;
!=>.isModuleBody
@AB
newHeaderNoder(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
!DE;removeChildren
!GHIaddChildrenToFront%(Lcom/google/javascript/rhino/Node;)V
KLMNI-com/google/javascript/jscomp/AbstractCompilerreportChangeToEnclosingScopePDcom/google/javascript/jscomp/instrumentation/FileInstrumentationData
RSTinstrumentBranchCoverageu(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;)V
!VW.isIf
YZ[getControlFlowGraph`(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/ControlFlowGraph;
]^_`a-com/google/javascript/jscomp/ControlFlowGraphgetOutEdges$(Ljava/lang/Object;)Ljava/util/List;cdefgjava/util/Listiterator()Ljava/util/Iterator;ijkl.java/util/IteratorhasNextinopnext()Ljava/lang/Object;r6com/google/javascript/jscomp/graph/DiGraph$DiGraphEdgeqtupgetValue	wxyz{4com/google/javascript/jscomp/ControlFlowGraph$BranchON_FALSE6Lcom/google/javascript/jscomp/ControlFlowGraph$Branch;q}~getDestination:()Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphNode;?t?6com/google/javascript/jscomp/graph/DiGraph$DiGraphNode
!??.isBlock
!??;	getParent
???addDefaultBlockF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;???applyK(Lcom/google/javascript/jscomp/NodeTraversal;)Ljava/util/function/Function;0???computeIfAbsentC(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
???getChildrenBlocks4(Lcom/google/javascript/rhino/Node;)Ljava/util/List;
???processBranchInfo{(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;Ljava/util/List;)V
?????%com/google/javascript/jscomp/NodeUtilisLoopStructure%(Lcom/google/javascript/rhino/Node;)Zc???add(Ljava/lang/Object;)Z
????;com/google/javascript/rhino/IRblock
!??IinsertBeforeq??	getSource
!??IinsertAfter??java/util/ArrayList
?
!??;getNext
O???maxBranchPresentLine()I
O???getNumBranches(I)I
?????java/lang/IntegervalueOf(I)Ljava/lang/Integer;
????intValue
O???
getBranchNode&(II)Lcom/google/javascript/rhino/Node;
???newBranchInstrumentationNodes(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;I)Lcom/google/javascript/rhino/Node;
!??IaddChildToFront
???createArrayName@(Lcom/google/javascript/jscomp/NodeTraversal;)Ljava/lang/String;
????name6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
????number%(D)Lcom/google/javascript/rhino/Node;
????getelemh(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
???;trueNode
????assign
????
exprResult???1(Ljava/lang/String;)Ljava/util/function/Function;
!???srcrefTreeIfMissing
!???	getLineno
O???setBranchPresent(I)V
O?
putBranchNode'(IILcom/google/javascript/rhino/Node;)V
OaddBranches(II)V
!IaddChildToBack


4$com/google/common/base/PreconditionscheckNotNullHcom/google/javascript/jscomp/instrumentation/CoverageInstrumentationPass__jscov
newArrayDeclarationNodeP(Lcom/google/javascript/jscomp/NodeTraversal;)Lcom/google/javascript/rhino/Node;
branchesTaken
??stringpush
? getpropX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
?"#$calli(Lcom/google/javascript/rhino/Node;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;&
branchPresent
O()getBranchPresentAsHexString+JSCompiler_lcov_branchesInLine
-./newBranchesInLineNode|(Ljava/lang/String;Lcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;)Lcom/google/javascript/rhino/Node;1branchesInLine3	fileNames
?5?64(Ljava/util/List;)Lcom/google/javascript/rhino/Node;
?89:arraylitG([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
?<=?var
O?@'(Ljava/lang/String;Ljava/lang/String;)V	SignatureiLjava/util/Map;BRANCH_ARRAY_NAME_PREFIXLjava/lang/String;
ConstantValueGJSCompiler_lcov_branch_data_CodeLineNumberTableLocalVariableTable	traversal,Lcom/google/javascript/jscomp/NodeTraversal;MethodParametersA(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/Map;)VthisTLcom/google/javascript/jscomp/instrumentation/BranchCoverageInstrumentationCallback;LocalVariableTypeTable?(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/Map;)Vvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VtoAddTo"Lcom/google/javascript/rhino/Node;destinationoutEdge8Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphEdge;cfg/Lcom/google/javascript/jscomp/ControlFlowGraph;hasDefaultBlockZ	exitBlockblocksLjava/util/List;nodeparentfileName?Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphEdge;SLcom/google/javascript/jscomp/ControlFlowGraph;4Ljava/util/List;
StackMapTableijava/lang/StringchildX(Lcom/google/javascript/rhino/Node;)Ljava/util/List;	branchIdxInumBranchesLjava/lang/Integer;lineIdxdataFLcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;maxLinebranchCoverageOffsetidx	arrayNamegetElemNodeexprNode
branchNode
lineNumber?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;Ljava/util/List;)VdefaultBlocksrcrefobjNamenodes
assignmentassignmentslineWithBranch%lambda$newBranchInstrumentationNode$2l(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;klambda$visit$1?(Lcom/google/javascript/jscomp/NodeTraversal;Ljava/lang/String;)Lcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;lambda$visit$0
SourceFile*BranchCoverageInstrumentationCallback.javaRuntimeInvisibleAnnotations/Lcom/google/common/annotations/GwtIncompatible;valueFileInstrumentationDataBootstrapMethods?
????$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;?JSCompiler_lcov_branch_data_?
?????"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;4?
????Z(Ljava/lang/String;)Lcom/google/javascript/jscomp/instrumentation/FileInstrumentationData;?
????
???InnerClassesAbstractCfgCallback?*com/google/javascript/jscomp/graph/DiGraphDiGraphEdgeBranchDiGraphNode?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup!ABCDEF
??H?
*???
?I+,+J
KLMKNHk*?*+?*,??I01	23J OPQBM	ARSTH??+?:,? ?%??,?+?V*??/?H,?5?,?8?AB(DCFRGZHmLtM~N?O?P?Q?R?S?T?U?V?Z?[?\?^` a*b1c;d^ekf|g?h?j?k?o?s?u?x?y?{?}J?C*UV?&WV	?DXY~?Z[??\]?8^V
|WWV	^uXY1?_`;?Z[?OP?KL?aV?bV?cDQ4?DXd~?Ze^uXd1?_f;?ZegG?h,@!+? ]i?Y?
?,?$c]i?Mq!?!?	??&M
Kab??H?*??Y??M+?8N-?-???,-??W-??N???,?I???? ?(?J*
jV*OP*aV"_`Q"_fg?
c!?MaAkSTH;	k,??>66?\,????:?F6?ʣ/,??:*+`d?Ѷ?*??J??????`6?????I>?????!?.?8?E?H?K?T?Z?d?j?J\	8?V$6lmHno_pmkOPkKLkqrfsmctmg????5?	?M	Kq??H?B+??:??????:????:+?:*?????W,???I???"?(?;?JRBOPBKLBaVBum<vD-wV" xV(cDM
Kau??H?H+??6,??6-?b:?h?!?m?!:,`??????,??I&	????-?9?<???G?JH-jVHOPHyVHqrH_`Bzm9nmQH_fg
?i?'M
yq_A{??HU??M+,?,+???I??	?J OPaV|VMaABH
+?N*?-?/?O:?	W:??Y??:*+???W???????!Y+?ظ?S?!???W??%?????!Y?'?S?!???W**?,??W??0?????!Y*??S?!???W??2?????!Y-?S?!???W?4,???I? ?????(?5?9?R?Y?\?_?e?i????????????????????????????????????JH
OP
KL
}VcD?qr?~D(?`Q(?fM	K}HF+?ظ??!?7?;?I?JOPKLMK./HJ~??Y??N-+???!?7?;??W66,???P,????:?:?ʞ2+????????ʇ????:-????W????-?4?I:??? ?,?7?D?E?V?]?`?e?s?yJRe?V7<no#Vpm~OP~?D~qrv?` ^?mQv?fg?#c?O?M	?q
??H>
?OY+*?>?I?J
vD
?D
??HA
?OY+*?ط>?IzJ
KL
?D
??HA
?OY+*?ط>?I_J
KL
?D?????s??&???????????????*?	q??	w]?@???	???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy