Gets the matched unary operator from the supplied expression.
public getCast ( |
||
$expression | ||
리턴 | Pinq\Analysis\ITypeOperation | Pinq\Analysis\IMethod |
public function getCast(O\CastExpression $expression) { if (isset($this->castOperations[$expression->getCastType()])) { return $this->castOperations[$expression->getCastType()]; } return $this->parentType->getCast($expression); }