public void parse ( final SelectStatement selectStatement , final List < SelectItem > items ) { do { selectStatement . getItems ( ) . addAll ( parseSelectItems ( selectStatement ) ) ; } while ( lexerEngine . skipIfEqual ( Symbol . COMMA ) ) ; selectStatement . setSelectListStopIndex ( lexerEngine . getCurrentToken ( ) . getEndPosition ( ) - lexerEngine . getCurrentToken ( ) . getLiterals ( ) . length ( ) ) ; items . addAll ( selectStatement . getItems ( ) ) ; }
Parse select list .