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

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

Serving Software Downloads in 956 Categories, Downloaded 50.339.621 Times

CSS::SAC::LexicalUnit 0.06

  Date Added: July 17, 2010  |  Visits: 906

CSS::SAC::LexicalUnit

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 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  -  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  
Libraries  -  Chilkat Class Libraries for Java 9.2.1
The full suite of Chilkat components & libraries are now available for the Java programming language. Commercially licensed components include: Email (POP3 / SMTP) IMAP Zip, GZip, and Unix Compress Encryption MIME and S/MIME FTP HTTP MHT...
 
Miscellaneous  -  Finding the value passed to a function by name 1.2
Sometimes inside a decorator that creates a function with a generic (*args, **kwargs) signature, you want to access a value passed for a particular parameter name to a wrapped function, but don't know whether that value will be passed as a...
 
Libraries  -  Net::DNS::ValueDomain::DDNS 0.02
Net::DNS::ValueDomain::DDNS is a Perl module to update your Value-Domain (https://www.value-domain.com/) DynamicDNS records. SYNOPSIS use Net::DNS::ValueDomain::DDNS; # Normal usage my $ddns = Net::DNS::ValueDomain::DDNS->new;...
11.26 KB  
Libraries  -  Class::Meta::Type 0.53
Class::Meta::Type is a Perl module for data type validation and accessor building. SYNOPSIS package MyApp::TypeDef; use strict; use Class::Meta::Type; use IO::Socket; my $type = Class::Meta::Type->add( key => io_socket, desc =>...
61.44 KB  
Development Editors  -  RadRails 2.0.4.12681589
Everything you Need for Rails Development Build, deploy and scale Ruby on Rails apps faster using Aptana RadRails and Aptana Cloud, both of which extend Aptana Studio's unprecedented ease for JavaScript, DOM, HTML, CSS, and popular Ajax...
1024 KB  
Screen Savers  -  IFS3D .0 2
About IFS3D A 3D Iterated Function System screen saver module for Mac OS X. Clouds of points which form into swirling shapes, and then explode into clouds again. Rotating, gear-like shapes twisting into new shapes. Whats New in this Version...
61.44 KB  
Development Editors  -  Ccy Text Editor 1.3.1
Text editor with syntax highlighting for Html, XML, C++, CSS, Delphi, Java, Fortran, Foxpro, Java, Javascript, KIX32, Perl, PHP, XQL, Pascal, Visual Basic, Assembly and Initial files. Can read Rich Text Format rtf files. Generates a highlighting...
1.1 MB  
Modules  -  relatedviews 1.0
You can use this module in this type of situation: You can define a block which contains a view. The view uses the filter "Taxonomy: Term from current node", and therefore the view will contain nodes that share taxonomy terms with the current node...
 
Miscellaneous  -  SMAWK totally monotone matrix searching algorithm 1.0
This SMAWK algorithm takes as input a function for computing matrix values, and searches for the position of maximum value in each row. The matrix must satisfy the "totally monotone" property: in each submatrix (in particular each 2x2 submatrix)...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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