ISpoofaxTransformUnit

public interface ISpoofaxTransformUnit<I extends IUnit> extends ITransformUnit<I>

Spoofax-specific extension of an ITransformUnit that adds an String AST.

Parameters:
  • <I> – Type of input unit.

Methods

ast

IStrategoTerm ast()
Returns:Transformed AST, or null if valid() return false. If success() returns false, this AST may still represent an error recovered AST.

outputs

Iterable<? extends ISpoofaxTransformOutput> outputs()