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

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

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

import org.unlaxer.Token;
import org.unlaxer.tinyexpression.parser.javalang.JavaStyleDelimitedLazyChain;
import org.unlaxer.util.annotation.TokenExtractor;

public abstract class StringMethodExpressionParser extends JavaStyleDelimitedLazyChain{
	
	private static final long serialVersionUID = 1992822145990889756L;

	@TokenExtractor // 何これ
	public static Token getLeftExpression(Token thisParserParsed) {
		return thisParserParsed.filteredChildren.get(0);
	}
	
  @TokenExtractor
	public static Token getMethod(Token thisParserParsed) {
		return thisParserParsed.filteredChildren.get(1);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy