1
Fork 0

change the names in the ast to be lists so can support qualified names

everywhere:
  TRSimple: replaces the TRQualified
  Iden
  App name
  AggregateApp name
  WindowApp name
  operator names (not sure if this is used in ansi sql)
  explicit table
  function in from clause
This commit is contained in:
Jake Wheat 2014-04-18 11:43:37 +03:00
parent 3df87a3cf9
commit 2cad424379
7 changed files with 78 additions and 65 deletions
tools/Language/SQL/SimpleSQL

View file

@ -67,8 +67,8 @@ These are a few misc tests which don't fit anywhere else.
> ,("select a + b * c"
> ,makeSelect {qeSelectList =
> [(BinOp (Iden (Name "a")) (Name "+")
> (BinOp (Iden (Name "b")) (Name "*") (Iden (Name "c")))
> [(BinOp (Iden "a") "+"
> (BinOp (Iden "b") "*" (Iden "c"))
> ,Nothing)]})
> ]