Documentation
¶
Index ¶
- Constants
- func CapnpCreateDataFile(code CapnpCode)
- func CapnpDataCodePreamble() (code string)
- func CapnpFieldDeclaration(fieldName string, index int, fieldType grizzly.FieldType, indent int) string
- func CapnpStructAggregateRow(fields capnp.StructList[grizzly.Field]) (code string)
- func CapnpStructEgressRow(fields capnp.StructList[grizzly.Field]) (code string)
- func CapnpStructGroup(rootNode *grizzly.Node, fields capnp.StructList[grizzly.Field], ...) (code string)
- func CapnpStructIngressRow(rootNode *grizzly.Node, fields capnp.StructList[grizzly.Field]) (code string)
- func FindCatalogFieldType(rootNode *grizzly.Node, name string, operatorType grizzly.OperatorType) (typ grizzly.FieldType)
- func GoCodeCreateFile(code GoCode)
- func GoEval(filterName string, payloadName string, list []string, body string) (code string)
- func GoFieldDeclaration(fieldName string, fieldType grizzly.FieldType, fieldUsage grizzly.FieldUsage) (code string)
- func GoFieldMapping(fieldName string, fieldType grizzly.FieldType, fieldUsage grizzly.FieldUsage) (code string)
- func GoFilter(filterName string, payloadName string) (code string)
- func GoInternalPayload(nodeName string, node *grizzly.Node, operatorType grizzly.OperatorType, ...) (code string)
- func GoPassthroughEvalFunction(filterName string, payloadName string) (code string)
- func GoTranslate(nodeName string, node *grizzly.Node, root *grizzly.Node) (code string)
- func GoUnusedInternalPayload(name string) (code string)
- func Init()
- type CapnpCode
- type FilterType
- type GoCode
- type GoExpression
- type Kind
Constants ¶
View Source
const ( CapnpCodeFilePath = "capnp/data/data.capnp" GoCodeFilePath = "pkg/_out/functions/functions.go" GoCodeVariablePrefix = "p" )
Variables ¶
This section is empty.
Functions ¶
func CapnpCreateDataFile ¶
func CapnpCreateDataFile(code CapnpCode)
func CapnpDataCodePreamble ¶
func CapnpDataCodePreamble() (code string)
func CapnpFieldDeclaration ¶
func CapnpStructAggregateRow ¶
func CapnpStructEgressRow ¶
func CapnpStructGroup ¶
func CapnpStructIngressRow ¶
func FindCatalogFieldType ¶
func GoCodeCreateFile ¶
func GoCodeCreateFile(code GoCode)
func GoFieldDeclaration ¶
func GoFieldMapping ¶
func GoInternalPayload ¶
func GoTranslate ¶
func GoUnusedInternalPayload ¶
Types ¶
type FilterType ¶
type FilterType int
const ( IngressFilterType FilterType = iota AggregateFilterType ProjectFilterType )
type GoCode ¶
type GoCode struct { ExprStack []GoExpression // Golang snippets to generate a single expression Definitions []string // Golang code literals definitions VariableCounter int IngressFilter goCodeItem AggregateFilter goCodeItem ProjectFilter goCodeItem SessionOpen goCodeItem SessionClose goCodeItem }
type GoExpression ¶
Click to show internal directories.
Click to hide internal directories.