![JAR search and dependency download from the Maven repository](/logo.png)
org.unlaxer.tinyexpression.parser.StringFactorParser Maven / Gradle / Ivy
package org.unlaxer.tinyexpression.parser;
import java.util.Set;
import org.unlaxer.util.Singletons;
public class StringFactorParser extends AbstractStringFactorParser implements TypedParser{
@Override
public boolean hasNakedVariableParser() {
return true;
}
@Override
public org.unlaxer.parser.Parsers getLazyParsers() {
return getLazyParsers(true);
}
@Override
public ExpressionTypes type() {
return ExpressionTypes.string;
}
@Override
public Set allTypes() {
return allTypes;
}
@Override
public Set otherTypes() {
return otherTypes;
}
static Set allTypes = Set.of(
Singletons.get(NumberFactorParser.class),
Singletons.get(StringFactorParser.class),
Singletons.get(BooleanFactorParser.class)
);
static Set otherTypes = Set.of(
Singletons.get(NumberFactorParser.class),
Singletons.get(BooleanFactorParser.class)
);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy