PHP Class PHPSA\Compiler\Expression\Operators\UnaryMinus

Inheritance: extends PHPSA\Compiler\Expression\AbstractExpressionCompiler
显示文件 Open project: ovr/phpsa Class Usage Examples

Protected Properties

Property Type Description
$name

Protected Methods

Method Description
compile ( PhpParser\Node\Expr\UnaryMinus $expr, Context $context ) : CompiledExpression -{expr}

Method Details

compile() protected method

-{expr}
protected compile ( PhpParser\Node\Expr\UnaryMinus $expr, Context $context ) : CompiledExpression
$expr PhpParser\Node\Expr\UnaryMinus
$context PHPSA\Context
return PHPSA\CompiledExpression

Property Details

$name protected_oe property

protected $name