Property | Type | Description | |
---|---|---|---|
$_enumerated | integer | Enumerated or associative array | |
$_htmlspecialchars | boolean | Should htmlentities() will be called | |
$_output | array | Array containing highlighting rules | |
$_tabsize | integer | Tab size |
Method | Description | |
---|---|---|
_getFullClassName ( string $class ) | Given a CSS class name, returns the class name with language name prepended, if necessary | |
acceptToken ( string $class, string $content ) | Accepts next token | |
getOutput ( ) : array | Get generated output | |
preprocess ( string $str ) : string | Preprocesses code | |
reset ( ) | Resets renderer state |
public _getFullClassName ( string $class ) | ||
$class | string | Token class |
public acceptToken ( string $class, string $content ) | ||
$class | string | Token class |
$content | string | Token content |
public preprocess ( string $str ) : string | ||
$str | string | Code to preprocess |
return | string | Preprocessed code |
public reset ( ) |
public bool $_htmlspecialchars | ||
return | boolean |