org.objectweb.medor.expression.parser.lib

Class ReplaceStringPlusByConcat


public class ReplaceStringPlusByConcat
extends java.lang.Object

This class is a rewriter of Expression, replacing the plus operator between string to the concat operator.

Author:
S.Chassande-Barrioz

Method Summary

Expression
rewrite(Expression e)
replaces the plus operator between string to the concat operator.

Method Details

rewrite

public Expression rewrite(Expression e)
            throws MalformedExpressionException
replaces the plus operator between string to the concat operator.

Parameters:
e - is the expression to rewrite

Returns:
the new expression