Latte\MacroTokens::next PHP Method

next() protected method

protected next ( )
    protected function next()
    {
        parent::next();
        if ($this->isCurrent('[', '(', '{')) {
            $this->depth++;
        } elseif ($this->isCurrent(']', ')', '}')) {
            $this->depth--;
        }
    }