org.unlaxer.tinyexpression.parser.ToNumNameParser 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.parser;
import org.unlaxer.parser.SuggestableParser;
public class ToNumNameParser extends SuggestableParser {
private static final long serialVersionUID = 2741478106997736124L;
public ToNumNameParser() {
super(true, "toNum");
}
@Override
public String getSuggestString(String matchedString) {
return "(".concat(matchedString).concat(")");
}
}