SqlSourceTokenContext
class SqlSourceTokenContext(val token: SqlSourceToken, val index: Int, val statementIndex: Int, val parenthesisDepth: Int, val caseDepth: Int, val patternMatches: Set<SqlSourcePatternMatch>)
A SQL source token with its surrounding source structure.
Depth values describe the state before token is consumed. For example, an opening parenthesis at top level has parenthesisDepth == 0, and tokens inside that parenthesis have parenthesisDepth == 1.
Constructors
Link copied to clipboard
constructor(token: SqlSourceToken, index: Int, statementIndex: Int, parenthesisDepth: Int, caseDepth: Int, patternMatches: Set<SqlSourcePatternMatch>)