KotlinScript

data class KotlinScript(val annotationSets: List<Node.Modifier.AnnotationSet>, val packageDirective: Node.PackageDirective?, val importDirectives: List<Node.ImportDirective>, val expressions: List<Node.Expression>, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.KotlinEntry

Constructors

Link copied to clipboard
constructor(annotationSets: List<Node.Modifier.AnnotationSet>, packageDirective: Node.PackageDirective?, importDirectives: List<Node.ImportDirective>, expressions: List<Node.Expression>, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard

list of annotation sets.

Link copied to clipboard

list of expressions.

Link copied to clipboard

list of import directives.

Link copied to clipboard

package directive if exists, otherwise null.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.