Skip to content

Commit

Permalink
sql/(plan,expression): implement String method to make tree printable
Browse files Browse the repository at this point in the history
Closes src-d#95
Closes src-d#108

- Implements String method on all sql.Nodes.
- Implements String method on all sql.Expressions.
- Remove Name method from sql.Expressions.
- Only leave Name in expressions that will be Nameable.
- Created TreePrinter to print trees with a Node and Children.

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
  • Loading branch information
erizocosmico committed Mar 16, 2018
1 parent 3ece09d commit 92fe47b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions sql/expression/unresolved_test.go

This file was deleted.

0 comments on commit 92fe47b

Please sign in to comment.