InvalidLanguageVersion class abstract

An invalid language version.

Stored in a Package when the orginal language version string was invalid and a onError handler was passed to the parser which did not throw on an error.

Implemented types

Constructors

InvalidLanguageVersion()

Properties

hashCode int
The hash code for this object.
no setteroverride
major int
The value -1 for an invalid language version.
no setteroverride
minor int
The value -1 for an invalid language version.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(LanguageVersion other) int
Compares language versions.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
The original invalid version string.
override

Operators

operator ==(Object other) bool
An invalid language version is only equal to itself.
override