private void parseSetItem ( UpdateQueryBuilder query ) { Token token ; if ( ( token = scanToken ( ) ) != Token . IDENTIFIER ) { throw error ( L . l ( "expected identifier at '{0}'" , token ) ) ; } String columnName = _lexeme ; if ( ( token = scanToken ( ) ) != Token . EQ ) { throw error ( "expected '=' at {0}" , token ) ; } ExprKraken expr = parseExpr ( ) ; query . addItem ( columnName , expr ) ; }
Parses a set item .