
com.google.javascript.jscomp.deps.JsFileLineParser.class Maven / Gradle / Ivy
The newest version!
???? 3E
O ? N ? N ? ?
? ? N ? N ? N ? N ? ?
? N ?
? ?
! ?
! ? ? ?
! ?
! ? ?
?
?
?
! ?
N ? ?
? ? ? ? ? N ? N ? ?
?
? ? ? ? ? ?
? ?
? ? ?
?
? ? ?
, ?
! ?
! ? ?
! ?
? ? ? ?
? ?
? ?
! ? ?
? ?
? ?
? ?
? ?
! ? ?
N ? ?
? ? ? ? ? ? ? ? ? ? ?
? ? ?
?
? ParseException InnerClasses
PARSE_WARNING -Lcom/google/javascript/jscomp/DiagnosticType; PARSE_ERROR shortcutMode Z STRING_LITERAL_PATTERN Ljava/util/regex/Pattern; valueMatcher Ljava/util/regex/Matcher; filePath Ljava/lang/String; lineNum I errorManager +Lcom/google/javascript/jscomp/ErrorManager; parseSucceeded .(Lcom/google/javascript/jscomp/ErrorManager;)V Code LineNumberTable LocalVariableTable this 4Lcom/google/javascript/jscomp/deps/JsFileLineParser; setShortcutMode (Z)V mode didParseSucceed ()Z doParse %(Ljava/lang/String;Ljava/io/Reader;)V endOfComment endOfMultilineComment startOfLineComment startOfMultilineComment revisedLine e CLcom/google/javascript/jscomp/deps/JsFileLineParser$ParseException; Ljava/io/IOException; fileContents Ljava/io/Reader;
lineBuffer Ljava/io/BufferedReader; line inMultilineComment
StackMapTable ? ? ? ? parseLine (Ljava/lang/String;)Z
Exceptions
parseJsString &(Ljava/lang/String;)Ljava/lang/String; jsStringLiteral parseJsStringArray $(Ljava/lang/String;)Ljava/util/List; input results Ljava/util/List;
indexStart indexEnd innerValues LocalVariableTypeTable $Ljava/util/List; Signature 8(Ljava/lang/String;)Ljava/util/List; parseJsStringMap #(Ljava/lang/String;)Ljava/util/Map; key val Ljava/util/Map; done 5Ljava/util/Map;
I(Ljava/lang/String;)Ljava/util/Map; check (ZLjava/lang/String;)V condition message ()V
SourceFile JsFileLineParser.java RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; value java.io b ? U V W X
Y Z _ ` a V [ \ java/io/BufferedReader b ] ^ */ // /* java/lang/StringBuilder m ? ? Acom/google/javascript/jscomp/deps/JsFileLineParser$ParseException m T S R S java/lang/String !"#$ java/io/IOException Error reading file: %&
' m !Syntax error in JS String literal b() java/util/ArrayList*+* "Syntax error when parsing JS array,- m ./0 m1234 Missing comma in string array526789:;<=2 #Syntax error when parsing JS object ? ? java/util/LinkedHashMap Bad key in JS object literal "Missing value in JS object literal "Missing colon in JS object literal Bad value in JS object literal
>? "Missing comma in JS object literal DEPS_PARSE_WARNING {0}
{1}@A DEPS_PARSE_ERRORBA /\s*(?:'((?:\\'|[^'])*?)'|"((?:\\"|[^"])*?)")\s*CD 2com/google/javascript/jscomp/deps/JsFileLineParser java/lang/Object java/io/Reader )com/google/javascript/jscomp/ErrorManager 'com/google/javascript/jscomp/CheckLevel +com/google/javascript/jscomp/DiagnosticType java/util/List
java/util/Map java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; (Ljava/io/Reader;)V readLine ()Ljava/lang/String; indexOf (Ljava/lang/String;)I substring (I)Ljava/lang/String; (II)Ljava/lang/String; (Ljava/lang/String;I)I append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString isEmpty isFatal ERROR )Lcom/google/javascript/jscomp/CheckLevel; WARNING
getMessage $com/google/javascript/jscomp/JSError make |(Ljava/lang/String;IILcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError; report R(Lcom/google/javascript/jscomp/CheckLevel;Lcom/google/javascript/jscomp/JSError;)V java/util/regex/Matcher reset matches (Ljava/lang/String;Z)V group (I)I lastIndexOf trim lookingAt add (Ljava/lang/Object;)Z hitEnd end ()I charAt (I)C regionEnd region (II)Ljava/util/regex/Matcher; "com/google/common/base/CharMatcher
whitespace &()Lcom/google/common/base/CharMatcher; trimFrom ,(Ljava/lang/CharSequence;)Ljava/lang/String; length put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; warning S(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType; error compile -(Ljava/lang/String;)Ljava/util/regex/Pattern;! N O R S T S U V W X Y Z [ \ ] ^ _ ` a V
b c d _ *? *? *? ? ? *+? ? e ` 2 P a b f g h _ ` i j d > *? ? e
l m f g h k V l m d / *? ? e p f g h n o d ?
?*+? *? ?
Y,? N:*? 6-?
Y:?@*Y? `? :? '? 6? `? :6? :? ?? 6? 6? ?
? ? :? R? L`? 6 ? ? :6? )? Y? ? ? `? ? ? :???? ? *? ?
*? ? ? h??:*? ? ? ? ? ? +*? ? ? ? ? ? ? !Y? "SYS? #? $ **? ? ? ? ? ? ???? 9:*? ? +? ? !Y? Y? &? +? ? S? #? $ *? ? 3 ? fi % e ? 3 } ~
? ? ? ? ? ) ? 3 ? 7 ? <