Class ParserDescription
java.lang.Object
it.uniroma2.art.semanticturkey.syntax.manchester.owl2.ManchesterOWL2SyntaxParserBaseListener
it.uniroma2.art.semanticturkey.syntax.manchester.owl2.parsers.ParserDescription
- All Implemented Interfaces:
ManchesterOWL2SyntaxParserListener
,org.antlr.v4.runtime.tree.ParseTreeListener
- Direct Known Subclasses:
ParserDatatypeRestrictionExpression
,ParserLiteralEnumerarionRestrictionExpression
-
Field Summary
-
Constructor Summary
ConstructorDescriptionParserDescription
(org.eclipse.rdf4j.model.ValueFactory valueFactory, Map<String, String> prefixToNamespacesMap) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced byManchesterOWL2SyntaxParserParser.description()
.protected org.eclipse.rdf4j.model.IRI
getIRIFromResource
(ManchesterOWL2SyntaxParserParser.ObjectPropertyIRIContext objPropIRIContext) protected ManchesterClassInterface
parseAtomic
(ManchesterOWL2SyntaxParserParser.AtomicContext atomicContext) protected ManchesterClassInterface
parseConjuction
(ManchesterOWL2SyntaxParserParser.ConjunctionContext conjunctionContext) protected ManchesterClassInterface
parseDataAtomic
(ManchesterOWL2SyntaxParserParser.DataAtomicContext dataAtomicContext) protected ManchesterClassInterface
parseDataConjunctionContext
(ManchesterOWL2SyntaxParserParser.DataConjunctionContext dataConjunctionContext) protected ManchesterClassInterface
parseDataPrimary
(ManchesterOWL2SyntaxParserParser.DataPrimaryContext dataPrimaryContext) protected ManchesterClassInterface
parseDataRange
(ManchesterOWL2SyntaxParserParser.DataRangeContext dataRangeContext) protected ManchesterClassInterface
parseDataType
(ManchesterOWL2SyntaxParserParser.DatatypeContext datatypeContext) protected ManchesterClassInterface
parseDatatypeRestriction
(ManchesterOWL2SyntaxParserParser.DatatypeRestrictionContext datatypeRestrictionContext) protected ManchesterClassInterface
parseDescriptionInner
(ManchesterOWL2SyntaxParserParser.DescriptionInnerContext descriptionInnerContext) protected org.eclipse.rdf4j.model.Value
protected ManchesterClassInterface
parseIndividualList
(ManchesterOWL2SyntaxParserParser.IndividualListContext individualListContext) protected org.eclipse.rdf4j.model.Literal
parseLiteral
(ManchesterOWL2SyntaxParserParser.LiteralContext literalContext) protected ManchesterClassInterface
parseLiteralList
(ManchesterOWL2SyntaxParserParser.LiteralListContext literalListContext) protected ManchesterClassInterface
parseNotRestriction
(ManchesterOWL2SyntaxParserParser.NotRestrictionContext notRestrictionContext) protected ManchesterClassInterface
parsePrimary
(ManchesterOWL2SyntaxParserParser.PrimaryContext primaryContext) protected ManchesterClassInterface
parseRestriction
(ManchesterOWL2SyntaxParserParser.RestrictionContext restrictionContext) Methods inherited from class it.uniroma2.art.semanticturkey.syntax.manchester.owl2.ManchesterOWL2SyntaxParserBaseListener
enterAtomic, enterClassIRI, enterConjunction, enterDataAtomic, enterDataConjunction, enterDataPrimary, enterDataPropertyExpression, enterDataRange, enterDatatype, enterDatatypeIRI, enterDatatypeRestriction, enterDecimalLiteral, enterDescriptionInner, enterEveryRule, enterExponent, enterFloatingPointLiteral, enterIndividual, enterIndividualList, enterIntegerLiteral, enterInverseObjectProperty, enterLiteral, enterLiteralList, enterNonNegativeInteger, enterNotRestriction, enterObjectPropertyExpression, enterObjectPropertyIRI, enterPrefixedName, enterPrimary, enterQuotedString, enterRestriction, enterRestrictionValue, enterStringLiteralNoLanguage, enterStringLiteralWithLanguage, enterTypedLiteral, exitAtomic, exitClassIRI, exitConjunction, exitDataAtomic, exitDataConjunction, exitDataPrimary, exitDataPropertyExpression, exitDataRange, exitDatatype, exitDatatypeIRI, exitDatatypeRestriction, exitDecimalLiteral, exitDescription, exitDescriptionInner, exitEveryRule, exitExponent, exitFloatingPointLiteral, exitIndividual, exitIndividualList, exitIntegerLiteral, exitInverseObjectProperty, exitLiteral, exitLiteralList, exitNonNegativeInteger, exitNotRestriction, exitObjectPropertyExpression, exitObjectPropertyIRI, exitPrefixedName, exitPrimary, exitQuotedString, exitRestriction, exitRestrictionValue, exitStringLiteralNoLanguage, exitStringLiteralWithLanguage, exitTypedLiteral, visitErrorNode, visitTerminal
-
Field Details
-
FACET_LENGTH
-
FACET_MINLENGTH
-
FACET_MAXLENGTH
-
FACET_PATTERN
-
FACET_LANGRANGE
-
FACET_LESSEQ
-
FACET_LESS
-
FACET_GREATEREQ
-
FACET_GREATER
-
-
Constructor Details
-
ParserDescription
-
-
Method Details
-
getManchesterClass
-
enterDescription
Description copied from class:ManchesterOWL2SyntaxParserBaseListener
Enter a parse tree produced byManchesterOWL2SyntaxParserParser.description()
.The default implementation does nothing.
- Specified by:
enterDescription
in interfaceManchesterOWL2SyntaxParserListener
- Overrides:
enterDescription
in classManchesterOWL2SyntaxParserBaseListener
- Parameters:
ctx
- the parse tree
-
parseDescriptionInner
protected ManchesterClassInterface parseDescriptionInner(ManchesterOWL2SyntaxParserParser.DescriptionInnerContext descriptionInnerContext) -
parseConjuction
protected ManchesterClassInterface parseConjuction(ManchesterOWL2SyntaxParserParser.ConjunctionContext conjunctionContext) -
parseNotRestriction
protected ManchesterClassInterface parseNotRestriction(ManchesterOWL2SyntaxParserParser.NotRestrictionContext notRestrictionContext) -
parsePrimary
protected ManchesterClassInterface parsePrimary(ManchesterOWL2SyntaxParserParser.PrimaryContext primaryContext) -
parseAtomic
protected ManchesterClassInterface parseAtomic(ManchesterOWL2SyntaxParserParser.AtomicContext atomicContext) -
parseIndividualList
protected ManchesterClassInterface parseIndividualList(ManchesterOWL2SyntaxParserParser.IndividualListContext individualListContext) -
parseRestriction
protected ManchesterClassInterface parseRestriction(ManchesterOWL2SyntaxParserParser.RestrictionContext restrictionContext) -
parseLiteral
protected org.eclipse.rdf4j.model.Literal parseLiteral(ManchesterOWL2SyntaxParserParser.LiteralContext literalContext) -
parseIndividual
protected org.eclipse.rdf4j.model.Value parseIndividual(ManchesterOWL2SyntaxParserParser.IndividualContext individual) -
parseDataPrimary
protected ManchesterClassInterface parseDataPrimary(ManchesterOWL2SyntaxParserParser.DataPrimaryContext dataPrimaryContext) -
parseDataAtomic
protected ManchesterClassInterface parseDataAtomic(ManchesterOWL2SyntaxParserParser.DataAtomicContext dataAtomicContext) -
parseLiteralList
protected ManchesterClassInterface parseLiteralList(ManchesterOWL2SyntaxParserParser.LiteralListContext literalListContext) -
parseDataType
protected ManchesterClassInterface parseDataType(ManchesterOWL2SyntaxParserParser.DatatypeContext datatypeContext) -
parseDatatypeRestriction
protected ManchesterClassInterface parseDatatypeRestriction(ManchesterOWL2SyntaxParserParser.DatatypeRestrictionContext datatypeRestrictionContext) -
parseDataRange
protected ManchesterClassInterface parseDataRange(ManchesterOWL2SyntaxParserParser.DataRangeContext dataRangeContext) -
parseDataConjunctionContext
protected ManchesterClassInterface parseDataConjunctionContext(ManchesterOWL2SyntaxParserParser.DataConjunctionContext dataConjunctionContext) -
getIRIFromResource
protected org.eclipse.rdf4j.model.IRI getIRIFromResource(ManchesterOWL2SyntaxParserParser.ObjectPropertyIRIContext objPropIRIContext)
-