org.unlaxer.tinyexpression.evaluator.javacode.StringExpressionBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tinyExpression Show documentation
Show all versions of tinyExpression Show documentation
TinyExpression implemented with Unlaxer
package org.unlaxer.tinyexpression.evaluator.javacode;
import org.unlaxer.Token;
public class StringExpressionBuilder implements TokenCodeBuilder {
public static final StringExpressionBuilder SINGLETON = new StringExpressionBuilder();
@Override
public void build(SimpleJavaCodeBuilder builder , Token token ,
TinyExpressionTokens tinyExpressionTokens) {
ExpressionOrLiteral one = StringClauseBuilder.SINGLETON.build(token , tinyExpressionTokens);
builder.append(one.toString());
}
}