define rule for A.B with single token

May 7 at 4:04 PM
Hi,

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
Coordinator
May 8 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 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