public class IsaPrimitiveBuilder
extends java.lang.Object
IsaPrimitiveBuilder class is responsible for creating and initializing
instances of nML primitives (addressing modes and operations).| Constructor and Description |
|---|
IsaPrimitiveBuilder(IsaPrimitiveInfoAnd info)
Creates a builder for a primitive described with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
IsaPrimitive |
build()
Returns an primitive (addressing mode or operation) created by the builder.
|
LocationAccessor |
setArgument(java.lang.String name,
java.math.BigInteger value)
Initializes the specified argument with an integer value.
|
void |
setArgument(java.lang.String name,
IsaPrimitive value) |
public IsaPrimitiveBuilder(IsaPrimitiveInfoAnd info)
info - Information on the primitive to be built.public LocationAccessor setArgument(java.lang.String name, java.math.BigInteger value) throws ConfigurationException
name - Argument name.value - Argument integer value.ConfigurationExceptionpublic void setArgument(java.lang.String name,
IsaPrimitive value)
throws ConfigurationException
ConfigurationExceptionpublic IsaPrimitive build() throws ConfigurationException
ConfigurationException - Exception that informs of an error that occurs on attempt to
build an object due to incorrect configuration.