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
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
left parenthesis of the value arguments if exists, otherwise null
.
Link copied to clipboard
list of modifiers.
Link copied to clipboard
name of the enum entry.
Link copied to clipboard
right parenthesis of the value arguments if exists, otherwise null
.
Link copied to clipboard
Supplemental data for the node.