MCPcopy Create free account
hub / github.com/babel/babel / hasFollowingLineBreak

Function hasFollowingLineBreak

packages/babel-parser/src/parser/util.ts:147–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 }
146
147 hasFollowingLineBreak(): boolean {
148 return hasNewLine(this.input, this.state.end, this.nextTokenStart());
149 }
150
151 isLineTerminator(): boolean {
152 return this.eat(tt.semi) || this.canInsertSemicolon();

Callers

nothing calls this directly

Calls 1

hasNewLineFunction · 0.90

Tested by

no test coverage detected