public final class IgSubprogramMapper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ru.ispras.fortress.expression.StandardOperation |
getOperationCode(java.lang.String opName)
Gets operation code of the operation with the specified name.
|
static boolean |
hasOperation(java.lang.String operation)
Checks whether operation is supported.
|
public static boolean hasOperation(java.lang.String operation)
operation
- Operation identifier.true
if operation is supported, true
otherwise.java.lang.IllegalArgumentException
- when argument is null
.public static ru.ispras.fortress.expression.StandardOperation getOperationCode(java.lang.String opName)
opName
- Operation name.java.lang.IllegalArgumentException
- when argument is null
.java.lang.UnsupportedOperationException
- when IgSubprogramMapper
does not contain an operation with the specified string name.