Skip to content

class EnumType

Package: swiss.avm.up.core.generic.type.javamodel.EnumType

Direct Known Subclasses:


class EnumType extends EnumType, Type, AResourceWithType

An EnumType is an enumeration datatype defined in a DatatypeLibrary, with an underlying integer type and one or more named values. Interface data and local variables can be typed by it.

Properties

comment

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

name

The name of this Resource.

StringLiteral[1..1]

value

EnumValue[1..N]

value

EnumValue[1..N]

An EnumValue is a single named member of an EnumType, mapping a symbolic name to
an integer of the enum's underlying type.

Method Summary

accept

@FCodeSnippet

Parameters:

ValidatableTypeVisitorLiteral

Return:

Void

getEnumTypeName

@LibraryFunctionSpace