()
| 344 | func (ls JoinCommand) CommandNode() {} |
| 345 | func (ls JoinCommand) TokenLiteral() string { return ls.Token.Literal } |
| 346 | func (ls JoinCommand) ShouldTakeLeftSide() bool { |
| 347 | return ls.JoinType.Type == token.LEFT || ls.JoinType.Type == token.FULL |
| 348 | } |
| 349 | func (ls JoinCommand) ShouldTakeRightSide() bool { |
| 350 | return ls.JoinType.Type == token.RIGHT || ls.JoinType.Type == token.FULL |
| 351 | } |