PHP Class Gregwar\RST\Span

Inheritance: extends Gregwar\RST\Nodes\Node
Afficher le fichier Open project: gregwar/rst

Protected Properties

Свойство Type Description
$environment
$parser
$span
$tokens

Méthodes publiques

Méthode Description
__construct ( Parser $parser, $span )
br ( )
emphasis ( $text )
escape ( $span )
link ( $url, $title )
literal ( $text )
nbsp ( )
process ( $data ) Processes some data in the context of the span, this will process the **emphasis**, the nbsp, replace variables and end-of-line brs
reference ( $reference, $value )
render ( ) Renders the span
strongEmphasis ( $text )

Method Details

__construct() public méthode

public __construct ( Parser $parser, $span )
$parser Parser

br() public méthode

public br ( )

emphasis() public méthode

public emphasis ( $text )

escape() public méthode

public escape ( $span )

literal() public méthode

public literal ( $text )

nbsp() public méthode

public nbsp ( )

process() public méthode

Processes some data in the context of the span, this will process the **emphasis**, the nbsp, replace variables and end-of-line brs
public process ( $data )

reference() public méthode

public reference ( $reference, $value )

render() public méthode

Renders the span
public render ( )

strongEmphasis() public méthode

public strongEmphasis ( $text )

Property Details

$environment protected_oe property

protected $environment

$parser protected_oe property

protected $parser

$span protected_oe property

protected $span

$tokens protected_oe property

protected $tokens