Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lexer ¶
type Lexer struct {
// ModeDirective captures a Luau-style type-mode pragma found in a
// leading comment of the file: "strict", "nonstrict", or "nocheck".
// Empty string means none was set. First directive wins. Recognised
// only in comments that appear before any non-comment token has been
// produced (matches Luau's "file head" rule).
ModeDirective string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.