public class PearlParserAntlr4 extends ParserPR
codaCore, previousPrModel
description, id
Constructor and Description |
---|
PearlParserAntlr4(String id,
String description) |
PearlParserAntlr4(String id,
String description,
ProjectionRulesModel prevProjRulesModel) |
Modifier and Type | Method and Description |
---|---|
ConverterMention |
parseConverterMention(String textualConverterMention,
Map<String,String> prefixMapping) |
ProjectionRulesModel |
parsePearlDocument(File prFile,
boolean rulesShouldExists) |
ProjectionRulesModel |
parsePearlDocument(InputStream prInputStream,
boolean rulesShouldExists) |
ProjectionOperator |
parseProjectionOperator(String textualProjectionOperator,
Map<String,String> prefixMapping) |
createPearlParserDescription, initialize
getDescription, getId, setDescription
public PearlParserAntlr4(String id, String description, ProjectionRulesModel prevProjRulesModel)
public ProjectionRulesModel parsePearlDocument(File prFile, boolean rulesShouldExists) throws PRParserException
parsePearlDocument
in class ParserPR
PRParserException
public ProjectionRulesModel parsePearlDocument(InputStream prInputStream, boolean rulesShouldExists) throws PRParserException
parsePearlDocument
in class ParserPR
PRParserException
public ConverterMention parseConverterMention(String textualConverterMention, Map<String,String> prefixMapping) throws PRParserException
parseConverterMention
in class ParserPR
PRParserException
public ProjectionOperator parseProjectionOperator(String textualProjectionOperator, Map<String,String> prefixMapping) throws PRParserException
parseProjectionOperator
in class ParserPR
PRParserException
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.