PHP Class Jade\Compiler\CodeHandler

Inheritance: extends CompilerUtils
显示文件 Open project: kylekatarnls/jade-php Class Usage Examples

Protected Properties

Property Type Description
$input
$name
$separators

Public Methods

Method Description
__construct ( $input, $name )
innerCode ( $input, $name )
parse ( )

Protected Methods

Method Description
getVarname ( $separator )
isQuotedString ( )
parseArray ( $input, $subCodeHandler )
parseArrayAssign ( &$argument, $match, $consume, &$quote, &$key, &$value )
parseArrayElement ( &$argument, $match, $consume, &$quote, &$key, &$value )
parseArrayString ( &$argument, $match, $consume, &$quote, &$key, &$value )
parseBetweenSeparators ( )
parseEqual ( $sep, &$separators, &$result, $innerName, $subCodeHandler )
parseSeparator ( $sep, &$separators, &$result, &$varname, $subCodeHandler, $innerName )

Method Details

__construct() public method

public __construct ( $input, $name )

getVarname() protected method

protected getVarname ( $separator )

innerCode() public method

public innerCode ( $input, $name )

isQuotedString() protected method

protected isQuotedString ( )

parse() public method

public parse ( )

parseArray() protected method

protected parseArray ( $input, $subCodeHandler )

parseArrayAssign() protected method

protected parseArrayAssign ( &$argument, $match, $consume, &$quote, &$key, &$value )

parseArrayElement() protected method

protected parseArrayElement ( &$argument, $match, $consume, &$quote, &$key, &$value )

parseArrayString() protected method

protected parseArrayString ( &$argument, $match, $consume, &$quote, &$key, &$value )

parseBetweenSeparators() protected method

protected parseBetweenSeparators ( )

parseEqual() protected method

protected parseEqual ( $sep, &$separators, &$result, $innerName, $subCodeHandler )

parseSeparator() protected method

protected parseSeparator ( $sep, &$separators, &$result, &$varname, $subCodeHandler, $innerName )

Property Details

$input protected_oe property

protected $input

$name protected_oe property

protected $name

$separators protected_oe property

protected $separators