// Generated by alef. Do not edit by hand.
@file:Suppress(
    "ktlint:standard:trailing-comma-on-call-site",
    "ktlint:standard:trailing-comma-on-declaration-site",
    "ktlint:standard:spacing-between-declarations-with-comments",
    "ktlint:standard:spacing-between-declarations-with-annotations",
    "ktlint:standard:when-entry-bracing",
    "ktlint:standard:blank-line-between-when-conditions",
    "ktlint:standard:blank-line-before-declaration",
    "ktlint:standard:chain-method-continuation",
    "ktlint:standard:annotation",
    "ktlint:standard:max-line-length",
    "ktlint:standard:no-semi",
    "ktlint:standard:statement-wrapping",
    "MaxLineLength",
    "TooManyFunctions",
    "FunctionParameterNaming",
    "LongParameterList",
    "CyclomaticComplexMethod",
    "LongMethod",
)

package dev.kreuzberg

/**
 * Processing options for tree-sitter code analysis.
 *
 * Controls which analysis features are enabled when extracting code files.
 */
data class TreeSitterProcessConfig(
    /** Extract structural items (functions, classes, structs, etc.). Default: true. */
    val structure: Boolean = true,
    /** Extract import statements. Default: true. */
    val imports: Boolean = true,
    /** Extract export statements. Default: true. */
    val exports: Boolean = true,
    /** Extract comments. Default: false. */
    val comments: Boolean = false,
    /** Extract docstrings. Default: false. */
    val docstrings: Boolean = false,
    /** Extract symbol definitions. Default: false. */
    val symbols: Boolean = false,
    /** Include parse diagnostics. Default: false. */
    val diagnostics: Boolean = false,
    /** Maximum chunk size in bytes. `null` disables chunking. */
    val chunkMaxSize: Long? = null,
    /** Content rendering mode for code extraction. */
    val contentMode: CodeContentMode = CodeContentMode.CHUNKS,
)
