Documentation
¶
Index ¶
- Variables
- func ComposeArgs(args []Argument, minified bool) (lines []string, summary build.BuildSummary, err error)
- func ComposeDirs(dirs []Directive, minified bool) (lines []string, summary build.BuildSummary, err error)
- func ComposeNamedArgs(args []NamedArgument, minified bool) (lines []string, summary build.BuildSummary, err error)
- func ComposePreds(preds []Predicate, minified bool) (lines []string, summary build.BuildSummary, err error)
- func Indentate(lines []string) []string
- type A
- type Argument
- type D
- type Directive
- type F
- type Function
- type NA
- type NamedArgument
- type P
- type PN
- type Predicate
- type Q
- type Query
- type V
- type Variable
Constants ¶
This section is empty.
Variables ¶
View Source
var Indent string = " "
Functions ¶
func ComposeArgs ¶
func ComposeDirs ¶
func ComposeNamedArgs ¶
func ComposeNamedArgs(args []NamedArgument, minified bool) (lines []string, summary build.BuildSummary, err error)
func ComposePreds ¶
Types ¶
type A ¶
func (A) ComposeArgument ¶
type Argument ¶
type Argument interface {
ComposeArgument(minified bool) ([]string, build.BuildSummary, error)
}
type Directive ¶
type Directive interface {
ComposeDirective(minified bool) ([]string, build.BuildSummary, error)
}
type F ¶
type F struct {
Args []Argument
Type dqlf.FunctionType
}
type Function ¶
type Function interface {
ComposeFunction(minified bool) ([]string, build.BuildSummary, error)
}
type NA ¶
func (NA) ComposeNamedArgument ¶
type NamedArgument ¶
type P ¶
func (*P) ComposePredicate ¶
type PN ¶
func (*PN) ComposePredicate ¶
type Predicate ¶
type Predicate interface {
ComposePredicate(minified bool) ([]string, build.BuildSummary, error)
}
type Q ¶
type Q struct {
Name string
Args []NamedArgument
Dirs []Directive
Preds []Predicate
}
func (*Q) ComposeQuery ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.