Versions in this module Expand all Collapse all v0 v0.7.2 Sep 22, 2018 Changes in this version + type Error struct + Column int + Line int + Msg string + Msg2 string + Path string + Source []string + func NewError(filePath string, source []string, line, column int, msg, msg2 string) *Error type File + FullPath string + Imports map[string]string + LineMapping []int + func (this *File) Error(line, column int, msg, msg2 string) *Error + type INode interface + ChildrenCount func() int + Col func() int + Eval func() string + GetParent func() INode + Line func() int + SetParent func(n INode) + T func() interface{} + Text func() string + type Node struct + Children []INode + ChildrenCount_ int + Col_ int + Line_ int + Text_ string + func NewNode(ctx antlr.ParserRuleContext, file *File, t interface{}) *Node + func NewNodeNoCtx(t interface{}) *Node + func (this *Node) GetParent() INode + func (this *Node) SetParent(n INode) + func (this Node) ChildrenCount() int + func (this Node) Col() int + func (this Node) Eval() string + func (this Node) Line() int + func (this Node) T() interface{} + func (this Node) Text() string + type OgConfig struct + Ast bool + Blocks bool + Dirty bool + Force bool + Interpreter bool + NoBuild bool + OutPath string + Paths []string + Print bool + Quiet bool + Run bool + SimpleAst bool + Workers int + func NewOgConfig() *OgConfig + type Printer struct + Config *OgConfig + var Print *Printer + func NewPrinter(config *OgConfig) *Printer + func (this *Printer) CompileList(files []string, workerIds []int, nbWorkers, finished, total int) + func (this *Printer) Error(err *Error) + func (this Printer) Compiled(nbFiles int) + func (this Printer) Compiling(nbFiles int) + func (this Printer) CursorHide() + func (this Printer) CursorShow() + func (this Printer) NothingToDo() + func (this Printer) Running() v0.7.1 Sep 15, 2018 Changes in this version + type File struct + Ast ast.INode + Name string + OutPath string + Output string + Path string + Source []byte + func NewFile(filePath, outPath string) *File + func (this *File) Format() error + func (this File) Write()