PHP_CodeSniffer
[ class tree: PHP_CodeSniffer ] [ index: PHP_CodeSniffer ] [ all elements ]

Class: PHP_CodeSniffer_Tokenizers_CSS

Source Location: /PHP_CodeSniffer-1.2.0RC3/CodeSniffer/Tokenizers/CSS.php

Class Overview

PHP_CodeSniffer_Tokenizers_PHP
   |
   --PHP_CodeSniffer_Tokenizers_CSS

Tokenizes CSS code.


Author(s):

Version:

  • Release: 1.2.0RC3

Copyright:

  • 2006 Squiz Pty Ltd (ABN 77 084 670 600)

Methods


Inherited Variables

Inherited Methods

Class: PHP_CodeSniffer_Tokenizers_PHP

PHP_CodeSniffer_Tokenizers_PHP::processAdditional()
Performs additional processing after main tokenizing.
PHP_CodeSniffer_Tokenizers_PHP::tokenizeString()
Creates an array of tokens when given some PHP code.

Class Details

[line 31]
Tokenizes CSS code.


[ Top ]


Method Detail

tokenizeString   [line 45]

array tokenizeString( string $string, [string $eolChar = '\n'])

Creates an array of tokens when given some CSS code.

Uses the PHP tokenizer to do all the tricky work

  • Access: public

Overrides PHP_CodeSniffer_Tokenizers_PHP::tokenizeString() (Creates an array of tokens when given some PHP code.)

Parameters:

string   $string     The string to tokenize.
string   $eolChar     The EOL character to use for splitting strings.

[ Top ]


Documentation generated on Tue, 07 Jul 2009 03:00:25 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.