class JavaCCParserBase {

	AbstractConstant createConstant(String lexicalForm) throws ParseException {
		String absoluteIri;
		try {
			absoluteIri = absolutizeIri(lexicalForm);
		} catch (PrefixDeclarationException e) {
			throw makeParseExceptionWithCause("Failed to parse IRI", e);
		}
		return termFactory.makeAbstractConstant(absoluteIri);
	}

	public  JavaCCParserBase();

}