runtime

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2019 License: MIT Imports: 12 Imported by: 13 modules, 12 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	WALK_COMMITS    = 1
	WALK_REFERENCES = 2
	WALK_REMOTES    = 3
)
View Source
const (
	REFERENCE_TYPE_BRANCH = "branch"
	REFERENCE_TYPE_REMOTE = "remote"
	REFERENCE_TYPE_TAG    = "tag"
)
View Source
const (
	COUNT_FIELD_NAME = "count"
)

Variables

This section is empty.

Functions

func PossibleTables

func PossibleTables() map[string][]string

func Run

func Run(n *parser.NodeProgram, typeFormat *string) error

=========================== Runtime

Types

type GitBuilder

type GitBuilder struct {
	// contains filtered or unexported fields
}

func GetGitBuilder

func GetGitBuilder(path *string) *GitBuilder

func (*GitBuilder) UseFieldFromTable

func (g *GitBuilder) UseFieldFromTable(field string, tableName string) error

func (*GitBuilder) WithTable

func (g *GitBuilder) WithTable(tableName string, alias string) error

type RuntimeError

type RuntimeError struct {
	// contains filtered or unexported fields
}

func (*RuntimeError) Error

func (e *RuntimeError) Error() string

type RuntimeVisitor

type RuntimeVisitor struct {
	semantical.Visitor
}

func (*RuntimeVisitor) Builder

func (v *RuntimeVisitor) Builder() *GitBuilder

func (*RuntimeVisitor) Visit

func (v *RuntimeVisitor) Visit(n *parser.NodeProgram) error

func (*RuntimeVisitor) VisitAnd

func (v *RuntimeVisitor) VisitAnd(n *parser.NodeAnd) error

func (*RuntimeVisitor) VisitEqual

func (v *RuntimeVisitor) VisitEqual(n *parser.NodeEqual) error

func (*RuntimeVisitor) VisitExpr

func (v *RuntimeVisitor) VisitExpr(n parser.NodeExpr) error

func (*RuntimeVisitor) VisitGreater

func (v *RuntimeVisitor) VisitGreater(n *parser.NodeGreater) error

func (*RuntimeVisitor) VisitIn

func (v *RuntimeVisitor) VisitIn(n *parser.NodeIn) error

func (*RuntimeVisitor) VisitLike

func (v *RuntimeVisitor) VisitLike(n *parser.NodeLike) error

func (*RuntimeVisitor) VisitNotEqual

func (v *RuntimeVisitor) VisitNotEqual(n *parser.NodeNotEqual) error

func (*RuntimeVisitor) VisitOr

func (v *RuntimeVisitor) VisitOr(n *parser.NodeOr) error

func (*RuntimeVisitor) VisitSelect

func (v *RuntimeVisitor) VisitSelect(n *parser.NodeSelect) error

func (*RuntimeVisitor) VisitSmaller

func (v *RuntimeVisitor) VisitSmaller(n *parser.NodeSmaller) error

type TableData

type TableData struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL