PHP Classes
Icontem

Class: SourceMap


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrea Giammarchi  >  SourceMap  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SourceMap Support forum
Base name: sourcemap
Description: Tokenize source code in several languages
Related top rated classes:
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1036 users
All time rank: 2423
Week users: 2 users
Week rank: 2923
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependents   Applications   Files Files  

Author

Picture of Andrea Giammarchi
Name: Andrea Giammarchi <e-mail contact>
Published packages: 17 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: http://www.3site.it/
Age: 31
All time rank: 23
Week rank: 46

Groups

Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to parse and extract a list of tokens from source code in one of several supported languages.

It can parse source code in a given language and extract tokens according to the definitions of token delimiter character sequences for that language. The class supports PHP, Javascript and Python.

It can extract several types of tokens: comments in one or more lines, single or double quoted strings and pure code. Other tokens may be supported by adding rules for them to the delimiters definitions.

The parsed tokens are returned as an array that includes the name of the token delimiter as well its start and end positions in the original source code text.

User ratings

There are not enough user ratings to display for this class.

Packages that need this class

Class Dependency Why it is needed
Cruncher class
Required
Use this class to map source codes
GzOutput
Required
Use this class to map source codes
JavaScript Compressor
Required
Generates the JS source code map.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file SourceMap.class.php Class PHP Version
Plain text file delimeters.php Aux. Delimeters Example
Plain text file common.php Aux. External Utilities
Plain text file testphp.php Example SimpleTest File
Plain text file common.js Data JavaScript External Utilities
Plain text file common.py Data Python External Utilities
Plain text file delimeters.js Data JavaScript Delimeters Example
Plain text file delimeters.py Data Python Delimeters Example
Plain text file SourceMap.js Data JavaScript Version
Plain text file SourceMap.py Data Python Version
Plain text file testjs.php Aux. JavaScript Test Page
Plain text file testpy.py Data Python Test File
Download all files: sourcemap.tar.gz sourcemap.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products