This project has moved and is read-only. For the latest updates, please go here.

define rule for A.B with single token

May 7, 2016 at 4:04 PM

I try to parse sql script.there is a custom keyword like "A.B". How i can get it with single token.

I'm mean Token.Text = A.B
May 8, 2016 at 7:52 AM
first question is why? you can parse, then convert the parse tree (using a visitor/converter)
If you absolutely need it, you can use RegexTerminal. Or FreeTextLiteral
May 8, 2016 at 10:59 AM
Thank you for replay. A.B is Not a table.columnname. a.b is custom Text. İ think textliteral works for me