| Index: trunk/phase3/includes/diff/Nodes.php |
| — | — | @@ -17,11 +17,11 @@ |
| 18 | 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 19 | 19 | * or see http://www.gnu.org/ |
| 20 | 20 | * |
| 21 | | - * @ingroup DifferenceEngine |
| 22 | 21 | */ |
| 23 | 22 | |
| 24 | 23 | /** |
| 25 | 24 | * Any element in the DOM tree of an HTML document. |
| | 25 | + * @ingroup DifferenceEngine |
| 26 | 26 | */ |
| 27 | 27 | class Node { |
| 28 | 28 | |
| — | — | @@ -100,6 +100,7 @@ |
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * Node that can contain other nodes. Represents an HTML tag. |
| | 104 | + * @ingroup DifferenceEngine |
| 104 | 105 | */ |
| 105 | 106 | class TagNode extends Node { |
| 106 | 107 | |
| — | — | @@ -299,6 +300,7 @@ |
| 300 | 301 | |
| 301 | 302 | /** |
| 302 | 303 | * Represents a piece of text in the HTML file. |
| | 304 | + * @ingroup DifferenceEngine |
| 303 | 305 | */ |
| 304 | 306 | class TextNode extends Node { |
| 305 | 307 | |
| — | — | @@ -348,6 +350,10 @@ |
| 349 | 351 | } |
| 350 | 352 | } |
| 351 | 353 | |
| | 354 | +/** |
| | 355 | + * @todo Document |
| | 356 | + * @ingroup DifferenceEngine |
| | 357 | + */ |
| 352 | 358 | class WhiteSpaceNode extends TextNode { |
| 353 | 359 | |
| 354 | 360 | function __construct($parent, $s, Node $like = null) { |
| — | — | @@ -362,6 +368,7 @@ |
| 363 | 369 | |
| 364 | 370 | /** |
| 365 | 371 | * Represents the root of a HTML document. |
| | 372 | + * @ingroup DifferenceEngine |
| 366 | 373 | */ |
| 367 | 374 | class BodyNode extends TagNode { |
| 368 | 375 | |
| — | — | @@ -394,6 +401,7 @@ |
| 395 | 402 | /** |
| 396 | 403 | * Represents an image in HTML. Even though images do not contain any text they |
| 397 | 404 | * are independent visible objects on the page. They are logically a TextNode. |
| | 405 | + * @ingroup DifferenceEngine |
| 398 | 406 | */ |
| 399 | 407 | class ImageNode extends TextNode { |
| 400 | 408 | |
| — | — | @@ -420,6 +428,7 @@ |
| 421 | 429 | |
| 422 | 430 | /** |
| 423 | 431 | * No-op node |
| | 432 | + * @ingroup DifferenceEngine |
| 424 | 433 | */ |
| 425 | 434 | class DummyNode extends Node { |
| 426 | 435 | |