BlockExtent

class BlockExtent(val lineCount: Int, val endIndex: Int)

How far a block reaches from the line it opened on, with both halves of the decision resolved together so a recognizer cannot pair a line count with the wrong end index.

Parameters

lineCount

amount of lines consumed, at least one

endIndex

index just past the last character the token's text covers

Constructors

Link copied to clipboard
constructor(lineCount: Int, endIndex: Int)

Properties

Link copied to clipboard
Link copied to clipboard