Lines Matching refs:mark
37 foreach ($this->marks as $mark) {
38 if ($mark->isOpeningMark()) {
41 $mark->setPrevious($previousOpeningMark);
42 $previousOpeningMark->setNext($mark);
44 $openingMarks[] = $mark;
49 $mark = $openingMarks[0]->getFirst();
50 $doc .= $mark->getOpeningSyntax();
51 while ($mark = $mark->getNext()) {
52 $doc .= $mark->getOpeningSyntax();
55 foreach ($openingMarks as $mark) {
56 $mark->setNext(null);
57 $mark->setPrevious(null);
68 foreach ($this->marks as $mark) {
69 if ($mark->isClosingMark()) {
72 $mark->setPrevious($previousClosingMark);
73 $previousClosingMark->setNext($mark);
75 $closingMarks[] = $mark;
80 $mark = $closingMarks[0]->getLast();
81 $doc .= $mark->getClosingSyntax();
82 while ($mark = $mark->getPrevious()) {
83 $doc .= $mark->getClosingSyntax();
86 foreach ($closingMarks as $mark) {
87 $mark->setNext(null);
88 $mark->setPrevious(null);
149 // we don't have that mark
159 // the mark begins with us