Uses of Class
com.google.javascript.jscomp.SourceFile.Builder
Packages that use SourceFile.Builder
-
Uses of SourceFile.Builder in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return SourceFile.BuilderModifier and TypeMethodDescriptionstatic SourceFile.Builder
SourceFile.builder()
Create a new builder for source files.SourceFile.Builder.setIsStubSourceFileForAlreadyProvidedInput()
Sets that this SourceFile is a stub file for an input that was already provided to the compiler in the form of TypedAST.SourceFile.Builder.withCharset
(Charset charset) Set the charset to use when reading from an input stream or file.SourceFile.Builder.withContent
(InputStream x) SourceFile.Builder.withContent
(String x) SourceFile.Builder.withKind
(StaticSourceFile.SourceKind kind) Set the source kind.SourceFile.Builder.withOriginalPath
(String originalPath) Sets a name for this source file that does not need to correspond to a path on disk.SourceFile.Builder.withZipEntryPath
(String zipPath, String entryPath)