Home
last modified time | relevance | path

Searched refs:sequenceLength (Results 1 – 1 of 1) sorted by relevance

/plugin/ifauthex/lib/
H A Dparser.php434 private static function _spliceWrap(&$args, $firstTokPosition, $sequenceLength, $definition) { argument
438 if ($sequenceLength < 2) {
441 if ($firstTokPosition + $sequenceLength > count($args)) {
444 $elmArgs = array_slice($args, $firstTokPosition + 1, $sequenceLength - 2);
446 array_splice($args, $firstTokPosition, $sequenceLength, array($elmInst));
524 …$sequenceLength = self::_getWrappedSequence($args, $position, $this->tokenDefs(), $this->nested());
525 if ($sequenceLength >= 2) {
526 $position = self::_spliceWrap($args, $position, $sequenceLength, $this);
528 } elseif ($sequenceLength == 1) {