The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Zoidberg::StringParse::Syntax use StringParse for Syntax Highlighting

SYNOPSIS

  use Zoidberg::StringParse::Syntax;
  my $parser = Zoidberg::StringParse::Syntax->new;
  my $string = 'some string';
  my $colored_string = $parser->parse($string);

ABSTRACT

  This module does syntax highlighting for Zoidberg

DESCRIPTION

This subclass of Zoidberg::StringParse manipulates its parent class to be usefull for syntax highlighting. It uses Term::ANSIColor for the actual highlighting.

EXPORT

None by default.

METHODS

new()

  Simple constructor, you can suppply a custom grammar as arg.

parse($string)

  Returns highlighted version of $string.

AUTHOR

Jaap Karssenberg || Pardus [Larus] <j.g.karssenberg@student.utwente.nl> R.L. Zwart, <carlos@caremail.nl>

Copyright (c) 2002 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

perl

Zoidberg

Zoidberg::StringParse

http://zoidberg.sourceforge.net.