/* IInstructionParserStage.java (c) 2008-2013 Edward Swartz All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html */ package v9t9.tools.asm; import v9t9.common.asm.IInstruction; /** * Attempt to parse instruction(s) of a given type. * @author ejs * */ public interface IInstructionParserStage { /** Try to parse one or more instructions from a string. * @param descr * @param string the text * * @return instructions generated, or <code>null</code> if unhandled * @throws ParseException if string parsed but errorneous */ IInstruction[] parse(String descr, String string) throws ParseException; }