Documentation ¶
Index ¶
- Constants
- func PossibleTables() map[string][]string
- func Run(n *parser.NodeProgram, typeFormat *string) error
- type GitBuilder
- type RuntimeError
- type RuntimeVisitor
- func (v *RuntimeVisitor) Builder() *GitBuilder
- func (v *RuntimeVisitor) Visit(n *parser.NodeProgram) error
- func (v *RuntimeVisitor) VisitAnd(n *parser.NodeAnd) error
- func (v *RuntimeVisitor) VisitEqual(n *parser.NodeEqual) error
- func (v *RuntimeVisitor) VisitExpr(n parser.NodeExpr) error
- func (v *RuntimeVisitor) VisitGreater(n *parser.NodeGreater) error
- func (v *RuntimeVisitor) VisitIn(n *parser.NodeIn) error
- func (v *RuntimeVisitor) VisitLike(n *parser.NodeLike) error
- func (v *RuntimeVisitor) VisitNotEqual(n *parser.NodeNotEqual) error
- func (v *RuntimeVisitor) VisitOr(n *parser.NodeOr) error
- func (v *RuntimeVisitor) VisitSelect(n *parser.NodeSelect) error
- func (v *RuntimeVisitor) VisitSmaller(n *parser.NodeSmaller) error
- type TableData
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 ¶
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
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) VisitEqual ¶
func (v *RuntimeVisitor) VisitEqual(n *parser.NodeEqual) error
func (*RuntimeVisitor) VisitGreater ¶
func (v *RuntimeVisitor) VisitGreater(n *parser.NodeGreater) error
func (*RuntimeVisitor) VisitNotEqual ¶
func (v *RuntimeVisitor) VisitNotEqual(n *parser.NodeNotEqual) error
func (*RuntimeVisitor) VisitSelect ¶
func (v *RuntimeVisitor) VisitSelect(n *parser.NodeSelect) error
func (*RuntimeVisitor) VisitSmaller ¶
func (v *RuntimeVisitor) VisitSmaller(n *parser.NodeSmaller) error
Click to show internal directories.
Click to hide internal directories.