Common assembler. @param Output type. @author Matt
| 12 | * @author Matt |
| 13 | */ |
| 14 | public interface Assembler<T> { |
| 15 | /** |
| 16 | * @param result |
| 17 | * AST parse result. |
| 18 | * |
| 19 | * @return Compiled value. |
| 20 | * |
| 21 | * @throws AssemblerException |
| 22 | * <ul> |
| 23 | * <li>When the given AST contains errors</li> |
| 24 | * <li>When the given AST is missing a definition</li> |
| 25 | * </ul> |
| 26 | */ |
| 27 | T compile(ParseResult<RootAST> result) throws AssemblerException; |
| 28 | } |
no outgoing calls
no test coverage detected