프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_enumerated | integer | Enumerated or associative array | |
$_htmlspecialchars | boolean | Should htmlentities() will be called | |
$_output | array | Array containing highlighting rules | |
$_tabsize | integer | Tab size |
메소드 | 설명 | |
---|---|---|
_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 |
리턴 | string | Preprocessed code |
public reset ( ) |
public bool $_htmlspecialchars | ||
리턴 | boolean |