Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunInterpreter ¶
func RunInterpreter(compiler *OgCompiler)
Types ¶
type ErrorHandler ¶
type ErrorHandler struct {
*antlr.DefaultErrorStrategy
}
func NewErrorHandler ¶
func NewErrorHandler() *ErrorHandler
func (ErrorHandler) Recover ¶
func (this ErrorHandler) Recover(p antlr.Parser, r antlr.RecognitionException)
type ErrorListener ¶
type ErrorListener struct {
*antlr.DefaultErrorListener
// contains filtered or unexported fields
}
func NewErrorListener ¶
func NewErrorListener(filePath, source string) *ErrorListener
func (*ErrorListener) SyntaxError ¶
func (this *ErrorListener) SyntaxError(rec antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)
type Og ¶
type Og struct {
Config *common.OgConfig
Compiler *OgCompiler
}
type OgCompiler ¶
type OgCompiler struct {
Config *common.OgConfig
Parser *OgParser
Preproc *OgPreproc
Files []*common.File
}
func NewOgCompiler ¶
func NewOgCompiler(config *common.OgConfig) *OgCompiler
func (*OgCompiler) Compile ¶
func (this *OgCompiler) Compile() error
type OgParser ¶
func NewOgParser ¶
type Pool ¶
type Worker ¶
type WorkerCallback ¶
Click to show internal directories.
Click to hide internal directories.