ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
Text.php
Go to the documentation of this file.
1 <?php
2 
13 {
14 
15  public $name = '#PCDATA';
16  public $data;
17  public $is_whitespace;
24  public function __construct($data, $line = null, $col = null) {
25  $this->data = $data;
26  $this->is_whitespace = ctype_space($data);
27  $this->line = $line;
28  $this->col = $col;
29  }
30 
31 }
32 
33 // vim: et sw=4 sts=4
$data
Parsed character data of text.
Definition: Text.php:16
$line
Line number node was on in source document.
Definition: Token.php:7
$name
PCDATA tag name compatible with DTD.
Definition: Text.php:15
__construct($data, $line=null, $col=null)
Constructor, accepts data and determines if it is whitespace.
Definition: Text.php:24
Abstract base token class that all others inherit from.
Definition: Token.php:6
$is_whitespace
Bool indicating if node is whitespace.
Definition: Text.php:17
$col
Column of line node was on in source document.
Definition: Token.php:8
Concrete text token class.
Definition: Text.php:12