// ParseA reads IRI as AnnotationProperty, which is shortened as "A" in the OWL spec
ParseA reads IRI as AnnotationProperty, which is shortened as "A" in the OWL spec
// ParseA reads IRI as AnnotationProperty which is shortened as " A " in the OWL spec
func ParseA(p *parser.Parser, decls store.Decls, prefixes tech.Prefixes) (expr meta.AnnotationProperty, err error) {
	pos := p.Pos()
	var AIRI *tech.IRI
	AIRI, err = parsehelper.ParseAndResolveIRI(p, prefixes)
	if err != nil {
		err = pos.EnrichErrorMsg(err, "reading AnnotationProperty IRI")
		return
	}
	var ok bool
	expr, ok = decls.AnnotationPropertyDecl(AIRI.String())
	if !ok {
		err = pos.Errorf("undeclared AnnotationProperty")
		return
	}
	return
}
func ParseA ( p * parser . Parser , decls store . Decls , prefixes tech . Prefixes ) ( expr meta . AnnotationProperty , err error ) { pos := p . Pos ( ) var AIRI * tech . IRI AIRI , err = parsehelper . ParseAndResolveIRI ( p , prefixes ) if err != nil { err = pos . EnrichErrorMsg ( err , " " ) return } var ok bool expr , ok = decls . AnnotationPropertyDecl ( AIRI . String ( ) ) if ! ok { err = pos . Errorf ( " " ) return } return }
ParseA reads IRI as AnnotationProperty, which is shortened as "A" in the OWL spec
ParseA reads IRI as AnnotationProperty which is shortened as " A " in the OWL spec