Documentation ¶
Overview ¶
Package vbscanner implements a VBScript scanner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mode ¶
type Mode int
Mode describes whether we are scanning HTML or VBS code
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner reads a stream and provides VBS tokens scanned from it
type TokenType ¶
type TokenType int
TokenType describes the type of token read by the scanner
const ( EOF TokenType = iota // end of file EOL // end of line - needed for vb Ident // identifiers String // string literals Integer // integer literals Float // float literals Date // date literals Comment // comments Html // the HTML fragments in the ASP Char // random characters like parens Op // operators )
Token types
Click to show internal directories.
Click to hide internal directories.