Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorOverloading ¶ added in v1.16.1
type OperatorOverloading struct { Operator string // Operator token to overload. Overloads []string // List of function names to replace operator with. Types conf.TypesTable // Env types. Functions conf.FunctionsTable // Env functions. // contains filtered or unexported fields }
func (*OperatorOverloading) Check ¶ added in v1.16.1
func (p *OperatorOverloading) Check()
func (*OperatorOverloading) FindSuitableOperatorOverload ¶ added in v1.16.1
func (*OperatorOverloading) ShouldRepeat ¶ added in v1.16.1
func (p *OperatorOverloading) ShouldRepeat() bool
func (*OperatorOverloading) Visit ¶ added in v1.16.1
func (p *OperatorOverloading) Visit(node *ast.Node)
type WithContext ¶
type WithContext struct {
Name string
}
WithContext adds WithContext.Name argument to all functions calls with a context.Context argument.
func (WithContext) Visit ¶
func (w WithContext) Visit(node *ast.Node)
Visit adds WithContext.Name argument to all functions calls with a context.Context argument.
Directories ¶
Path | Synopsis |
---|---|
Package value provides a Patcher that uses interfaces to allow custom types that can be represented as standard go values to be used more easily in expressions.
|
Package value provides a Patcher that uses interfaces to allow custom types that can be represented as standard go values to be used more easily in expressions. |
Click to show internal directories.
Click to hide internal directories.