Stacks Scanner
A scanner for Stacks comments.
Author
Richard Arriaga
Parameters
comment Token
The comment token to be scanned and tokenized.
module Name
The name of the module the comment is in.
Constructors
Link copied to clipboard
Construct a new StacksScanner.
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 comment token text that has been lexed as one long token.
Functions
Link copied to clipboard
Link copied to clipboard
set the hasHTMLTag to false
Link copied to clipboard
set the hasHTMLTag to true
Link copied to clipboard
Insert HTML tags in tokenized comments.
Link copied to clipboard
Link copied to clipboard
decrement new line
Link copied to clipboard
Link copied to clipboard
set the hasHTMLTag to false
Link copied to clipboard
set the hasHTMLTag to true
Link copied to clipboard
Increment new line
Link copied to clipboard
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
Link copied to clipboard
Set the newlineCount to 0;