src/main/java/com/virgo47/vexpressed/VexpressedUtils.java
public static ExpressionType check(String expression,
		VariableTypeResolver variableTypeResolver, FunctionTypeResolver functionTypeResolver)
	{
		ParseTree parseTree = createParseTree(expression);
		ExpressionValidatorVisitor visitor = new ExpressionValidatorVisitor(variableTypeResolver)
			.withFunctionTypeResolver(functionTypeResolver);
		return visitor.visit(parseTree);
	}
/**
	 * Checks validity of this expression and returns its {@link ExpressionType} when valid,
	 * otherwise throws exception. Does not cache parse tree, but for validation this may
	 * actually be more appropriate behavior as it is expected that many variations of the
	 * expression will be checked.
	 */
Checks validity of this expression and returns its  ExpressionType when valid,
otherwise throws exception. Does not cache parse tree, but for validation this may
actually be more appropriate behavior as it is expected that many variations of the
expression will be checked.
Checks validity of this expression and returns its ExpressionType when valid otherwise throws exception . Does not cache parse tree but for validation this may actually be more appropriate behavior as it is expected that many variations of the expression will be checked .
public static ExpressionType check(String expression,
		VariableTypeResolver variableTypeResolver, FunctionTypeResolver functionTypeResolver)
	{
		ParseTree parseTree = createParseTree(expression);
		ExpressionValidatorVisitor visitor = new ExpressionValidatorVisitor(variableTypeResolver)
			.withFunctionTypeResolver(functionTypeResolver);
		return visitor.visit(parseTree);
	}
public static ExpressionType check ( String expression , VariableTypeResolver variableTypeResolver , FunctionTypeResolver functionTypeResolver ) { ParseTree parseTree = createParseTree ( expression ) ; ExpressionValidatorVisitor visitor = new ExpressionValidatorVisitor ( variableTypeResolver ) . withFunctionTypeResolver ( functionTypeResolver ) ; return visitor . visit ( parseTree ) ; }
Checks validity of this expression and returns its {@link ExpressionType} when valid,
 otherwise throws exception.
Checks validity of this expression and returns its { @link ExpressionType } when valid otherwise throws exception .