Property | Type | Description | |
---|---|---|---|
$buffer | array | ||
$filename | string | ||
$filters | array | ||
$jade | |||
$parentIndents | |||
$quote | string | ||
$xml |
Method | Description | |
---|---|---|
__construct ( array/Jade $options = [], array $filters = [], $filename = null ) | ||
compile ( $node ) : string | ||
handleCode ( $input, string $name = '' ) : array | ||
handleString ( $input ) : array | ||
interpolate ( string $text ) : mixed | ||
subCompiler ( ) : |
Get a compiler with the same settings. | |
wrapInPhp ( $code ) : string | Return code wrapped in PHP tags. | |
wrapOutPhp ( $code ) : string | Return code wrapped out of a PHP code. |
Method | Description | |
---|---|---|
apply ( $method, $arguments ) : mixed | ||
buffer ( $line, null $indent = null ) | ||
closingTag ( ) : string | php closing tag depanding on the pretty print setting. | |
createCode ( $code ) : string | ||
createPhpBlock ( $code, null $statements = null ) : string | ||
createStatements ( ) : array | ||
handleArgumentValue ( $arg ) | ||
handleCodePhp ( $input, $name = '' ) | ||
interpolateFromCapture ( array $match ) : string | ||
isConstant ( string $str ) : boolean | integer | ||
renderPhpStatements ( $code, null $statements = null ) : string |
public __construct ( array/Jade $options = [], array $filters = [], $filename = null ) | ||
$options | array/Jade | |
$filters | array |
protected closingTag ( ) : string | ||
return | string |
protected createPhpBlock ( $code, null $statements = null ) : string | ||
$code | ||
$statements | null | |
return | string |
public handleCode ( $input, string $name = '' ) : array | ||
$input | ||
$name | string | |
return | array |
protected interpolateFromCapture ( array $match ) : string | ||
$match | array | |
return | string |
protected renderPhpStatements ( $code, null $statements = null ) : string | ||
$code | ||
$statements | null | |
return | string |
public subCompiler ( ) : |
||
return |
public wrapOutPhp ( $code ) : string | ||
return | string |