ExtUtils-ParseXS
view release on metacpan or search on metacpan
lib/ExtUtils/ParseXS/Node.pm view on Meta::CPAN
my ($class, $args) = @_;
$args = {} unless defined $args;
my __PACKAGE__ $self = shift;
if ($USING_FIELDS) {
$self = fields::new($class);
%$self = %$args;
}
else {
$self = bless { %$args } => $class;
}
return $self;
}
# A very generic parse method that just notes the current file/line no.
# Typically called first as a SUPER by the parse() method of real nodes.
sub parse {
( run in 0.939 second using v1.01-cache-2.11-cpan-2b1a40005be )