All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.tinyexpression.parser.FactorOfStringParser Maven / Gradle / Ivy

package org.unlaxer.tinyexpression.parser;

import java.util.List;

import org.unlaxer.parser.Parser;
import org.unlaxer.parser.Parsers;
import org.unlaxer.parser.combinator.LazyChoice;

public class FactorOfStringParser extends LazyChoice{
	
	private static final long serialVersionUID = -371473916528690853L;
	
	
	public FactorOfStringParser() {
		super();
	}


	List parsers;

	
	@Override
	public void initialize() {
		
		// FactorOfString:=StringLength|StringIndexOf;
		parsers = 
			new Parsers(
				Parser.get(StringLengthParser.class)
//				Parser.get(StringIndexOfParser.class)
			);
	}


	@Override
	public List getLazyParsers() {
		return parsers;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy