// parseP parses the expression and consumes the closing brace.
parseP parses the expression and consumes the closing brace.
// parseP parses the expression and consumes the closing brace .
func (s *Ontology) parseP(p *parser.Parser) (P meta.ObjectPropertyExpression, err error) {
	if P, err = parsefuncs.ParseObjectPropertyExpression(p, s.Decls, s); err != nil {
		return
	}
	if err = p.ConsumeTokens(parser.B2); err != nil {
		return
	}
	return
}
func ( s * Ontology ) parseP ( p * parser . Parser ) ( P meta . ObjectPropertyExpression , err error ) { if P , err = parsefuncs . ParseObjectPropertyExpression ( p , s . Decls , s ) ; err != nil { return } if err = p . ConsumeTokens ( parser . B2 ) ; err != nil { return } return }
parseP parses the expression and consumes the closing brace.
parseP parses the expression and consumes the closing brace .