Package avail.stacks.tokens

Types

Link copied to clipboard
abstract class AbstractStacksToken(    lexeme: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String,     val isSectionToken: Boolean)

The abstract form of a token in a Stacks comment that has been lexed.

Link copied to clipboard
class BracketedStacksToken constructor(    string: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String) : RegionStacksToken

A stacks token representing a bracketed region in the comment. This region generally contains some sort of action such as a link.

Link copied to clipboard
class InlineKeywordStacksToken : KeywordStacksToken

A keyword token that occurs mid-line. E.g. a link.

Link copied to clipboard
abstract class KeywordStacksToken(    string: String,     lineNumber: Int,     position: Int,     startOfTokenLinePosition: Int,     moduleName: String,     val isSectionToken: Boolean) : AbstractStacksToken

A tokenized stacks keyword.

Link copied to clipboard
class QuotedStacksToken : RegionStacksToken

A stacks token representing a quoted region in the comment.

Link copied to clipboard
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.

Link copied to clipboard
class SectionKeywordStacksToken : KeywordStacksToken

A keyword that indicates a full section of tokens that "belong to it" will follow.

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

A plain, not special Stacks comment token.