Documentation
¶
Index ¶
- type Error
- type File
- type INode
- type Node
- type OgConfig
- type Printer
- func (this *Printer) CompileList(files []string, workerIds []int, nbWorkers, finished, total int)
- func (this Printer) Compiled(nbFiles int)
- func (this Printer) Compiling(nbFiles int)
- func (this Printer) CursorHide()
- func (this Printer) CursorShow()
- func (this *Printer) Error(err *Error)
- func (this Printer) NothingToDo()
- func (this Printer) Running()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Path string
Imports map[string]string
FullPath string
OutPath string
Name string
Ast INode
Output string
LineMapping []int
Source []byte
}
type Node ¶ added in v0.7.2
type Node struct {
Line_ int
Col_ int
Text_ string
Children []INode
ChildrenCount_ int
// contains filtered or unexported fields
}
func NewNode ¶ added in v0.7.2
func NewNode(ctx antlr.ParserRuleContext, file *File, t interface{}) *Node
func NewNodeNoCtx ¶ added in v0.7.2
func NewNodeNoCtx(t interface{}) *Node
func (Node) ChildrenCount ¶ added in v0.7.2
type OgConfig ¶ added in v0.7.2
type OgConfig struct {
Blocks bool
Dirty bool
Print bool
Force bool
Ast bool
SimpleAst bool
Quiet bool
Interpreter bool
Paths []string
Workers int
OutPath string
NoBuild bool
Run bool
}
func NewOgConfig ¶ added in v0.7.2
func NewOgConfig() *OgConfig
type Printer ¶ added in v0.7.2
type Printer struct {
Config *OgConfig
// contains filtered or unexported fields
}
var (
Print *Printer
)
func NewPrinter ¶ added in v0.7.2
func (*Printer) CompileList ¶ added in v0.7.2
func (Printer) CursorHide ¶ added in v0.7.2
func (this Printer) CursorHide()
func (Printer) CursorShow ¶ added in v0.7.2
func (this Printer) CursorShow()
func (Printer) NothingToDo ¶ added in v0.7.2
func (this Printer) NothingToDo()
Click to show internal directories.
Click to hide internal directories.