The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

RDF::Cowl::Lib::Gen::Class::SymTable - Generated docs for RDF::Cowl::SymTable

VERSION

version 1.0.0

MAIN MODULE

RDF::Cowl::SymTable

METHODS

get_prefix_ns_map

Signature:

$self->get_prefix_ns_map(BoolLike|InstanceOf["boolean"] $reverse)

Params:

CowlSymTable $st 
BoolLike|InstanceOf["boolean"] $reverse 

Documentation:

Gets the map that associates prefixes to namespaces.

@param st The symbol table.
@param reverse If true, the reversed map (namespaces to prefixes) is returned.
@return Prefix to namespace map. Throws exception on error.

Throws exception on error.

    C function name: cowl_sym_table_get_prefix_ns_map

get_ns

Signature:

$self->get_ns(CowlString $prefix)

Params:

CowlSymTable $st 
CowlString $prefix 

Documentation:

Returns the namespace associated with the specified prefix.

@param st The symbol table.
@param prefix The prefix.
@return Namespace associated with the prefix, or NULL if the prefix cannot be found.

    C function name: cowl_sym_table_get_ns

get_prefix

Signature:

$self->get_prefix(CowlString $ns)

Params:

CowlSymTable $st 
CowlString $ns 

Documentation:

Returns the prefix associated with the specified namespace.

@param st The symbol table.
@param ns The namespace.
@return Prefix associated with the namespace, or NULL if the prefix cannot be found.

    C function name: cowl_sym_table_get_prefix

register_prefix

Signature:

$self->register_prefix(CowlString $prefix, CowlString $ns, BoolLike|InstanceOf["boolean"] $overwrite)

Params:

CowlSymTable $st 
CowlString $prefix 
CowlString $ns 
BoolLike|InstanceOf["boolean"] $overwrite 

Documentation:

Registers the specified prefix-namespace mapping.

@param st The symbol table.
@param prefix The prefix.
@param ns The namespace.
@param overwrite If true, the new mapping overwrites the previous one.
@return Return code.

    C function name: cowl_sym_table_register_prefix

register_prefix_raw

Signature:

$self->register_prefix_raw(UString $prefix, UString $ns, BoolLike|InstanceOf["boolean"] $overwrite)

Params:

CowlSymTable $st 
UString $prefix 
UString $ns 
BoolLike|InstanceOf["boolean"] $overwrite 

Documentation:

Registers the specified prefix-namespace mapping.

@param st The symbol table.
@param prefix The prefix.
@param ns The namespace.
@param overwrite If true, the new mapping overwrites the previous one.
@return Return code.

    C function name: cowl_sym_table_register_prefix_raw

unregister_prefix

Signature:

$self->unregister_prefix(CowlString $prefix)

Params:

CowlSymTable $st 
CowlString $prefix 

Documentation:

Unregisters the specified prefix.

@param st The symbol table.
@param prefix The prefix.
@return Return code.

    C function name: cowl_sym_table_unregister_prefix

unregister_ns

Signature:

$self->unregister_ns(CowlString $ns)

Params:

CowlSymTable $st 
CowlString $ns 

Documentation:

Unregisters the specified namespace.

@param st The symbol table.
@param ns The namespace.
@return Return code.

    C function name: cowl_sym_table_unregister_ns

merge

Signature:

$self->merge(CowlSymTable $src, BoolLike|InstanceOf["boolean"] $overwrite)

Params:

CowlSymTable $dst 
CowlSymTable $src 
BoolLike|InstanceOf["boolean"] $overwrite 

Documentation:

Merges the contents of a symbol table in the current one.

@param dst The destination symbol table.
@param src The source symbol table.
@param overwrite If true, conflicting prefixes are overwritten in the destination.
@return Return code.

    C function name: cowl_sym_table_merge

get_full_iri

Signature:

$self->get_full_iri(UString $ns, UString $rem)

Params:

CowlSymTable $st 
UString $ns 
UString $rem 

Documentation:

Retrieves the full IRI associated with the specified short IRI.

@param st The symbol table.
@param ns The short namespace.
@param rem The remainder.
@return IRI instance. Throws exception on error.

Throws exception on error.

    C function name: cowl_sym_table_get_full_iri

parse_full_iri

Signature:

$self->parse_full_iri(UString $short_iri)

Params:

CowlSymTable $st 
UString $short_iri 

Documentation:

Retrieves the full IRI associated with the specified short IRI.

@param st The symbol table.
@param short_iri The short IRI.
@return IRI instance. Throws exception on error.

Throws exception on error.

    C function name: cowl_sym_table_parse_full_iri

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2024 by Auto-Parallel Technologies, Inc..

This is free software, licensed under Eclipse Public License - v 2.0.