StacksToken

class StacksToken(    string: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String) : AbstractStacksToken

A plain, not special Stacks comment token.

Author

Richard Arriaga

Constructors

Link copied to clipboard
fun StacksToken(    string: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun quotedLexeme(): String

Provide the token's string representation.

Link copied to clipboard
open fun toJSON(    linkingFileMap: LinkingFileMap,     hashID: Int,     errorLog: StacksErrorLog,     jsonWriter: JSONWriter): String

Create JSON form of token.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val isSectionToken: Boolean

Whether this is a section (§) token.