![JAR search and dependency download from the Maven repository](/logo.png)
org.unlaxer.tinyexpression.parser.MethodChoiceParser Maven / Gradle / Ivy
package org.unlaxer.tinyexpression.parser;
import org.unlaxer.parser.Parser;
import org.unlaxer.parser.Parsers;
import org.unlaxer.parser.combinator.LazyChoice;
public class MethodChoiceParser extends LazyChoice{
@Override
public org.unlaxer.parser.Parsers getLazyParsers() {
return new Parsers(
Parser.get(NumberMethodParser.class),
Parser.get(StringMethodParser.class),
Parser.get(BooleanMethodParser.class)
);
}
// @TokenExtractor(timings = Timing.CreateOperatorOperandTree)
// public List extractMethods(Token thisParserParsed) {
//
// checkTokenParsedByThisParser(thisParserParsed);
// Token choiced = ChoiceInterface.choiced(thisParserParsed);
// }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy