class

OpenGLBindingGenerator::Intermediate::EnumValue

Inherits Reference < Object

A single enum and its value.

Constructors

new(name : String, comment : Nil | String, api : Nil | String, alternate_name : Nil | String, groups : Array(String) = [] of String)

Creates the enum value.

Source

Instance methods

alternate_name

Alias of the name.

Source
alternate_name?

Alias of the name.

Source
api

API the enum is a part of.

Source
api?

API the enum is a part of.

Source
comment

Optional comment describing the value.

Source
comment?

Optional comment describing the value.

Source
crystalize

Creates a Crystal representation of the enum value.

Source
crystalize_alias

Creates a Crystal representation of the enum value with the alias.

Source
crystalize_constant

Creates a Crystal representation as a constant.

Source
crystalize_constant_alias

Creates a Crystal representation as a constant with the alias.

Source
groups

Groups the enum value is a part of.

Source
name

Name of the enum value.

Source
value

Integer value.

Source
value_string

Integer value as a string.

Source