Class JavacParser
java.lang.Object
com.google.j2cl.transpiler.frontend.javac.JavacParser
A delegator of Javac ASTParser that provides a more convenient interface for parsing source files
into compilation unit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.j2cl.transpiler.ast.LibraryparseFiles(com.google.j2cl.transpiler.frontend.common.FrontendOptions options) Returns a map from file paths to compilation units after Javac parsing.
-
Constructor Details
-
JavacParser
public JavacParser(com.google.j2cl.common.Problems problems)
-
-
Method Details
-
parseFiles
@Nullable public com.google.j2cl.transpiler.ast.Library parseFiles(com.google.j2cl.transpiler.frontend.common.FrontendOptions options) Returns a map from file paths to compilation units after Javac parsing.
-