Class ScriptNodeDeserializer


  • @GwtIncompatible("protobuf.lite")
    public final class ScriptNodeDeserializer
    extends java.lang.Object
    Class that deserializes an AstNode-tree representing a SCRIPT into a Node-tree.

    This process depends on other information from the TypedAST format, but the output it limited to only a single SCRIPT. The other deserialized content must be provided beforehand.

    • Constructor Detail

      • ScriptNodeDeserializer

        public ScriptNodeDeserializer​(com.google.javascript.jscomp.serialization.LazyAst ast,
                                      StringPool stringPool,
                                      ColorPool.ShardView colorPoolShard,
                                      com.google.common.collect.ImmutableList<SourceFile> filePool)
    • Method Detail

      • deserializeNew

        public Node deserializeNew()