Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModifierError ¶
ModifierError represents errors related to invalid modifier usage
func (ModifierError) Error ¶
func (e ModifierError) Error() string
type ParseError ¶
type ParseError struct {
File string
Pos ast.Position
Msg string
SourceLine string
Token lexer.Item
}
ParseError includes file and precise position for better diagnostics.
func (ParseError) Error ¶
func (e ParseError) Error() string
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func NewWithSource ¶
NewWithSource creates a parser with source code for better error messages
type PrivacyError ¶
type PrivacyError struct {
File string
Pos ast.Position
Privacy common.PrivacyLevel
Context string
}
PrivacyError represents errors related to invalid privacy level usage
func (PrivacyError) Error ¶
func (e PrivacyError) Error() string
Click to show internal directories.
Click to hide internal directories.