Class Giscuit_Js_Minifier_Iterator

Description

Implements interfaces:

  • Iterator (internal interface)
  • Countable (internal interface)

Giscuit_Js_Minifier Iterator

  • author: Geoffrey Tran
  • copyright: Copyright (c) 2008 Zym. (http://www.zym-project.com/)
  • license: New BSD License

Located in /Js/Minifier/Iterator.php (line 29)


	
			
Variable Summary
 integer $_count
 string $_data
 integer $_key
 string $_peek
Method Summary
 __construct (string $string) Giscuit_Js_Minifier_Iterator
 count () integer
 current () string
 key () integer
 next ([boolean $noCommentProcess = false]) string
 peek () string
 rewind () void
 valid () boolean
 _nextChar () string
Variables
integer $_count (line 36)

Count

  • access: protected
string $_data (line 43)

String data

  • access: protected
integer $_key = 0 (line 50)

Position

  • access: protected
string $_peek (line 57)

Peek

  • access: protected
Methods
Constructor __construct (line 64)

Construct

  • access: public
Giscuit_Js_Minifier_Iterator __construct (string $string)
  • string $string
count (line 74)

Get Count

  • access: public
integer count ()

Implementation of:
Countable::count
current (line 88)

Get current()

  • access: public
string current ()

Implementation of:
Iterator::current
key (line 98)

Get key

  • access: public
integer key ()

Implementation of:
Iterator::key
next (line 109)

Get next char

  • access: public
string next ([boolean $noCommentProcess = false])
  • boolean $noCommentProcess

Implementation of:
Iterator::next
peek (line 165)

Peek at the next char

  • access: public
string peek ()
rewind (line 177)

Rewind the iterator

  • access: public
void rewind ()

Implementation of:
Iterator::rewind
valid (line 187)

Valid

  • access: public
boolean valid ()

Implementation of:
Iterator::valid
_nextChar (line 197)

Get next char in data

  • access: protected
string _nextChar ()

Documentation generated on Wed, 23 Jan 2013 15:54:43 +0000 by phpDocumentor 1.4.3