
package Text::Wigwam::Engine::Fusion::Token::Terminator;

    use strict;
    use warnings;
    our $VERSION = '0.01';

    use Text::Wigwam::Engine::Fusion::Token::Terminator::Code;
    use Text::Wigwam::Engine::Fusion::Token::Terminator::Explicit;
    use Text::Wigwam::Engine::Fusion::Token::Terminator::Fast;
    use Text::Wigwam::Engine::Fusion::Token::Terminator::Expression;
    use Text::Wigwam::Engine::Fusion::Token::Terminator::Generic;
    use Text::Wigwam::Engine::Fusion::Token::Terminator::Root;
    use Text::Wigwam::Engine::Fusion::Token::Terminator::Text;

sub new {
    my ($class, $type, @params) = @_;
    no strict q/subs/;
    my $subclass = join( "::" => __PACKAGE__, ucfirst lc $type );
    return $subclass->new(@params);
}

1;
