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

Inheritors

Constructors

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

Properties

Link copied to clipboard

Whether this is a section (§) token.

Functions

Link copied to clipboard

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