MCPcopy Create free account
hub / github.com/brimdata/super / wrapThis

Function wrapThis

compiler/semantic/sql.go:733–735  ·  view source on GitHub ↗
(n ast.Node, field string)

Source from the content-addressed store, hash-verified

731}
732
733func wrapThis(n ast.Node, field string) *sem.RecordExpr {
734 return wrapField(field, sem.NewThis(n, nil))
735}
736
737func wrapField(field string, e sem.Expr) *sem.RecordExpr {
738 return &sem.RecordExpr{

Callers 1

sqlSelectMethod · 0.85

Calls 2

NewThisFunction · 0.92
wrapFieldFunction · 0.85

Tested by

no test coverage detected