Document: ezcDocumentRstNode
[ ]
[ Conversion ] [ Styles ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDocumentRstNode
|
Struct for RST document document abstract syntax tree nodes [
source]
Parents
ezcBaseStruct
|
--ezcDocumentRstNode
Constants
Member Variables
|
public string |
$identifier
= null
Optional paragraph identifier, to reference the paragraph using internal links. |
|
public int |
$line
Line of node in source file. |
|
public mixed |
$nodes
= array()
Child nodes |
|
public int |
$position
Character position of node in source file. |
|
public ezcDocumentRstToken |
$token
= null
Optional reference to token, not available for all nodes. |
|
public int |
$type
Node type |
Method Summary
|
protected string |
content(
)
Return node content, if available somehow |
|
public string |
dump(
[$depth = 0] )
Get dump of document |
|
public static string |
getTokenName(
$type )
Get node name from type |
|
public void |
__construct(
$token, $type )
Construct RST node |
Methods
content
string content(
)
Return node content, if available somehow
dump
string dump(
[int
$depth = 0] )
Get dump of document
Parameters
| Name |
Type |
Description |
$depth |
int |
|
getTokenName
string getTokenName(
int
$type )
Get node name from type
Return a user readable name from the numeric node type.
Parameters
| Name |
Type |
Description |
$type |
int |
|
__construct
Construct RST node
Parameters
Last updated: Tue, 01 Sep 2009