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