NAME

Syntax::SourceHighlight::LangMap - Perl class for libsource-highlight's srchilite::LangMap

SYNOPSIS

use Syntax::SourceHighlight;
my $lm = Syntax::SourceHighlight::LangMap->new();
print( $lm->getMappedFileName('bash'), "\n" );

DESCRIPTION

This is the counterpart to the libsource-highlight's srchilite::LangMap class.

The following public methods are implemented in this package:

These are missing:

  • open() – invoked automatically after Perl object creation

  • getFileName() – it does the same as getMappedFileName() but without opening the mapping file first

  • reload()

The following methods exist due to backwards compatibility with earlier versions of this package:

SEE ALSO

The main documentation with examples is in the Syntax::SourceHighlight POD.