File Coverage

blib/lib/Text/Sass/Token.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             # -*- mode: cperl; tab-width: 8; indent-tabs-mode: nil; basic-offset: 2 -*-
2             # vim:ts=8:sw=2:et:sta:sts=2
3             #########
4             # Author: annulen
5             # Last Modified: $Date$
6             # Id: $Id$
7             # $HeadURL$
8             #
9             package Text::Sass::Token;
10 28     28   158 use strict;
  28         54  
  28         748  
11 28     28   133 use warnings;
  28         55  
  28         793  
12 28     28   132 use Readonly;
  28         39  
  28         4370  
13              
14             our $VERSION = q[1.0.3];
15              
16             # TODO: Use token patterns from original sass and use them consistently
17              
18             Readonly our $ESCAPE => qr/\\./smx;
19             Readonly our $NMCHAR => qr/[^\s:\\]|$ESCAPE/smx;
20             Readonly our $IDENT => qr/(?:$NMCHAR)+/smx;
21              
22             1;
23             __END__