1 package org.springframework.roo.shell; 2 3 import java.util.List; 4 5 /** 6 * Interface for {@link SimpleParser}. 7 * 8 * @author Ben Alex 9 * @since 1.0 10 * 11 */ 12 public interface Parser { 13 14 public abstract ParseResult parse(String buffer); 15 16 public abstract int complete(String buffer, int cursor, List<String> candidates); 17 18 }