Syntax-Highlight-Engine-Kate
view release on metacpan or search on metacpan
lib/Syntax/Highlight/Engine/Kate/Perl.pm view on Meta::CPAN
# Copyright (c) 2005 - 2006 Hans Jeuken. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
# This file was generated from the 'perl.xml' file of the syntax highlight
# engine of the kate text editor (http://www.kate-editor.org
#kate xml version 1.20
#kate version 2.4
#kate author Anders Lund (anders@alweb.dk)
#generated: Sun Feb 3 22:02:05 2008, localtime
package Syntax::Highlight::Engine::Kate::Perl;
our $VERSION = '0.16';
use strict;
use warnings;
use base('Syntax::Highlight::Engine::Kate::Template');
sub new {
my $proto = shift;
my $class = ref($proto) || $proto;
my $self = $class->SUPER::new(@_);
$self->attributes({
'Comment' => 'Comment',
'Data' => 'Normal',
'Data Type' => 'DataType',
'Decimal' => 'DecVal',
'Float' => 'Float',
'Function' => 'Function',
'Hex' => 'BaseN',
'Keyword' => 'Keyword',
'Normal Text' => 'Normal',
'Nothing' => 'Comment',
'Octal' => 'BaseN',
'Operator' => 'Operator',
'Pattern' => 'Others',
'Pattern Character Class' => 'BaseN',
'Pattern Internal Operator' => 'Char',
'Pod' => 'Comment',
'Pragma' => 'Keyword',
'Special Variable' => 'Variable',
'String' => 'String',
'String (interpolated)' => 'String',
'String Special Character' => 'Char',
});
$self->listAdd('functions',
'abs',
'accept',
'alarm',
'atan2',
'bind',
'binmode',
'bless',
'caller',
'chdir',
'chmod',
'chomp',
'chop',
'chown',
'chr',
'chroot',
'close',
'closedir',
'connect',
'cos',
'crypt',
'dbmclose',
'dbmopen',
'defined',
'delete',
'die',
'dump',
'endgrent',
'endhostent',
'endnetent',
'endprotoent',
'endpwent',
'endservent',
'eof',
'eval',
'exec',
'exists',
'exit',
'exp',
'fcntl',
'fileno',
'flock',
'fork',
'format',
'formline',
'getc',
'getgrent',
'getgrgid',
'getgrnam',
'gethostbyaddr',
'gethostbyname',
'gethostent',
'getlogin',
'getnetbyaddr',
'getnetbyname',
'getnetent',
'getpeername',
'getpgrp',
'getppid',
'getpriority',
'getprotobyname',
'getprotobynumber',
'getprotoent',
'getpwent',
'getpwnam',
'getpwuid',
'getservbyname',
'getservbyport',
'getservent',
'getsockname',
'getsockopt',
'glob',
'gmtime',
'goto',
( run in 0.477 second using v1.01-cache-2.11-cpan-5511b514fd6 )