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} = []; |
$$self->{allowed_tokens} = []; |
12 |
return $self; |
return $self; |
13 |
} # ____new |
} # ____new |
14 |
|
|
94 |
|
|
95 |
## |AttributeDefinition| attributes |
## |AttributeDefinition| attributes |
96 |
|
|
97 |
sub allowed_token ($) { |
sub allowed_tokens ($) { |
98 |
## TODO: |
## TODO: |
99 |
return ${$_[0]}->{allowed_token}; |
return ${$_[0]}->{allowed_tokens}; |
100 |
} |
} |
101 |
|
|
102 |
sub declared_type ($;$) { |
sub declared_type ($;$) { |