Lines Matching defs:ApiLevel
40 type ApiLevel struct { struct
42 value string
51 number int
54 isPreview bool
63 func (a *ApiLevel) ToGob() *apiLevelGob {
71 func (a *ApiLevel) FromGob(data *apiLevelGob) {
77 func (a ApiLevel) GobEncode() ([]byte, error) {
81 func (a *ApiLevel) GobDecode(data []byte) error {
85 func (this ApiLevel) FinalInt() int {
96 func (this ApiLevel) FinalOrFutureInt() int {
112 func (this ApiLevel) FinalOrPreviewInt() int {
128 func (this ApiLevel) String() string {
133 func (this ApiLevel) IsPreview() bool {
138 func (this ApiLevel) IsInvalid() bool {
150 func (this ApiLevel) IsCurrent() bool {
154 func (this ApiLevel) IsNone() bool {
160 func (this ApiLevel) IsPrivate() bool {
167 func (l ApiLevel) EffectiveVersion(ctx EarlyModuleContext) (ApiLevel, error) {
184 func (l ApiLevel) EffectiveVersionString(ctx EarlyModuleContext) (string, error) {
220 func (this ApiLevel) Specified() bool {
226 func (this ApiLevel) CompareTo(other ApiLevel) int {
242 func (this ApiLevel) EqualTo(other ApiLevel) bool {
246 func (this ApiLevel) GreaterThan(other ApiLevel) bool {
250 func (this ApiLevel) GreaterThanOrEqualTo(other ApiLevel) bool {
254 func (this ApiLevel) LessThan(other ApiLevel) bool {
258 func (this ApiLevel) LessThanOrEqualTo(other ApiLevel) bool {