Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/outerbase/studio
/ consumeBlock
Method
consumeBlock
src/drivers/sqlite/sql-parse-table.ts:50–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
consumeBlock(): string {
51
if
(this.match(
"("
)) {
52
return
this.consumeParen().toString();
53
}
else
{
54
return
this.consume();
55
}
56
}
57
58
currentType() {
59
return
this.tokens[this.ptr].
type
;
Callers
1
parseColumnConstraint
Function · 0.80
Calls
4
match
Method · 0.95
consumeParen
Method · 0.95
consume
Method · 0.95
toString
Method · 0.45
Tested by
no test coverage detected