PHP Class Jade\Compiler\CommonUtils

Common static methods for compiler and lexer classes.
Afficher le fichier Open project: kylekatarnls/jade-php Class Usage Examples

Méthodes publiques

Méthode Description
addDollarIfNeeded ( string $call ) : string
escapedEnd ( string $quotedString ) : boolean Return true if the ending quote of the string is escaped.
getGetter ( object | array $anything, $key ) : string Return true if the ending quote of the string is escaped.

Method Details

addDollarIfNeeded() public static méthode

public static addDollarIfNeeded ( string $call ) : string
$call string
Résultat string

escapedEnd() public static méthode

Return true if the ending quote of the string is escaped.
public static escapedEnd ( string $quotedString ) : boolean
$quotedString string
Résultat boolean

getGetter() public static méthode

Return true if the ending quote of the string is escaped.
public static getGetter ( object | array $anything, $key ) : string
$anything object | array object or array (PHP >= 7) that contains a callable
Résultat string