org.waxeye.parser.IParser Maven / Gradle / Ivy
/*
* Waxeye Parser Generator
* www.waxeye.org
* Copyright (C) 2008-2010 Orlando Hill
* Licensed under the MIT license. See 'LICENSE' for details.
*/
package org.waxeye.parser;
import org.waxeye.input.IParserInput;
/**
* An interface to a Waxeye parser.
*
* @param The node types for the AST.
*
* @author Orlando Hill
*/
public interface IParser >
{
/**
* Parses the input.
*
* @param input The input to parse.
*
* @return A ParseResult with either an AST or an error.
*/
ParseResult parse(IParserInput input);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy