SqlDialectSourceBlockPatterns
class SqlDialectSourceBlockPatterns(statementSeparatorTerms: Set<String> = defaultSqlDialectStatementSeparatorTerms, val parenthesisDepthTerms: Set<SqlDialectSourceParenthesisDepthTerms> = defaultSqlDialectParenthesisDepthTerms, val clauseStartRoles: Set<SqlDialectSourcePatternRole> = defaultSqlDialectClauseStartRoles, val pairedBlocks: Set<SqlDialectSourcePairedBlockPattern> = defaultSqlDialectPairedBlocks, val parenthesizedBlocks: Set<SqlDialectSourceParenthesizedBlockPattern> = defaultSqlDialectParenthesizedBlocks)
Dialect-specific patterns used to derive conservative SQL source blocks.
These patterns are not a validation grammar. They describe source shapes that scanners can use to classify blocks without hard-coding engine syntax.
Constructors
Link copied to clipboard
constructor(statementSeparatorTerms: Set<String> = defaultSqlDialectStatementSeparatorTerms, parenthesisDepthTerms: Set<SqlDialectSourceParenthesisDepthTerms> = defaultSqlDialectParenthesisDepthTerms, clauseStartRoles: Set<SqlDialectSourcePatternRole> = defaultSqlDialectClauseStartRoles, pairedBlocks: Set<SqlDialectSourcePairedBlockPattern> = defaultSqlDialectPairedBlocks, parenthesizedBlocks: Set<SqlDialectSourceParenthesizedBlockPattern> = defaultSqlDialectParenthesizedBlocks)