create

fun create(    string: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String): AbstractStacksToken

Create the appropriate token type

Return

The token of the appropriate type.

Parameters

string

String representation of the keyword being looked up for creation

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 the token appears in