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 creationgetFileName()– it does the same asgetMappedFileName()but without opening the mapping file firstreload()
The following methods exist due to backwards compatibility with earlier versions of this package:
langNames()is the same asgetLangNames()mappedFileNames()is the same asgetMappedFileNames()
SEE ALSO
The main documentation with examples is in the Syntax::SourceHighlight POD.