SqlDialectSourcePatterns

class SqlDialectSourcePatterns(val patterns: Set<SqlDialectSourcePattern> = SourceScannerDefault.patterns, val blockPatterns: SqlDialectSourceBlockPatterns = SqlDialectSourceBlockPatterns.Default)

Dialect-specific source patterns used by conservative source-text scanners.

These patterns are used by source-text rules; they are not a full parser grammar. Each pattern declares the scanner role it fulfills, so custom dialect integrations can register engine-specific syntax once and rules can ask for the meaning they need.

Dialect presets intentionally describe broad dialect-family syntax rather than exact engine-version validity. SQLDelight's parser is responsible for accepting or rejecting concrete SQL. These patterns only help source scanners avoid misreading supported-looking syntax while linting.

Constructors

Link copied to clipboard
constructor(patterns: Set<SqlDialectSourcePattern> = SourceScannerDefault.patterns, blockPatterns: SqlDialectSourceBlockPatterns = SqlDialectSourceBlockPatterns.Default)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String