}
private SequenceType createSequenceType(ASTNode type) throws SystemException {
switch (type.getTag()) {
case TYPE_DECLARATION: {
TypeDeclNode tDecl = (TypeDeclNode) type;
return createSequenceType(tDecl.getType());
}
case SEQUENCE_TYPE: {
SequenceTypeNode sType = (SequenceTypeNode) type;