Package org.qbicc.machine.tool
Interface ToolInvoker
- All Known Subinterfaces:
CCompilerInvoker,LinkerInvoker,MessagingToolInvoker
public interface ToolInvoker
An invoker for an external program such as a compiler or linker.
-
Method Summary
-
Method Details
-
getTool
Tool getTool()Get the tool corresponding to the invoker.- Returns:
- the tool (not
null)
-
getPath
Path getPath()Get the path of the program that was run.- Returns:
- the path (not
null)
-
invoke
Invoke the program.- Throws:
IOException- if program invocation failed for some reason
-