Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.617.778 Times

CSS::SAC::LexicalUnit 0.06

  Date Added: July 17, 2010  |  Visits: 584

CSS::SAC::LexicalUnit

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 downloads)



CSS::SAC::LexicalUnit is a Perl module that contains SAC units. SYNOPSIS use CSS::SAC::LexicalUnit qw(:constants); foo if $lu->is_type(LU_TYPE_CONSTANT); In the SAC spec, LexicalUnit is a linked list, that is, you only ever hold one LexicalUnit, and you ask for the next of for the previous one when you want to move on. Such a model seems awkward, though Im sure it makes sense somehow in Java, likely for a Java-specific reason. In the Perl implementation, I have changed this. A LexicalUnit is an object that stands on its own and has no next/previous objects. Instead, the $handler->property callback gets called with a LexicalUnitList, which is in fact just an array ref of LexicalUnits. We also dont differentiate between IntegerValue, FloatValue, and StringValue, its always Value in Perl. This also applies to Parameters and SubValues. Both are called as Value and return an array ref of LexicalUnits. I added the is_type() method, see CSS::SAC::Condition for advantages of that approach. CONSTANTS - ATTR - CENTIMETER - COUNTER_FUNCTION - COUNTERS_FUNCTION - DEGREE - DIMENSION - EM - EX - FUNCTION - GRADIAN - HERTZ - IDENT - INCH - INHERIT - INTEGER - KILOHERTZ - MILLIMETER - MILLISECOND - OPERATOR_COMMA - OPERATOR_EXP - OPERATOR_GE - OPERATOR_GT - OPERATOR_LE - OPERATOR_LT - OPERATOR_MINUS - OPERATOR_MOD - OPERATOR_MULTIPLY - OPERATOR_PLUS - OPERATOR_SLASH - OPERATOR_TILDE - PERCENTAGE - PICA - PIXEL - POINT - RADIAN - REAL - RECT_FUNCTION - RGBCOLOR - SECOND - STRING_VALUE - SUB_EXPRESSION - UNICODERANGE - URI METHODS CSS::SAC::LexicalUnit->new($type,$text,$value) or $lu->new($type,$text,$value) Creates a new unit. The $type must be one of the type constants, the text depends on the type of unit (unit text, func name, etc...), and the value is the content of the lu. $lu->DimensionUnitText([$dut]) or getDimensionUnitText get/set the text of the dimension unit (eg cm, px, etc...) $lu->FunctionName([$fn]) or getFunctionName get/set the name of the function (eg attr, uri, etc...) $lu->Value([$value]) or getValue get/set the value of the lu (which may be another lu, or a lu list) $lu->LexicalUnitType([$type]) or getLexicalUnitType get/set the type of the lu $lu->is_type($lu_constant) returns true is this lu is of type $lu_constant.

Requirements: No special requirements
Platforms: Linux
Keyword: Css Csssaclexicalunit Function Lexicalunit Libraries Lu Module Operator Perl Perl Module Programming Sac Type Value
Users rating: 0/10

License: Freeware Size: 37.89 KB
USER REVIEWS
More Reviews or Write Review


CSS::SAC::LEXICALUNIT RELATED
Libraries  -  OzDB 0.02
OzDB is a database Perl interface module for OzBot. SYNOPSIS use OzDB; The OzDB Perl module handles authentication and access control for the OzBot based utility bots. The basic database format is the authentication schema. This is based on...
12.29 KB  
Libraries  -  Math::Logic 1.19
Math::Logic is a Perl module that provides pure 2, 3 or multi-value logic. SYNOPSIS use Math::Logic qw( $TRUE $FALSE $UNDEF $STR_TRUE $STR_FALSE $STR_UNDEF ) ; # 1 0 -1 TRUE FALSE UNDEF use Math::Logic :NUM ; # $TRUE $FALSE $UNDEF -- what...
12.29 KB  
Libraries  -  Drupal::Module::Starter 0.06
Drupal::Module::Starter is a Perl module to create Drupal Module starter files. SYNOPSIS You probably dont want to use this module directly - you want to use the drupal-module-starter script in the scripts directory of the distribution use...
14.34 KB  
Libraries  -  Doc::Perlish 0.14
Doc::Perlish is a Perl module that contains Perl Documentation Tools. SYNOPSIS my $doc = Doc::Perlish->new( type => "POD", input => "source.pod" ); # simple conversions; my $html = $doc->to_html; # DOM-style interface; see...
56.32 KB  
Libraries  -  XML::PatAct::ToObjects 0.08
XML::PatAct::ToObjects is an action module for creating Perl objects. SYNOPSIS use XML::PatAct::ToObjects; my $patterns = [ PATTERN => [ OPTIONS ], PATTERN => "PERL-CODE", ... ]; my $matcher = XML::PatAct::ToObjects->new( Patterns =>...
31.74 KB  
Libraries  -  Language::Functional 0.03
Language::Functional is a Perl module which makes Perl slightly more functional. SYNOPSIS use Language::Functional :all; print The first ten primes are: , show(take(10, filter { prime(shift) } integers)), "n"; Perl already contains some...
16.38 KB  
Libraries  -  Wx::Perl::Packager 0.07
Wx::Perl::Packager provides a module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl A module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl2Exe. All that is needed...
12.29 KB  
Libraries  -  Getopt::EvaP 2.3.5
Getopt::EvaP is a Perl module to evaluate Perl command line parameters. SYNOPSIS use vars qw/@PDT @MM %OPT/; use Getopt::EvaP; EvaP @PDT, @MM, %OPT; EXPORT use Getopt::EvaP exports the subs EvaP and EvaP_PAC into your name space. @PDT...
52.22 KB  
Modules  -  Cyrilic Module 1.0
Module that allows to the users to type in forms in cyrilic, even if they don't have it installed on their PC. Supports two types of keyboards: Standard and Phonetic (English Based)
 
Libraries  -  ffcall 1.10
ffcall is a foreign function call libraries. This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters. The four packages are: avcall calling C functions with variable...
911.36 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB