Enum

gql.ast$.Enum
final case class Enum[A](name: String, mappings: NonEmptyList[(String, EnumValue[_ <: A])], description: Option[String]) extends OutToplevel[Pure, A], InToplevel[A]

Attributes

Source
ast.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait InToplevel[A]
trait In[A]
trait OutToplevel[Pure, A]
trait Toplevel[Pure, A]
trait Out[Pure, A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def document(description: String): Enum[A]

Attributes

Source
ast.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

lazy val kv: NonEmptyList[(String, A)]

Attributes

Source
ast.scala
lazy val m: Type[String, A]

Attributes

Source
ast.scala
lazy val revm: Map[A, String]

Attributes

Source
ast.scala