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

com.google.javascript.jscomp.ReportUntranspilableFeatures.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/AbstractPeepholeTranspilation()V
	
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;	9com/google/javascript/jscomp/ReportUntranspilableFeaturescompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	browserFeatureSetYearDLcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYear;	ALL_UNTRANSPILABLE_FEATURES8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
 6com/google/javascript/jscomp/parsing/parser/FeatureSetwithoutr(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	"#untranspilableFeaturesToRemove	%&BARE_MINIMUM	()*+,>com/google/javascript/jscomp/parsing/parser/FeatureSet$Feature
REGEXP_SYNTAX@Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
./0withz(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	23456;com/google/javascript/jscomp/ReportUntranspilableFeatures$1,$SwitchMap$com$google$javascript$rhino$Token[I
89:;< com/google/javascript/rhino/NodegetToken%()Lcom/google/javascript/rhino/Token;
>?@AB!com/google/javascript/rhino/Tokenordinal()I
8DEF
getFirstChild$()Lcom/google/javascript/rhino/Node;
8HIJ	getString()Ljava/lang/String;
8LMNhasTwoChildren()Z
8PQFgetLastChildS
UVWXY-com/google/javascript/jscomp/regex/RegExpTreeparseRegExpU(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/regex/RegExpTree;["java/lang/IllegalArgumentException]#java/lang/IndexOutOfBoundsException	_`abc(com/google/javascript/jscomp/CheckRegExpMALFORMED_REGEXP-Lcom/google/javascript/jscomp/DiagnosticType;ejava/lang/String
ghijJjava/lang/RuntimeException
getMessage
lmnop$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
rstuv-com/google/javascript/jscomp/AbstractCompilerreport)(Lcom/google/javascript/jscomp/JSError;)V	(xy,
REGEXP_FLAG_S
{|}containsC(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Z
??checkForRegExpSFlag%(Lcom/google/javascript/rhino/Node;)V	(??,REGEXP_LOOKBEHIND
???checkForLookbehindT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/regex/RegExpTree;)V	(??,REGEXP_NAMED_GROUPS
???checkForNamedGroups	(??,REGEXP_UNICODE_PROPERTY_ESCAPE
???checkForUnicodePropertyEscape	(??,
REGEXP_FLAG_D
???checkForRegExpDFlag	(??,BIGINT
???reportUntranspilablee(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/rhino/Node;)V?) Consider targeting a more modern output.
?????Bcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYearminimumRequiredFor?(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYear;
?????8com/google/javascript/jscomp/parsing/Config$LanguageMode|(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/Config$LanguageMode;???makeConcatWithConstantsN(Lcom/google/javascript/jscomp/parsing/Config$LanguageMode;)Ljava/lang/String;
???BgetYear???(I)Ljava/lang/String;???'(Ljava/lang/String;I)Ljava/lang/String;
???JtoString	??cUNTRANSPILABLE_FEATURE_PRESENT
(?
8??NisRegExp
???
checkArgument(Z)V?s
d?|?(Ljava/lang/CharSequence;)Z???test ()Ljava/util/function/Predicate;
???anySubtreeMeetsPredicateP(Lcom/google/javascript/jscomp/regex/RegExpTree;Ljava/util/function/Predicate;)Z???d?????java/util/function/Predicate(Ljava/lang/Object;)Z
U???children()Ljava/util/List;?????java/util/Listiterator()Ljava/util/Iterator;????Njava/util/IteratorhasNext????next()Ljava/lang/Object;
???checkForUntranspilable?Ccom/google/javascript/jscomp/regex/RegExpTree$UnicodePropertyEscape??com/google/javascript/jscomp/regex/RegExpTree$NamedCaptureGroup?Acom/google/javascript/jscomp/regex/RegExpTree$LookbehindAssertion?JSC_UNTRANSPILABLE?]Cannot convert feature "{0}" to targeted output language. Feature requires at minimum {1}.{2}
+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;
/{([Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	
UNTRANSPILABLE_2018_FEATURES	(
,'UNESCAPED_UNICODE_LINE_OR_PARAGRAPH_SEP	UNTRANSPILABLE_2019_FEATURES	UNTRANSPILABLE_2022_FEATURES	UNTRANSPILABLE_2020_FEATURES
 unionRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYear;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)VCodeLineNumberTableLocalVariableTablethis;Lcom/google/javascript/jscomp/ReportUntranspilableFeatures;outputFeaturesMethodParametersgetTranspiledAwayFeatures:()Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;getAdditionalFeaturesToRunOnreg/Lcom/google/javascript/jscomp/regex/RegExpTree;exLjava/lang/RuntimeException;patternLjava/lang/String;flagsroot"Lcom/google/javascript/rhino/Node;
StackMapTableminimumminimumYearfeaturenode
suggestion
regexpNodetreesubTreepLjava/util/function/Predicate;LocalVariableTypeTableOLjava/util/function/Predicate;	Signature?(Lcom/google/javascript/jscomp/regex/RegExpTree;Ljava/util/function/Predicate;)ZtranspileSubtreeF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;subtree&lambda$checkForUnicodePropertyEscape$22(Lcom/google/javascript/jscomp/regex/RegExpTree;)Ztlambda$checkForNamedGroups$1lambda$checkForLookbehind$0
SourceFile!ReportUntranspilableFeatures.javaNestMembersBootstrapMethodsP
QRS?T$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;V<, which is not yet supported by any browser featureset yearXbrowser featureset year Z$
Current browser featureset year: \
]^_`a"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;?d
eIFFh
iHFk
lEFInnerClasseso,com/google/javascript/jscomp/CompilerOptionsBrowserFeaturesetYearFeatures+com/google/javascript/jscomp/parsing/ConfigLanguageModeUnicodePropertyEscapeNamedCaptureGroupLookbehindAssertiony%java/lang/invoke/MethodHandles$Lookup{java/lang/invoke/MethodHandlesLookup1	?c# ?$*?+?W-?W*+?
*,?*?-??!?!"YZ	[\]^`#a"*$#$$$$%&
%	'( /*?!?!e"#$)( 4
?$?'?-?!n"
#$?? ??1+?7?=.???+?C?GM+?K?
+?O?G?RN,-?T:?":*?
+?^?dY?fS?k?q?~*?!?w?z?*+?~*?!???z?
*+??*?!???z?
*+??*?!???z?
*+??*?!???z?#*+???*?!???z?*??+????@GJZ@GJ\!Vs$v,w@zG~J{L|f}iv?{?????????????????????"HG*+L,-,?./@?0/ic*+?#$?1231$?dAd?
8ddg?U?&1?? rp?:*??=+??:?+????NR:?????N*?????:?+????N*?
,???dY+??SY-SYS?k?q?!F?????? ?'?2?8?B?E?M?\?i?l?o?"R 4/1524/p#$p6,p72M#4/l8/3L?'d??(8dd?(8d?(8dd&	67?? ?-+?ø?+?K?
+?O?G?RM,ʶ̙*?w+???!???$?,?" -#$-920/3
Ad?d&9?? w!+????,???ә*??+???!??? ?" !#$!92!:+3@&	9:?? w!+????,???ә*??+???!??? ?" !#$!92!:+3@&	9:?? w!+????,???ә*??+???!??? ?" !#$!92!:+3@&	9:?? ?-+?ø?+?K?
+?O?G?RM,ٶ̙*??+???!???$?,?" -#$-920/3
Ad?d&9
?? ?8+*????*???M,???,???UN-+?ә?????!?
??)?1?3?6?" )
;+8:+8<=>8<?3
?	??&	:<@ABC ?*+??+?!
??"#$D2&D
EF /*???!?"G+
HF /*???!?"G+
IF /*???!?"G+J ?r??????$?(Y?wSY??SY??SY??S??	?$??-??$???-??$???-??$?	?????????!B+,
1)2/859;@AAGCMDSFYH_IeJkKqFKLM2N2OUOWOY[bcf[bgf[bjfmB?np@(q@2?rt@?Uu?Uv?Uwxz|




© 2015 - 2024 Weber Informatics LLC | Privacy Policy