public final class BitVectorOpCodeMapper
extends java.lang.Object
Mapping for transforming operation codes for logic types
into operation codes for bit vector.
Mapping is used at VHDL expressions elaboration in
VhdlParser
component.
Modifier and Type | Method and Description |
---|---|
static ru.ispras.fortress.expression.StandardOperation |
getOperation(ru.ispras.fortress.expression.StandardOperation operation)
Gets bit vector analogous operation code of the specified operation code.
|
static boolean |
hasOperation(ru.ispras.fortress.expression.StandardOperation operationId)
Checks whether operation is supported.
|
public static boolean hasOperation(ru.ispras.fortress.expression.StandardOperation operationId)
operationId
- Identifier for the checked operation.true
if operation is supported, false
otherwise.java.lang.IllegalArgumentException
- when argument is null
.public static ru.ispras.fortress.expression.StandardOperation getOperation(ru.ispras.fortress.expression.StandardOperation operation)
operation
- Identifier for the operation.java.lang.IllegalArgumentException
- when argument is null
.