public final class PostOrderSerializer
extends java.lang.Object
| Constructor and Description |
|---|
PostOrderSerializer(SerializerConstantPool cp)
Constructs a new deserializer using a custom
SerializerConstantPool implementation. |
public PostOrderSerializer(SerializerConstantPool cp)
SerializerConstantPool implementation.
For the SerializerConstantPool implementation at least the following methods must be
implemented:
public byte[] serialize(Node node) throws UnsupportedConstantPoolTypeException
node - the root node that represents the Truffle AST that should be serialized.UnsupportedConstantPoolTypeException - thrown if a type is encountered that is not
supported by the constant pool implementation.