ISpoofaxParseUnit

public interface ISpoofaxParseUnit extends IParseUnit

Spoofax-specific extension of a parse unit that adds an IStrategoTerm AST.

Methods

ast

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