[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/filters/ -> StripPhpComments.php (sommaire)

(pas de description)

Poids: 190 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

StripPhpComments:: (3 méthodes):
  read()
  readChar()
  chain()


Classe: StripPhpComments  - X-Ref

This is a Php comment and string stripper reader that filters
those lexical tokens out for purposes of simple Php parsing.
(if you have more complex Php parsing needs, use a real lexer).
Since this class heavily relies on the single char read function,
you are reccomended to make it work on top of a buffered reader.

read($len = null)   X-Ref
Returns the  stream without Php comments.

return: the resulting stream, or -1

readChar()   X-Ref
Pas de description

chain(Reader $reader)   X-Ref
Creates a new StripJavaComments using the passed in
Reader for instantiation.

param: reader A Reader object providing the underlying stream.
return: a new filter based on this configuration, but filtering



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7