Documentation ¶
Index ¶
- type LoxErrors
- func (l *LoxErrors) HadParsingError() bool
- func (l *LoxErrors) HadResolutionError() bool
- func (l *LoxErrors) HadRuntimeError() bool
- func (l *LoxErrors) HadScanningError() bool
- func (l *LoxErrors) ParserError(t *token.Token, message string) error
- func (l *LoxErrors) ResetError()
- func (l *LoxErrors) ResolutionError(t *token.Token, message string) error
- func (l *LoxErrors) RuntimeError(t *token.Token, message string) error
- func (l *LoxErrors) ScannerError(line int, message string)
- type LoxReporter
- type Reporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoxErrors ¶
type LoxErrors struct {
// contains filtered or unexported fields
}
func NewLoxErrors ¶
func (*LoxErrors) HadParsingError ¶
func (*LoxErrors) HadResolutionError ¶
func (*LoxErrors) HadRuntimeError ¶
func (*LoxErrors) HadScanningError ¶
func (*LoxErrors) ParserError ¶
func (*LoxErrors) ResetError ¶
func (l *LoxErrors) ResetError()
func (*LoxErrors) ResolutionError ¶
func (*LoxErrors) RuntimeError ¶
func (*LoxErrors) ScannerError ¶
type LoxReporter ¶
type LoxReporter struct{}
func (LoxReporter) Report ¶
func (LoxReporter) Report(line int, where, message string)
Click to show internal directories.
Click to hide internal directories.