Code example for Joiner

Methods: join

0
     */ 
    @Override 
    public Symbol execute(RhsFunctionContext context, List<Symbol> arguments)
            throws RhsFunctionException 
    { 
        final String code = joiner.join(arguments);
        try 
        { 
            final Object result = state.eval(code);
 
            return Symbols.create(context.getSymbols(), result);
        } 
        catch (SoarException e)
        { 
            throw new RhsFunctionException(e.getMessage(), e);
        } 
    } 
}