KotlinFile
data class KotlinFile(val annotationSets: List<Node.Modifier.AnnotationSet>, val packageDirective: Node.PackageDirective?, val importDirectives: List<Node.ImportDirective>, val declarations: List<Node.Declaration>, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.KotlinEntry, Node.WithDeclarations
AST node that represents whole Kotlin file. The node corresponds to KtFile.
Constructors
Link copied to clipboard
constructor(annotationSets: List<Node.Modifier.AnnotationSet>, packageDirective: Node.PackageDirective?, importDirectives: List<Node.ImportDirective>, declarations: List<Node.Declaration>, supplement: NodeSupplement = NodeSupplement())