Lines Matching refs:this

35         $this->type = $data['type'];
37 $this->attrs = $data['attrs'];
39 $this->parent = &$parent;
44 $this->previousMark = &$previousMark;
49 $this->nextMark = &$nextMark;
54 return $this->parent->getStartingNodeMarkScore($this->type) === $this->getTailLength();
59 return $this->tailLength === 0;
64 $this->tailLength += 1;
69 return $this->tailLength;
74 return $this->type;
85 $oldPrevious = $this->previousMark;
86 $this->previousMark = &$newPrevious;
87 $this->nextMark = &$newNext;
89 $newNext->setPrevious($this);
96 if ($this->previousMark === null) {
99 if ($this->previousMark->getTailLength() > $this->tailLength) {
103 if ($this->previousMark->getTailLength() === $this->tailLength) {
104 if (self::$markOrder[$this->previousMark->getType()] < self::$markOrder[$this->type]) {
109 $newPrevious = $this->previousMark->switchPlaces($this, $this->nextMark);
110 $this->nextMark = &$this->previousMark;
111 $this->previousMark = &$newPrevious;
113 $newPrevious->setNext($this);
121 if (!$this->previousMark) {
122 return $this;
124 return $this->previousMark->getFirst();
129 if (!$this->nextMark) {
130 return $this;
132 return $this->nextMark->getLast();
137 return $this->previousMark;
142 return $this->nextMark;
167 if ($this->type !== 'unformatted') {
168 return self::$openingMarks[$this->type];
170 return $this->getUnformattedSyntax('opening');
175 if ($this->type !== 'unformatted') {
176 return self::$closingMarks[$this->type];
179 return $this->getUnformattedSyntax('closing');
191 if (strpos($this->parent->getInnerSyntax(), '%%') === false) {