Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addDefinedSymbol(String) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Define a symbol to the C compiler to "1".
- addDefinedSymbol(String, String) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Define a symbol to the C compiler.
- addIncludePath(Path) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Add an include path.
- addIncludePaths(Iterable<Path>) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Add all the given include paths.
- addLibraries(Iterable<String>) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- addLibrary(String) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- addLibraryPath(Path) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- addLibraryPaths(Iterable<Path>) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- addObjectFile(Path) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- addObjectFiles(Iterable<Path>) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- ASM - Enum constant in enum class org.qbicc.machine.tool.CCompilerInvoker.SourceLanguage
C
- C - Enum constant in enum class org.qbicc.machine.tool.CCompilerInvoker.SourceLanguage
- CCompilerInvoker - Interface in org.qbicc.machine.tool
-
An invoker for a C compiler.
- CCompilerInvoker.SourceLanguage - Enum Class in org.qbicc.machine.tool
- compareVersionTo(String) - Method in interface org.qbicc.machine.tool.Tool
-
Compare the version of this tool to the given version, using the tool's version scheme.
- CompilationFailureException - Exception in org.qbicc.machine.tool
-
An exception thrown when a compilation process executes but exits with a non-zero status.
- CompilationFailureException() - Constructor for exception org.qbicc.machine.tool.CompilationFailureException
-
Constructs a new
CompilationFailureExceptioninstance. - CompilationFailureException(String) - Constructor for exception org.qbicc.machine.tool.CompilationFailureException
-
Constructs a new
CompilationFailureExceptioninstance with an initial message. - CompilationFailureException(String, Throwable) - Constructor for exception org.qbicc.machine.tool.CompilationFailureException
-
Constructs a new
CompilationFailureExceptioninstance with an initial message and cause. - CompilationFailureException(Throwable) - Constructor for exception org.qbicc.machine.tool.CompilationFailureException
-
Constructs a new
CompilationFailureExceptioninstance with an initial cause. - CToolChain - Interface in org.qbicc.machine.tool
D
- DEBUG - Enum constant in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
- discarding() - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that efficiently discards the input.
- DISCARDING - Static variable in interface org.qbicc.machine.tool.ToolMessageHandler
E
- empty() - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which is empty.
- ERROR - Enum constant in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
F
- findAllCToolChains(Platform, Predicate<? super CToolChain>, ClassLoader) - Static method in interface org.qbicc.machine.tool.CToolChain
- findAllTools(Class<T>, Platform, Predicate<? super T>, ClassLoader, List<Path>) - Static method in interface org.qbicc.machine.tool.ToolProvider
- findExecutable(String) - Static method in class org.qbicc.machine.tool.ToolUtil
- findExecutable(String, List<Path>) - Static method in class org.qbicc.machine.tool.ToolUtil
- findExecutableOnPath(String, List<Path>) - Static method in class org.qbicc.machine.tool.ToolUtil
- findTools(Class<T>, Platform, Path) - Method in interface org.qbicc.machine.tool.ToolProvider
-
Try to find a tool provider which responds to the given executable path.
- from(ExceptionBiConsumer<T, OutputStream, IOException>, T) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the output of the given consumer.
- from(ExceptionBiConsumer<T, Writer, IOException>, T, Charset) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the output of the given consumer, using the given character set for byte-encoded destinations.
- from(ExceptionConsumer<OutputStream, IOException>) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the output of the given consumer.
- from(ExceptionConsumer<Writer, IOException>, Charset) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the output of the given consumer, using the given character set for byte-encoded destinations.
- from(ExceptionFunction<T, InputStream, IOException>, T) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the given supplier.
- from(ExceptionFunction<T, Reader, IOException>, T, Charset) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from a
Readerprovided by the given supplier, using the given character set for byte-encoded destinations. - from(ExceptionSupplier<InputStream, IOException>) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the given supplier.
- from(ExceptionSupplier<Reader, IOException>, Charset) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from a
Readerprovided by the given supplier, using the given character set for byte-encoded destinations. - from(File) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the given file path.
- from(CharSequence) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the given string, using UTF-8 for byte-encoded destinations.
- from(CharSequence, Charset) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the given string, using the given character set for byte-encoded destinations.
- from(Path) - Static method in class org.qbicc.machine.tool.process.InputSource
-
An input source which provides input from the given file path.
G
- getDefinedSymbol(int) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Get the defined symbol at the given index.
- getDefinedSymbolCount() - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Get the number of defined symbols.
- getDefinedSymbolValue(int) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Get the defined symbol value.
- getImplementationName() - Method in interface org.qbicc.machine.tool.Tool
- getIncludePath(int) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Get the include path at the given index.
- getIncludePathCount() - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Get the number of include paths defined.
- getIsPie() - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getLibrary(int) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getLibraryCount() - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getLibraryPath(int) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getLibraryPathCount() - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getMessageHandler() - Method in interface org.qbicc.machine.tool.MessagingToolInvoker
-
Get the currently set message handler for this invoker.
- getObjectFile(int) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getObjectFileCount() - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getOutputPath() - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Get the object file output path.
- getOutputPath() - Method in interface org.qbicc.machine.tool.LinkerInvoker
- getPath() - Method in interface org.qbicc.machine.tool.ToolInvoker
-
Get the path of the program that was run.
- getPlatform() - Method in interface org.qbicc.machine.tool.Tool
-
Get the platform that this tool instance is configured for.
- getSource() - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Get the input source for the C program.
- getSourceLanguage() - Method in interface org.qbicc.machine.tool.CCompilerInvoker
- getTool() - Method in interface org.qbicc.machine.tool.ToolInvoker
-
Get the tool corresponding to the invoker.
- getToolName() - Method in interface org.qbicc.machine.tool.CToolChain
- getToolName() - Method in interface org.qbicc.machine.tool.Tool
- getVersion() - Method in interface org.qbicc.machine.tool.Tool
-
Get the tool version as a string.
H
- handleMessage(ToolInvoker, ToolMessageHandler.Level, String, int, int, String) - Method in interface org.qbicc.machine.tool.ToolMessageHandler
I
- INFO - Enum constant in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
- InputSource - Class in org.qbicc.machine.tool.process
-
A reusable source for input.
- invoke() - Method in interface org.qbicc.machine.tool.ToolInvoker
-
Invoke the program.
L
- LinkerInvoker - Interface in org.qbicc.machine.tool
-
An invoker for a linker.
M
- max(ToolMessageHandler.Level) - Method in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
- MessagingToolInvoker - Interface in org.qbicc.machine.tool
-
A tool invoker which invokes a tool that produces messages.
- min(ToolMessageHandler.Level) - Method in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
N
- newCompilerInvoker() - Method in interface org.qbicc.machine.tool.CToolChain
- newLinkerInvoker() - Method in interface org.qbicc.machine.tool.CToolChain
O
- of(ExceptionBiConsumer<T, InputStream, IOException>, T) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that calls the given consumer with an input stream.
- of(ExceptionBiConsumer<T, Reader, IOException>, T, Charset) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that calls the given consumer with a reader.
- of(ExceptionConsumer<InputStream, IOException>) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that calls the given consumer with an input stream.
- of(ExceptionConsumer<Reader, IOException>, Charset) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that calls the given consumer with a reader.
- of(ExceptionFunction<T, OutputStream, IOException>, T) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that writes to an output stream provided by the given supplier.
- of(ExceptionFunction<T, Appendable, IOException>, T, Charset) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that writes to an appendable provided by the given supplier.
- of(ExceptionFunction<T, ProcessBuilder, IOException>, T, OutputDestination, OutputDestination) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that pipes into a process.
- of(ExceptionFunction<T, ProcessBuilder, IOException>, T, OutputDestination, OutputDestination, ExceptionConsumer<Process, IOException>) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that pipes into a process.
- of(ExceptionSupplier<OutputStream, IOException>) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that writes to an output stream provided by the given supplier.
- of(ExceptionSupplier<Appendable, IOException>, Charset) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that writes to an appendable provided by the given supplier.
- of(ExceptionSupplier<ProcessBuilder, IOException>, OutputDestination, OutputDestination) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that pipes into a process.
- of(ExceptionSupplier<ProcessBuilder, IOException>, OutputDestination, OutputDestination, ExceptionConsumer<Process, IOException>) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that pipes into a process.
- of(Appendable) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that writes to the given
Appendable. - of(Appendable, Charset) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that writes to the given
Appendable. - of(ProcessBuilder, OutputDestination, OutputDestination) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that pipes into a process.
- of(ProcessBuilder, OutputDestination, OutputDestination, ExceptionConsumer<Process, IOException>) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that pipes into a process.
- of(Path) - Static method in class org.qbicc.machine.tool.process.OutputDestination
-
An output destination that writes to a file on the filesystem.
- org.qbicc.machine.tool - package org.qbicc.machine.tool
- org.qbicc.machine.tool.process - package org.qbicc.machine.tool.process
- OS_PATH - Static variable in class org.qbicc.machine.tool.ToolUtil
- OutputDestination - Class in org.qbicc.machine.tool.process
-
A destination to send input to.
R
- reporting(CompilationContext) - Static method in interface org.qbicc.machine.tool.ToolMessageHandler
S
- setIsPie(boolean) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- setMessageHandler(ToolMessageHandler) - Method in interface org.qbicc.machine.tool.MessagingToolInvoker
-
Set the message handler for this invoker.
- setOutputPath(Path) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Set the object file output path.
- setOutputPath(Path) - Method in interface org.qbicc.machine.tool.LinkerInvoker
- setSource(InputSource) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
-
Set the input source for the C program.
- setSourceLanguage(CCompilerInvoker.SourceLanguage) - Method in interface org.qbicc.machine.tool.CCompilerInvoker
T
- Tool - Interface in org.qbicc.machine.tool
-
An invokable tool which may support specific target environments.
- ToolExecutionFailureException - Exception in org.qbicc.machine.tool
- ToolExecutionFailureException() - Constructor for exception org.qbicc.machine.tool.ToolExecutionFailureException
-
Constructs a new
ToolExecutionFailureExceptioninstance. - ToolExecutionFailureException(String) - Constructor for exception org.qbicc.machine.tool.ToolExecutionFailureException
-
Constructs a new
ToolExecutionFailureExceptioninstance with an initial message. - ToolExecutionFailureException(String, Throwable) - Constructor for exception org.qbicc.machine.tool.ToolExecutionFailureException
-
Constructs a new
ToolExecutionFailureExceptioninstance with an initial message and cause. - ToolExecutionFailureException(Throwable) - Constructor for exception org.qbicc.machine.tool.ToolExecutionFailureException
-
Constructs a new
ToolExecutionFailureExceptioninstance with an initial cause. - ToolInvoker - Interface in org.qbicc.machine.tool
-
An invoker for an external program such as a compiler or linker.
- ToolMessageHandler - Interface in org.qbicc.machine.tool
- ToolMessageHandler.Level - Enum Class in org.qbicc.machine.tool
- ToolProvider - Interface in org.qbicc.machine.tool
- ToolUtil - Class in org.qbicc.machine.tool
- toString() - Method in class org.qbicc.machine.tool.process.InputSource
- transferTo(OutputDestination) - Method in class org.qbicc.machine.tool.process.InputSource
-
Execute a transfer of this source to the given destination.
V
- valueOf(String) - Static method in enum class org.qbicc.machine.tool.CCompilerInvoker.SourceLanguage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.qbicc.machine.tool.CCompilerInvoker.SourceLanguage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARNING - Enum constant in enum class org.qbicc.machine.tool.ToolMessageHandler.Level
All Classes and Interfaces|All Packages|Serialized Form