Annotation
data class Annotation(val type: Node.Type.SimpleType, val lPar: Node.Keyword.LPar?, val arguments: List<Node.ValueArgument>, val rPar: Node.Keyword.RPar?, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.WithValueArguments
AST node that represents an annotation. The node corresponds to KtAnnotationEntry under KtAnnotation or a part of KtAnnotationEntry not under KtAnnotation.
Constructors
Link copied to clipboard
constructor(type: Node.Type.SimpleType, lPar: Node.Keyword.LPar?, arguments: List<Node.ValueArgument>, rPar: Node.Keyword.RPar?, supplement: NodeSupplement = NodeSupplement())
Properties
Link copied to clipboard
list of value arguments.
Link copied to clipboard
left parenthesis of the value arguments if exists, otherwise null.
Link copied to clipboard
right parenthesis of the value arguments if exists, otherwise null.
Link copied to clipboard
Supplemental data for the node.
Link copied to clipboard
type of this annotation.