Implemented getASTType () for descendants of ASTbase