RegionStacksToken

abstract class RegionStacksToken(    string: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String,     openRegionDelimiter: Char,     closeRegionDelimiter: Char) : AbstractStacksToken

A stacks token that represents a closed off region of space, potentially containing whitespace or other tokens.

Author

Richard Arriaga

Constructors

Link copied to clipboard
fun RegionStacksToken(    string: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String,     openRegionDelimiter: Char,     closeRegionDelimiter: Char)

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.

Inheritors

Link copied to clipboard
Link copied to clipboard