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

org.unlaxer.tinyexpression.model.EphemeralMarked Maven / Gradle / Ivy

There is a newer version: 1.4.4
Show newest version
package org.unlaxer.tinyexpression.model;

import org.unlaxer.Parsed;
import org.unlaxer.TokenKind;
import org.unlaxer.context.ParseContext;
import org.unlaxer.parser.Parser;
import org.unlaxer.parser.combinator.NoneChildParser;

/**
 * this is ephemeral token marker for rendering
 */
public class EphemeralMarked extends NoneChildParser {

	private static final long serialVersionUID = 194977899173382981L;

	@Override
	public Parsed parse(ParseContext parseContext, TokenKind tokenKind, boolean invertMatch) {
		throw new UnsupportedOperationException("this is marker Parser. unsupported tokenize");
	}

	@Override
	public Parser createParser() {
		return this;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy