Will return true if type can be cast to this type. Note: This is similar to Java isInstance and isAssignableFrom.
type
isInstance
isAssignableFrom
@override bool acceptsType(ASTType type) { if (type == this) return true; return false; }