Class Type::TypeMention

A type mention, that is, any mention of a type in a source code file. For example, int is mentioned in int M() { return 1; }.

Direct supertypes

Indirect supertypes

Known direct subtypes

Fields

Predicates

getLocation

Gets the location of this type mention.

getParent

Gets the parent of this type mention, if any. For example, the parent of int is IEnumerable<int> in

getTarget

Gets the element to which this type mention belongs, if any. For example, IEnumerable<int> belongs to parameter p in

getType

Gets the type being mentioned.

toString

Gets a textual representation of this type mention.

Charpred