Class CssInputStream

(line 1017)

Description


Located in File: /src/QueryPath/CssParser.php

Simple wrapper to turn a string into an input stream.

This provides a standard interface on top of an array of characters.



Class Variables

Summary:
mixed $stream

$stream = NULL (line 1018)

Data type : mixed

Class Constants

Summary:

Method Detail

Summary:
CssInputStream __construct (string $string)
void consume ()
boolean isEmpty ()
char peek ()

Constructor __construct (line 1025)

CssInputStream __construct( string $string)

Build a new CSS input stream from a string.

Parameters

  • string $string: String to turn into an input stream.

Info

Method consume (line 1043)

void consume( )

Get the next unconsumed character in the stream.

This will remove that character from the front of the stream and return it.

Info

Method isEmpty (line 1051)

boolean isEmpty( )

Check if the stream is empty.

Info

  • return - Returns TRUE when the stream is empty, FALSE otherwise.

Method peek (line 1035)

char peek( )

Look ahead one character.

Info

  • return - Returns the next character, but does not remove it from the stream.

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


Documentation generated on Sun, 25 Jul 2010 16:09:04 -0500 by phpDocumentor 1.4.3