
com.google.javascript.jscomp.SourceFile.class Maven / Gradle / Ivy
The newest version!
???? 3?
V
/
!"
#$%
&'(
)
*
+
,-
./
01
2
3
.4
56
-78
/
/9:
2;
4
4<=>=?@
9AB
C
DEF
4GH
@IJKL
D
M
PN
PO
PP
PQ
PR
PS
PT
PU
PVW
PXY
Z[ \]^_` AtUrl InnerClassesa OnDiskb Generatedc Preloaded Builderd Generator serialVersionUID J
ConstantValue UTF8_BOM Ljava/lang/String; SOURCE_EXCERPT_REGION_LENGTH I fileName isExternFile Z originalPath lineOffsets [I code DUPLICATE_ZIP_CONTENTS -Lcom/google/javascript/jscomp/DiagnosticType; (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this )Lcom/google/javascript/jscomp/SourceFile;
StackMapTable'e
getLineOffset (I)I lineno getNumLines ()I findLineOffsets ()V ii sourceLines [Ljava/lang/String; e Ljava/io/IOException; ?" resetLineOffsets getCode ()Ljava/lang/String;
Exceptions getCodeCharSource #()Lcom/google/common/io/CharSource; RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; value com.google.common.io.CharSource
getCodeReader ()Ljava/io/Reader; java.io.Reader getCodeNoCache 1Lcom/google/common/annotations/VisibleForTesting; setCode
sourceCode (Ljava/lang/String;Z)V
removeUtf8Bom getOriginalPath setOriginalPath clearCachedSource hasSourceInMemory ()Z getName isExtern setIsExtern (Z)V newVal getLineOfOffset insertionPoint offset search getColumnOfOffset line getLine (I)Ljava/lang/String;
lineNumber pos js getRegion ((I)Lcom/google/javascript/jscomp/Region; nextpos n last startLine end endLine toString fromZipFile >(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/util/List; zipEntry Ljava/util/zip/ZipEntry; entryName
zipEntries Ljava/util/Enumeration; zipFile Ljava/util/zip/ZipFile; zipName inputCharset Ljava/nio/charset/Charset; absoluteZipPath sourceFiles Ljava/util/List; LocalVariableTypeTable 2Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>; ;Ljava/util/List;fg;Hh@ Signature i(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/util/List; java.util.zip.ZipFile fromZipEntry {(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)Lcom/google/javascript/jscomp/SourceFile; originalZipPath entryPath zipEntryPath zipEntryUrl Ljava/net/URL;i java.net.URL fromFile W(Ljava/lang/String;Ljava/nio/charset/Charset;)Lcom/google/javascript/jscomp/SourceFile; c java.io.File =(Ljava/lang/String;)Lcom/google/javascript/jscomp/SourceFile; S(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/javascript/jscomp/SourceFile; file Ljava/io/File; 9(Ljava/io/File;)Lcom/google/javascript/jscomp/SourceFile; fromCode O(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/SourceFile; fromInputStream R(Ljava/lang/String;Ljava/io/InputStream;)Lcom/google/javascript/jscomp/SourceFile; s Ljava/io/InputStream;
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; java.io.InputStream l(Ljava/lang/String;Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lcom/google/javascript/jscomp/SourceFile; charset
fromReader M(Ljava/lang/String;Ljava/io/Reader;)Lcom/google/javascript/jscomp/SourceFile; r Ljava/io/Reader;
fromGenerator p(Ljava/lang/String;Lcom/google/javascript/jscomp/SourceFile$Generator;)Lcom/google/javascript/jscomp/SourceFile; generator 3Lcom/google/javascript/jscomp/SourceFile$Generator; builder 3()Lcom/google/javascript/jscomp/SourceFile$Builder;
SourceFile SourceFile.java x ? p q r k s t u kjkl "java/lang/IllegalArgumentException a source must have a name x y /m kenopq o k ? ? java/lang/StringBuilder #Expected line number between 1 and rsrt
Actual: ? ? ? ?
uvw ? java/io/IOExceptionxyz java/io/StringReader ? ? 'com/google/javascript/jscomp/SourceFile {l| ? ? ?}~??? ? ? ??|????? )com/google/javascript/jscomp/SimpleRegion x? java/io/File? ? java/util/ArrayList java/util/zip/ZipFile??h? ??? java/util/zip/ZipEntry ? ? .js?l ? ?g?o? ? java/lang/Throwable?? jar:file: !/ java/net/URL??????? ?? ?? ?? ?? ?? ? /com/google/javascript/jscomp/SourceFile$Builder JSC_DUPLICATE_ZIP_CONTENTS LTwo zip entries containing the same relative path.
Entry 1: {0}
Entry 2: {1}??? v w java/lang/Object ,com/google/javascript/rhino/StaticSourceFile java/io/Serializable -com/google/javascript/jscomp/SourceFile$AtUrl .com/google/javascript/jscomp/SourceFile$OnDisk 1com/google/javascript/jscomp/SourceFile$Generated 1com/google/javascript/jscomp/SourceFile$Preloaded 1com/google/javascript/jscomp/SourceFile$Generator java/lang/String java/nio/charset/Charset java/util/List java/util/Enumeration java/net/MalformedURLException com/google/common/base/Strings
isNullOrEmpty (Ljava/lang/String;)Z separator equals (Ljava/lang/Object;)Z replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; split ((Ljava/lang/String;I)[Ljava/lang/String; length com/google/common/io/CharSource wrap ;(Ljava/lang/CharSequence;)Lcom/google/common/io/CharSource;
startsWith substring java/util/Arrays binarySearch ([II)I java/lang/Math min (II)I indexOf (II)Ljava/lang/String; max charAt (I)C (IILjava/lang/String;)V getAbsolutePath entries ()Ljava/util/Enumeration; hasMoreElements nextElement ()Ljava/lang/Object; endsWith add close
addSuppressed (Ljava/lang/Throwable;)V withCharset M(Ljava/nio/charset/Charset;)Lcom/google/javascript/jscomp/SourceFile$Builder; withOriginalPath E(Ljava/lang/String;)Lcom/google/javascript/jscomp/SourceFile$Builder; buildFromUrl 9(Ljava/net/URL;)Lcom/google/javascript/jscomp/SourceFile;
buildFromFile
buildFromCode buildFromInputStream buildFromReader buildFromGenerator +com/google/javascript/jscomp/DiagnosticType warning S(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType; ! V W X e f g h j k g ! l m g n o k p q r k s t u k v w $ x y z ? J*? *? *? *? *? +? ?
? Y? ?
? ? ? *+?
?
? ? *+? ? { . d I P S U e f ) i 4 j D l I n | J } ~ J o k ? ) ? ? ? ? z ? C*? ? *? ?? +? Y? Y? ? *? ?? ? ? ? ? ?*? d.? { r s t : x | C } ~ C ? m ' ? ? z 8
*? *? ?? {
} ~ |
} ~ ? ? z ? U*? ? ?*? ? L*+??
? =+?? "*? *? d.+d2? ``O???ާ L*?
? *? O? B E { 6
? ? ? ? ? # ? 5 ? <