Documentation ¶
Index ¶
Constants ¶
View Source
const InternalErrorMsg = "internal compiler error, please report to the issue tracker"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompileArtifacts ¶
type CompileArtifacts struct { Source string Tokens []antlr.Token Errors []CompileError Program *program.Program }
func CompileFull ¶
func CompileFull(input string) CompileArtifacts
type CompileError ¶
func InternalError ¶
func InternalError(c antlr.ParserRuleContext) *CompileError
func LogicError ¶
func LogicError(c antlr.ParserRuleContext, err error) *CompileError
type CompileErrorList ¶
type CompileErrorList struct { Errors []CompileError Source string }
func (*CompileErrorList) Error ¶
func (c *CompileErrorList) Error() string
type ErrorListener ¶
type ErrorListener struct { *antlr.DefaultErrorListener Errors []CompileError }
func (*ErrorListener) SyntaxError ¶
func (l *ErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, startL, startC int, msg string, e antlr.RecognitionException)
type FallbackAccount ¶
Click to show internal directories.
Click to hide internal directories.