Constructor.
array $tokens An array of tokens:
string $filename The name of the filename which tokens are associated with:
public function __construct(array $tokens, $filename = null) {
$this->tokens = $tokens;
$this->current = 0;
$this->filename = $filename;
}