ImportDirective

data class ImportDirective(val names: List<Node.Expression.NameExpression>, val aliasName: Node.Expression.NameExpression?, val supplement: NodeSupplement = NodeSupplement()) : Node

AST node that represents an import directive. The node corresponds to KtImportDirective.

Constructors

Link copied to clipboard
constructor(names: List<Node.Expression.NameExpression>, aliasName: Node.Expression.NameExpression?, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard

import alias name if exists, otherwise null.

Link copied to clipboard

list of names separated by dots.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.