MCPcopy
hub / github.com/google/mangle / IsLetTransform

Method IsLetTransform

ast/ast.go:1117–1119  ·  view source on GitHub ↗

IsLetTransform returns true if transform is a let-transform. The other case is a do-transform which starts with "do fn:group_by()".

()

Source from the content-addressed store, hash-verified

1115// IsLetTransform returns true if transform is a let-transform.
1116// The other case is a do-transform which starts with "do fn:group_by()".
1117func (t Transform) IsLetTransform() bool {
1118 return t.Statements[0].Var != nil
1119}
1120
1121// TransformStmt describes how to transform the relation of a rule.
1122type TransformStmt struct {

Callers 5

RewriteFunction · 0.80
makeDeltaRulesFunction · 0.80
evalMethod · 0.80
EvalTransformFunction · 0.80
makeDepGraphFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected