Class StringPool
- java.lang.Object
-
- com.google.javascript.jscomp.serialization.StringPool
-
@Immutable public final class StringPool extends java.lang.Object
Aggregates strings into aStringPool
The zeroth offset in the string pool is always the empty string. This is validated inside
TypedAstDeserializer
.This implies default/unset/0-valued uuint32 StringPool pointers in protos are equivalent to the empty string.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringPool
empty()
-
-
-
Method Detail
-
empty
public static StringPool empty()
-
-