jtl-eclipse-master/ASPM.resource.aspm/src-gen/ASPM/resource/aspm/IAspmTextScanner.java
/**
 * <copyright>
 * </copyright>
 *
 * 
 */
package ASPM.resource.aspm;

/**
 * A common interface for scanners to be used by EMFText. A scanner is initialized
 * with a text and delivers a sequence of tokens.
 */
public interface IAspmTextScanner {
	
	/**
	 * Sets the text that must be scanned.
	 */
	public void setText(String text);
	
	/**
	 * Returns the next token found in the text.
	 */
	public ASPM.resource.aspm.IAspmTextToken getNextToken();
	
}
