8 |
my $self = shift->SUPER::____new (shift); |
my $self = shift->SUPER::____new (shift); |
9 |
$$self->{node_name} = $_[0]; |
$$self->{node_name} = $_[0]; |
10 |
$$self->{child_nodes} = []; |
$$self->{child_nodes} = []; |
11 |
|
$$self->{allowed_token} = []; |
12 |
return $self; |
return $self; |
13 |
} # ____new |
} # ____new |
14 |
|
|
94 |
|
|
95 |
## |AttributeDefinition| attributes |
## |AttributeDefinition| attributes |
96 |
|
|
97 |
|
sub allowed_token ($) { |
98 |
|
## TODO: |
99 |
|
return ${$_[0]}->{allowed_token}; |
100 |
|
} |
101 |
|
|
102 |
sub declared_type ($;$) { |
sub declared_type ($;$) { |
103 |
my $self = $_[0]; |
my $self = $_[0]; |
104 |
if (@_ > 1) { |
if (@_ > 1) { |