```
milovidov-desktop :) SELECT -1::INT

Syntax error: failed at position 10 ('::')
```
{
    
    
    ParserKeyword s_not("NOT");
    ParserKeyword s_between("BETWEEN");
    ParserKeyword s_and("AND");
    ASTPtr subject;
    ASTPtr left;
    ASTPtr right;
    if (!elem_parser.parse(pos, subject, expected))
        return false;
    bool negative = s_not.ignore(pos, expected);
    if (!s_between.ignore(pos, expected))
    {
        if (negative)
            --pos;
        
        node = subject;
    }
    else
    {
        if (!elem_parser.parse(pos, left, expected))
            return false;