StacksBracketScanner

A Stacks scanner that tokenizes the lexeme of a BracketedStacksToken.

Author

Richard Arriaga

Parameters

bracketToken

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The start position of the comment in the file.

Link copied to clipboard

The line number of the start of the token currently being parsed.

Link copied to clipboard

The module file name without the path.

Link copied to clipboard

The tokens that have been parsed so far.

Link copied to clipboard

The current position in the input string.

Link copied to clipboard

The comment token text that has been lexed as one long token.

Functions

Link copied to clipboard
Link copied to clipboard
operator fun next(): Char

Extract the current character and increment the position.

Link copied to clipboard

From the full directory path of a module name, obtain the leaf portion that represents the file name in the directory.

Link copied to clipboard