use of de.be4.classicalb.core.parser.node.AIdentifierExpression in project prob2 by bendisposto.
the class DependencyWalker method registerMachineNames.
private void registerMachineNames(final List<PExpression> machineNames, final ERefType depType) {
for (final PExpression machineName : machineNames) {
if (machineName instanceof AIdentifierExpression) {
final AIdentifierExpression identifier = (AIdentifierExpression) machineName;
final String dest = extractMachineName(identifier.getIdentifier());
// TODO test this
addMachine(dest, depType == ERefType.USES ? dest : prefix, depType);
}
}
}
Aggregations