package com.modulus.dataread.expressions;
/**
* Interface which describes how an expression parser
* will handle information from an interpreter file.
*
* @author jrahm
*
* @param S the statement type which is used to create this class
*/
public interface StatementTreeParser {
/**
* Parse a block of code into statements using the statement factory factory
* to generate the statements to use.
* @param the type of statement to use.
* @param factory the factory to generate the statements
* @return a Statement of type T that represents the code parsed
*/
Statement parseStatements(StatementFactory factory);
}