Lines Matching refs:size
140 public $size = 0; variable in cssdocument
234 for ($index = $this->size-1 ; $index > $this->rootIndex ; $index--) {
237 $this->size = $this->rootIndex + 1;
247 $state ['index'] = $this->size-1;
258 for ($index = $this->size-1 ; $index > $state ['index'] ; $index--) {
261 $this->size = $state ['index'] + 1;
274 $this->entries [$this->size]['level'] = $this->level;
275 $this->entries [$this->size]['state'] = 'open';
276 $this->entries [$this->size]['element'] = $element;
277 $this->entries [$this->size]['attributes'] = $attributes;
279 $this->entries [$this->size]['pseudo_classes'] = explode(' ', $pseudo_classes);
282 $this->entries [$this->size]['pseudo_elements'] = explode(' ', $pseudo_elements);
287 $this->entries [$this->size]['attributes_array'] =
291 $this->size++;
302 $this->entries [$this->size]['level'] = $this->level;
303 $this->entries [$this->size]['state'] = 'close';
304 $this->entries [$this->size]['element'] = $element;
305 $this->size++;
331 if ($index >= $this->size ) {
343 if ($this->size == 0) {
346 return $this->entries [$this->size-1];
355 if ($this->size == 0) {
358 for ($index = $this->size-1 ; $index >= 0 ; $index--) {
372 if ($this->size == 0 || $start >= $this->size) {
395 if ($this->size == 0 || $current >= $this->size || $current == 0) {
412 for ($index = 0 ; $index < $this->size ; $index++) {
431 $index = $this->size-1;
438 $this->size--;