public Optional < String > parseTableAlias ( final SQLStatement sqlStatement , final boolean setTableToken , final String tableName ) { if ( lexerEngine . skipIfEqual ( DefaultKeyword . AS ) ) { return parseWithAs ( sqlStatement , setTableToken , tableName ) ; } if ( lexerEngine . equalAny ( getDefaultAvailableKeywordsForTableAlias ( ) ) || lexerEngine . equalAny ( getCustomizedAvailableKeywordsForTableAlias ( ) ) ) { return parseAlias ( sqlStatement , setTableToken , tableName ) ; } return Optional . absent ( ) ; }
Parse alias for table .