NAME
Gedcom::Grammar - a class to manipulate Gedcom grammars
Version 1.01 - 27th April 1999
SYNOPSIS
use Gedcom::Grammar;
my $structures = $grammar->structures()
my @children = $grammar->valid_children($structures)
DESCRIPTION
A selection of subroutines to handle the grammar of a gedcom file.
Derived from Gedcom::Item.
HASH MEMBERS
Some of the more important hash members are:
$grammar->{structure}
The name of the grammar structure.
METHODS
structures
my $structures = $grammar->structures()
Return a reference to a hash mapping the names of all child structures to the grammar objects.
valid_children
my @children = $grammar->valid_children($structures)
Return an array of all the valid children of the grammar item.