String class_name=(String)to_restore.getResult();
boolean is_transform=false;
if ( Transform.class.isAssignableFrom( Class.forName( class_name)))
{
is_transform=true;
restore_tokens.add( new Token( m_parser.getReservedScope().getReserved( "set"), "set"));
restore_tokens.add( new Token( BasicBase.nameSymbol, name));
restore_tokens.add( new Token( m_parser.getReservedScope().getReserved( "to"), "to"));
}
to_restore.collectTokens( m_parser.getReservedScope(), restore_tokens);
for (Token t : restore_tokens)
{
if (t instanceof SelectionToken)
{
SelectionToken slt = (SelectionToken)t;
if (slt.m_className != null)
{
Class<?> slc = Class.forName(slt.m_className);
if (m_selection.getResultClass() == null || ! m_selection.getResultClass().isAssignableFrom(slc))
{
m_selection = new SelectionSetExpression(slc);
}
}
}
}
restore_tokens.add( new Token( Parser._end_, ""));
m_parser.reset();
tokens=restore_tokens.toArray( new Token[restore_tokens.size()]);
SetExpression exp=getExpression();
if ( is_transform)
{