Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ atLineEnd
Function
atLineEnd
src/common/parser.ts:36–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
}
35
36
get atLineEnd(): boolean {
37
const
c = this.peek();
38
return
c ===
'\n'
|| c === undefined;
39
}
40
41
get lineCol(): { line: number; col: number } {
42
const
start = this.pos;
Callers
nothing calls this directly
Calls
1
peek
Method · 0.45
Tested by
no test coverage detected