EnumEntry

data class EnumEntry(    val modifiers: List<Node.Modifier>,     val name: Node.Expression.NameExpression,     val lPar: Node.Keyword.LPar?,     val arguments: List<Node.ValueArgument>,     val rPar: Node.Keyword.RPar?,     val classBody: Node.Declaration.ClassOrObject.ClassBody?,     val supplement: NodeSupplement = NodeSupplement()) : Node, Node.WithModifiers, Node.WithValueArguments

AST node that represents an enum entry. The node corresponds to KtEnumEntry.

Constructors

Link copied to clipboard
constructor(    modifiers: List<Node.Modifier>,     name: Node.Expression.NameExpression,     lPar: Node.Keyword.LPar?,     arguments: List<Node.ValueArgument>,     rPar: Node.Keyword.RPar?,     classBody: Node.Declaration.ClassOrObject.ClassBody?,     supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard

list of annotation sets.

Link copied to clipboard
open override val arguments: List<Node.ValueArgument>

list of value arguments of the enum entry.

Link copied to clipboard

class body of the enum entry if exists, otherwise null.

Link copied to clipboard
open override val lPar: Node.Keyword.LPar?

left parenthesis of the value arguments if exists, otherwise null.

Link copied to clipboard
open override val modifiers: List<Node.Modifier>

list of modifiers.

Link copied to clipboard

name of the enum entry.

Link copied to clipboard
open override val rPar: Node.Keyword.RPar?

right parenthesis of the value arguments if exists, otherwise null.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.