use of org.eclipse.titan.designer.AST.TTCN3.statements.Check_Catch_Statement in project titan.EclipsePlug-ins by eclipse.
the class Shorthand method process.
@Override
protected void process(final IVisitableNode node, final Problems problems) {
if (node instanceof Timeout_Statement) {
typename = NAME_TIMEOUT;
} else if (node instanceof Receive_Port_Statement) {
typename = NAME_RECEIVE;
} else if (node instanceof Trigger_Port_Statement) {
typename = NAME_TRIGGER;
} else if (node instanceof Getcall_Statement) {
typename = NAME_GETCALL;
} else if (node instanceof Catch_Statement) {
typename = NAME_CATCH;
} else if (node instanceof Check_Port_Statement) {
typename = NAME_CHECK;
} else if (node instanceof Check_Receive_Port_Statement) {
typename = NAME_CHECK_RECEIVE;
} else if (node instanceof Check_Getcall_Statement) {
typename = NAME_CHECK_GETCALL;
} else if (node instanceof Check_Catch_Statement) {
typename = NAME_CHECK_CATCH;
} else if (node instanceof Check_Getreply_Statement) {
typename = NAME_CHECK_GETREPLY;
} else if (node instanceof Getreply_Statement) {
typename = NAME_GETREPLY;
} else if (node instanceof Done_Statement) {
typename = NAME_DONE;
} else if (node instanceof Killed_Statement) {
typename = NAME_KILLED;
} else {
return;
}
final Statement s = (Statement) node;
check(s, problems);
}
Aggregations