Class SerializeTypedAstPass
- java.lang.Object
-
- com.google.javascript.jscomp.serialization.SerializeTypedAstPass
-
- All Implemented Interfaces:
CompilerPass
public final class SerializeTypedAstPass extends java.lang.Object implements CompilerPass
A compiler pass intended to serialize the types in the AST.Under construction. Do not use!
-
-
Constructor Summary
Constructors Constructor Description SerializeTypedAstPass(AbstractCompiler compiler, SerializationOptions serializationOptions, java.nio.file.Path outputPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(Node externs, Node root)Process the JS with root node root.
-
-
-
Constructor Detail
-
SerializeTypedAstPass
public SerializeTypedAstPass(AbstractCompiler compiler, SerializationOptions serializationOptions, java.nio.file.Path outputPath)
-
-
Method Detail
-
process
public void process(Node externs, Node root)
Description copied from interface:CompilerPassProcess the JS with root node root. Can modify the contents of each Node tree- Specified by:
processin interfaceCompilerPass- Parameters:
externs- Top of external JS treeroot- Top of JS tree
-
-