Module SqlParser
In: test/src/sql_parser.rb

Methods

operators  

Included Modules

Functors Parsers

Constants

MyKeywords = Keywords.case_insensitive(%w{ select from where group by having order desc asc inner left right full outer inner join on cross union all distinct as exists in between limit case when else end and or not true false })
MyOperators = Operators.new(%w{+ - * / % = > < >= <= <> != : ( ) . ,})
Comparators = operators(*%w{= > < >= <= <> !=})
StringLiteral = (char(?') >> (not_char(?')|str("''")).many_.fragment << char(?')). map do |raw| raw.gsub!(/''/,"'")

Public Class methods

[Validate]