| 1 | package XML::Validator::Schema::ComplexTypeNode; | ||||||||||
| 2 | 5 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 5 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 5 | ▶ | use base 'XML::Validator::Schema::ElementNode'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | =head1 NAME | ||||||||||
| 8 | |||||||||||
| 9 | XML::Validator::Schema::ComplexTypeNode | ||||||||||
| 10 | |||||||||||
| 11 | =head1 DESCRIPTION | ||||||||||
| 12 | |||||||||||
| 13 | This is an internal module used by XML::Validator::Schema to represent | ||||||||||
| 14 | complexType nodes derived from XML Schema documents. | ||||||||||
| 15 | |||||||||||
| 16 | =cut | ||||||||||
| 17 | |||||||||||
| 18 | 8 | ▶ | sub compile { | ||||||||
|
Subroutine
compile: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 19 | 8 | my ($self) = shift; | |||||||||
| 20 | 8 | $self->SUPER::compile(); | |||||||||
| 21 | |||||||||||
| 22 | # register in the library if this is a named type | ||||||||||
| 23 | $self->root->{type_library}->add(name => $self->{name}, | ||||||||||
| 24 | obj => $self) | ||||||||||
| 25 | 8 | ▶ | if $self->{name}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 5 | 1; | |||||||||