AbstractStacksToken

constructor(lexeme: String, lineNumber: Int, position: Int, startOfTokenLinePosition: Int, moduleName: String, isSectionToken: Boolean)

Construct a new AbstractStacksToken.

Parameters

lexeme

The string to be tokenized.

lineNumber

The line number where the token occurs/begins

position

The absolute start position of the token

startOfTokenLinePosition

The position on the line where the token starts.

moduleName

The module this token is in.

isSectionToken

Whether this is a section (§) token.