Implemented expression parsing

This commit is contained in:
Eduard Urbach 2024-06-16 16:57:33 +02:00
parent 864c9c7b43
commit ef16bdb4c7
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
18 changed files with 618 additions and 99 deletions

View file

@ -0,0 +1,13 @@
package errors
import "fmt"
// KeywordNotImplemented error is created when we find a keyword without an implementation.
type KeywordNotImplemented struct {
Keyword string
}
// Error generates the string representation.
func (err *KeywordNotImplemented) Error() string {
return fmt.Sprintf("Keyword not implemented: '%s'", err.Keyword)
}