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

Method onJoinedTable1

compiler/parser/parser.go:20552–20569  ·  view source on GitHub ↗
(first, rest any)

Source from the content-addressed store, hash-verified

20550}
20551
20552func (c *current) onJoinedTable1(first, rest any) (any, error) {
20553 out := first.(ast.SQLTableExpr)
20554 for _, join := range rest.([]any) {
20555 switch join := join.(type) {
20556 case *ast.SQLCrossJoin:
20557 join.Left = out
20558 join.Loc.First = out.Pos()
20559 case *ast.SQLJoin:
20560 join.Left = out
20561 join.Loc.First = out.Pos()
20562 default:
20563 panic(join)
20564 }
20565 out = join.(ast.SQLTableExpr)
20566 }
20567 return out, nil
20568
20569}
20570
20571func (p *parser) callonJoinedTable1() (any, error) {
20572 stack := p.vstack[len(p.vstack)-1]

Callers 1

callonJoinedTable1Method · 0.80

Calls 1

PosMethod · 0.65

Tested by

no test coverage detected