Tale\Jade\Parser::handleExpression PHP Метод

handleExpression() защищенный Метод

If there's a $_current-element, the expression gets appended to the $_current-element. If not, the expression itself becomes the $_current element
protected handleExpression ( array $token )
$token array the -token
    protected function handleExpression(array $token)
    {
        $node = $this->createNode('expression', $token);
        $node->escaped = $token['escaped'];
        $node->unchecked = $token['unchecked'];
        $node->value = $token['value'];
        if ($this->current) {
            $this->current->append($node);
        } else {
            $this->current = $node;
        }
    }