SqlSourceBlock
class SqlSourceBlock(val kind: SqlSourceBlockKind, val startTokenIndex: Int, val endTokenIndex: Int, val startOffset: Int, val endOffset: Int, val statementIndex: Int, val parentBlockIndex: Int?, val sourcePatternMatch: SqlSourcePatternMatch? = null)
A syntactic source block derived from dialect-aware source tokens.
Block ranges use token indices, with endTokenIndex being exclusive. The source offsets cover the same range in the original source text.
Constructors
Link copied to clipboard
constructor(kind: SqlSourceBlockKind, startTokenIndex: Int, endTokenIndex: Int, startOffset: Int, endOffset: Int, statementIndex: Int, parentBlockIndex: Int?, sourcePatternMatch: SqlSourcePatternMatch? = null)