public final class Compiler
extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Compiler.CompileException
Compile Exception.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
getOperand()
Gets the operand.
|
Optional<OperationReference> |
nextReference()
Returns the next operation reference.
|
Optional<OperationReference> |
peekReference()
Peeks at the next operation reference.
|
@CheckReturnValue public Serializable getOperand()
@Nonnull public Optional<OperationReference> nextReference() throws Compiler.CompileException
Compiler.CompileException
- On compilation problem.peekReference()
@Nonnull @CheckReturnValue public Optional<OperationReference> peekReference() throws Compiler.CompileException
The returned reference has not been set up yet. It can be queried for
its position in the source and its operation. All calls to
nextReference()
or peekReference()
must be made during the
reference set up.
Compiler.CompileException
- On compilation problem.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.