Package-level declarations
Types
The main entry point for the ktcodeshift API.
A collection of nodes filtered under the root node.
Context for a node.
Properties
Functions
Creates a new Node.Expression.AnnotatedExpression instance.
Creates a new Node.Modifier.AnnotationSet.Annotation instance.
Creates a new Node.Modifier.AnnotationSet instance.
Creates a new Node.Expression.AnonymousFunctionExpression instance.
Creates a new Node.Expression.BinaryExpression instance.
Creates a new Node.Expression.BinaryTypeExpression instance.
Creates a new Node.Expression.BlockExpression instance.
Creates a new Node.Expression.BooleanLiteralExpression instance.
Creates a new Node.Expression.BreakExpression instance.
Creates a new Node.Expression.CallableReferenceExpression instance.
Creates a new Node.Expression.CallExpression instance.
Creates a new Node.Expression.TryExpression.CatchClause instance.
Creates a new Node.Expression.CharacterLiteralExpression instance.
Creates a new Node.Declaration.ClassDeclaration instance.
Creates a new Node.Expression.ClassLiteralExpression instance.
Creates a new Node.Expression.CollectionLiteralExpression instance.
Creates a new Node.Expression.WhenExpression.ConditionalWhenBranch instance.
Creates a new Node.Declaration.ClassOrObject.ConstructorClassParent instance.
Creates a new Node.ContextReceiver instance.
Creates a new Node.Expression.ContinueExpression instance.
Creates a new Node.PostModifier.Contract instance.
Creates a new Node.Declaration.ClassOrObject.DelegationClassParent instance.
Creates a new Node.Statement.DoWhileStatement instance.
Creates a new Node.Type.DynamicType instance.
Creates a new Node.Expression.WhenExpression.ElseWhenBranch instance.
Creates a new Node.Declaration.ClassOrObject.ClassBody.EnumEntry instance.
Creates a new Node.Expression.StringLiteralExpression.EscapeStringEntry instance.
Creates a new Node.Expression.WhenExpression.ExpressionWhenCondition instance.
Returns NodeCollection of all nodes of type T under this node.
Creates a new Node.Statement.ForStatement instance.
Creates a new Node.Declaration.FunctionDeclaration instance.
Creates a new Node.FunctionParameter instance.
Creates a new Node.Type.FunctionType instance.
Creates a new Node.Type.FunctionType.FunctionTypeParameter instance.
Creates a new Node.Declaration.PropertyDeclaration.Getter instance.
Creates a new Node.Expression.IfExpression instance.
Creates a new Node.ImportDirective instance.
Creates a new Node.Expression.IndexedAccessExpression instance.
Creates a new Node.Declaration.ClassOrObject.ClassBody.Initializer instance.
Creates a new Node.Expression.IntegerLiteralExpression instance.
Creates a new Node.KotlinFile instance.
Creates a new Node.KotlinScript instance.
Creates a new Node.Expression.LabeledExpression instance.
Creates a new Node.Expression.LambdaExpression instance.
Creates a new Node.LambdaParameter instance.
Creates a new Node.Expression.StringLiteralExpression.LiteralStringEntry instance.
Creates a new Node.Expression.NameExpression instance.
Creates a new Node.Type.NullableType instance.
Creates a new Node.Expression.NullLiteralExpression instance.
Creates a new Node.Declaration.ObjectDeclaration instance.
Creates a new Node.Expression.ObjectLiteralExpression instance.
Creates a new Node.PackageDirective instance.
Creates a new Node.Expression.ParenthesizedExpression instance.
Creates a new Node.Type.ParenthesizedType instance.
Creates a new Node.Expression.PostfixUnaryExpression instance.
Creates a new Node.Expression.PrefixUnaryExpression instance.
Creates a new Node.Declaration.ClassDeclaration.PrimaryConstructor instance.
Creates a new Node.Declaration.PropertyDeclaration instance.
Creates a new Node.Expression.WhenExpression.RangeWhenCondition instance.
Creates a new Node.Expression.RealLiteralExpression instance.
Creates a new Node.Expression.ReturnExpression instance.
Creates a new Node.Declaration.ClassOrObject.ClassBody.SecondaryConstructor instance.
Creates a new Node.Declaration.PropertyDeclaration.Setter instance.
Creates a new Node.Type.SimpleType instance.
Creates a new Node.Type.SimpleType.SimpleTypeQualifier instance.
Creates a new Node.Expression.StringLiteralExpression instance.
Creates a new Node.Expression.SuperExpression instance.
Creates a new Node.Expression.StringLiteralExpression.TemplateStringEntry instance.
Creates a new Node.Expression.ThisExpression instance.
Creates a new Node.Expression.ThrowExpression instance.
Creates a new Node.Extra.TrailingComma instance.
Defines the transform function. This function will be called for each target file.
Creates a new Node.Expression.TryExpression instance.
Creates a new Node.Declaration.TypeAliasDeclaration instance.
Creates a new Node.TypeArgument instance.
Creates a new Node.Declaration.ClassOrObject.TypeClassParent instance.
Creates a new Node.PostModifier.TypeConstraintSet.TypeConstraint instance.
Creates a new Node.PostModifier.TypeConstraintSet instance.
Creates a new Node.TypeParameter instance.
Creates a new Node.Expression.WhenExpression.TypeWhenCondition instance.
Creates a new Node.ValueArgument instance.
Creates a new Node.Expression.WhenExpression instance.
Creates a new Node.Expression.WhenExpression.WhenSubject instance.
Creates a new Node.Statement.WhileStatement instance.
Creates a new Node.Extra.Whitespace instance.