result
public Type result()
Description copied from interface: Expr
Get the type that this expression will evaluate to. This type splits into
a nominal and raw component. The nominal component retains name
information and, as such, is incomplete. This means one should not use
the nominal component for subtype testing; rather it should only be used
for reporting information to the user (e.g. type errors, etc). The raw
component represents the fully expanded type, and can safely be used for
type testing. However, it can be rather long and cumbersome to read so
should not be reported to the user.
- Specified by:
result in interface Expr
- Returns: