| /template/twigstarter/vendor/twig/twig/src/Node/Expression/Ternary/ |
| D | ConditionalTernary.php | 23 …public function __construct(AbstractExpression $test, AbstractExpression $left, AbstractExpression… argument 25 if (!$test instanceof ReturnPrimitiveTypeInterface) { 26 $test = new TrueTest($test, new TwigTest('true'), null, $test->getTemplateLine()); 29 parent::__construct(['test' => $test, 'left' => $left, 'right' => $right], [], $lineno);
|
| /template/twigstarter/vendor/twig/twig/src/ExpressionParser/Infix/ |
| D | IsExpressionParser.php | 40 $test = $parser->getTest($token->getLine()); 43 if ($stream->test(Token::OPERATOR_TYPE, '(')) { 45 } elseif ($test->hasOneMandatoryArgument()) { 49 …if ('defined' === $test->getName() && $expr instanceof NameExpression && null !== $alias = $parser… 53 $ready = $test instanceof TwigTest; 54 if (!isset($this->readyNodes[$class = $test->getNodeClass()])) { 62 …return new $class($expr, $ready ? $test : $test->getName(), $arguments, $stream->getCurrent()->get…
|
| D | DotExpressionParser.php | 53 $token->test(Token::NAME_TYPE) 54 || $token->test(Token::NUMBER_TYPE) 55 … || ($token->test(Token::OPERATOR_TYPE) && preg_match(Lexer::REGEX_NAME, $token->getValue())) 63 if ($stream->test(Token::OPERATOR_TYPE, '(')) {
|
| /template/twigstarter/vendor/twig/twig/src/ExpressionParser/Prefix/ |
| D | LiteralExpressionParser.php | 37 case $token->test(Token::NAME_TYPE): 59 case $token->test(Token::NUMBER_TYPE): 64 case $token->test(Token::STRING_TYPE): 65 case $token->test(Token::INTERPOLATION_START_TYPE): 68 case $token->test(Token::PUNCTUATION_TYPE): 78 case $token->test(Token::OPERATOR_TYPE): 152 while (!$stream->test(Token::PUNCTUATION_TYPE, ']')) { 157 if ($stream->test(Token::PUNCTUATION_TYPE, ']')) { 164 if ($stream->test(Token::PUNCTUATION_TYPE, ',')) { 182 while (!$stream->test(Token::PUNCTUATION_TYPE, '}')) { [all …]
|
| D | GroupingExpressionParser.php | 36 if (!$stream->test(Token::OPERATOR_TYPE, '=>')) { 44 if (!$stream->test(Token::PUNCTUATION_TYPE, ',')) { 58 if (!$stream->test(Token::OPERATOR_TYPE, '=>')) {
|
| /template/twigstarter/vendor/twig/twig/src/Node/Expression/ |
| D | TestExpression.php | 27 public function __construct(Node $node, string|TwigTest $test, ?Node $arguments, int $lineno) argument 38 if ($test instanceof TwigTest) { 39 $name = $test->getName(); 41 $name = $test; 47 if ($test instanceof TwigTest) { 48 $this->setAttribute('twig_callable', $test);
|
| D | NullCoalesceExpression.php | 42 …$test = new DefinedTest(clone $left, new TwigTest('defined'), new EmptyNode(), $left->getTemplateL… 45 $test = new AndBinary( 46 $test, 52 parent::__construct($test, $left, $right, $lineno);
|
| /template/twigstarter/vendor/twig/twig/src/Extension/ |
| D | StagingExtension.php | 87 public function addTest(TwigTest $test): void argument 89 if (isset($this->tests[$test->getName()])) { 90 … throw new \LogicException(\sprintf('Test "%s" is already registered.', $test->getName())); 93 $this->tests[$test->getName()] = $test;
|
| /template/twigstarter/vendor/twig/twig/src/ |
| D | Parser.php | 83 public function parse(TokenStream $stream, $test = null, bool $dropNeedle = false): ModuleNode argument 110 $body = $this->subparse($test, $dropNeedle); 159 public function subparseIgnoreUnknownTwigCallables($test, bool $dropNeedle = false): void argument 164 $this->subparse($test, $dropNeedle); 173 public function subparse($test, bool $dropNeedle = false): Node argument 179 case $this->stream->getCurrent()->test(Token::TEXT_TYPE): 184 case $this->stream->getCurrent()->test(Token::VAR_START_TYPE): 191 case $this->stream->getCurrent()->test(Token::BLOCK_START_TYPE): 195 if (!$token->test(Token::NAME_TYPE)) { 199 if (null !== $test && $test($token)) { [all …]
|
| D | TokenStream.php | 69 return $this->tokens[$this->current]->test($primary, $secondary) ? $this->next() : null; 78 if (!$token->test($type, $value)) { 109 public function test($primary, $secondary = null): bool function in Twig\\TokenStream 111 return $this->tokens[$this->current]->test($primary, $secondary); 119 return $this->tokens[$this->current]->test(Token::EOF_TYPE);
|
| D | ExtensionSet.php | 380 public function addTest(TwigTest $test): void argument 383 …sprintf('Unable to add test "%s" as extensions have already been initialized.', $test->getName())); 386 $this->staging->addTest($test); 411 foreach ($this->dynamicTests as $pattern => $test) { 415 return $test->withDynamicArguments($name, $test->getName(), $matches); 420 if (false !== $test = $callback($name)) { 421 return $test; 484 foreach ($extension->getTests() as $test) { 485 $this->tests[$name = $test->getName()] = $test; 487 … $this->dynamicTests['#^'.str_replace('\\*', '(.*?)', preg_quote($name, '#')).'$#'] = $test;
|
| D | ExpressionParser.php | 139 if ($token->test(Token::PUNCTUATION_TYPE)) { 195 if (!$this->parser->getStream()->test(Token::OPERATOR_TYPE, '|')) { 234 while (!$stream->test(Token::PUNCTUATION_TYPE, ')')) { 239 if ($stream->test(Token::PUNCTUATION_TYPE, ')')) { 307 … if ($stream->test(Token::OPERATOR_TYPE) && preg_match(Lexer::REGEX_NAME, $token->getValue())) {
|
| /template/comicslate/ |
| D | script.js | 22 if ( /:/ . test ( lpath ) ) window . location . pathname = lpath . replace ( /:/g, '/' ); 67 …if ( /do=[^e]/ . test ( e . href ) ) e . className = e . className . replace ( 'wikilink2', 'wikil… 123 return /interrobang/ . test ( col_ul [ i ] . querySelector ( 'a' ) . title ) 125 if ( /(\/menu[\?|#]?|do=admin)/ . test ( lhref ) ) { 146 if ( /\/(sci-fi|tlk|wolves|mlp|furry|gamer|other|interrobang)\// . test ( lhref ) ) { 149 !( /(\/[adh]\d+|[\?&](do=pre|rev=))/ . test ( lhref ) ) 196 if ( /\/(d|h)\d+/ . test ( lhref ) ) { 216 if ( /do=export/ . test ( lhref ) ) { 220 if ( /hide=1/ . test ( lhref ) ) {
|
| /template/twigstarter/vendor/twig/twig/src/Node/ |
| D | IfNode.php | 32 $test = $tests->getNode((string) $i); 33 if (!$test instanceof ReturnPrimitiveTypeInterface) { 34 … $tests->setNode($i, new TrueTest($test, new TwigTest('true'), null, $test->getTemplateLine()));
|
| /template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/ |
| D | NullCoalesceBinary.php | 35 …$test = new DefinedTest(clone $left, new TwigTest('defined'), new EmptyNode(), $left->getTemplateL… 38 $test = new AndBinary( 39 $test, 46 $this->setNode('test', $test);
|
| /template/twigstarter/vendor/twig/twig/src/TokenParser/ |
| D | TypesTokenParser.php | 50 … while (!($stream->test(Token::PUNCTUATION_TYPE, '}') || $stream->test(Token::BLOCK_END_TYPE))) { 55 … if ($stream->test(Token::PUNCTUATION_TYPE, '}') || $stream->test(Token::BLOCK_END_TYPE)) {
|
| D | GuardTokenParser.php | 36 if ('test' === $typeToken->getValue() && $stream->test(Token::NAME_TYPE)) { 67 return $token->test(['else', 'endguard']); 72 return $token->test(['endguard']);
|
| D | WithTokenParser.php | 33 if (!$stream->test(Token::BLOCK_END_TYPE)) { 49 return $token->test('endwith');
|
| D | AutoEscapeTokenParser.php | 32 if ($stream->test(Token::BLOCK_END_TYPE)) { 51 return $token->test('endautoescape');
|
| D | ApplyTokenParser.php | 41 if (!$this->parser->getStream()->test(Token::OPERATOR_TYPE, '|')) { 59 return $token->test('endapply');
|
| D | MacroTokenParser.php | 64 return $token->test('endmacro'); 77 while (!$stream->test(Token::PUNCTUATION_TYPE, ')')) { 82 if ($stream->test(Token::PUNCTUATION_TYPE, ')')) {
|
| /template/twigstarter/vendor/twig/twig/src/Test/ |
| D | IntegrationTestCase.php | 168 $test = file_get_contents($file->getRealpath()); 170 …MPLATE(?:\(.*?\))?--(?:.*?))+)\s*(?:--DATA--\s*(.*))?\s*--EXCEPTION--\s*(.*)/sx', $test, $match)) { 177 …N--\s*(.*?))?\s*((?:--TEMPLATE(?:\(.*?\))?--(?:.*?))+)--DATA--.*?--EXPECT--.*/s', $test, $match)) { 183 …'/--DATA--(.*?)(?:--CONFIG--(.*?))?--EXPECT--(.*?)(?=\-\-DATA\-\-|$)/s', $test, $outputs, \PREG_SE… 250 foreach ($this->getTwigTests() as $test) { 251 $twig->addTest($test); 341 protected static function parseTemplates($test) argument 344 …preg_match_all('/--TEMPLATE(?:\((.*?)\))?--(.*?)(?=\-\-TEMPLATE|$)/s', $test, $matches, \PREG_SET_…
|
| /template/prsnl10/js/iepngfix/ |
| D | iepngfix.htc | 35 src && !(/IMG|INPUT/.test(elm.nodeName) && (t != 2)) && 75 !/MSIE (5\.5|6)/.test(navigator.userAgent) || 87 isSrc = /src/.test(evt.propertyName), 88 isBg = /backgroundImage/.test(evt.propertyName), 89 isPos = /width|height|background(Pos|Rep)/.test(evt.propertyName), 112 if ((/\.png/i).test(elm.src)) { 176 if (t && (/relative|absolute/i).test(elm.currentStyle.position)) { 181 if (!(/relative|absolute/i).test(tFix[t].currentStyle.position)) {
|
| /template/mnml-blog/js/iepngfix/ |
| D | iepngfix.htc | 35 src && !(/IMG|INPUT/.test(elm.nodeName) && (t != 2)) && 75 !/MSIE (5\.5|6)/.test(navigator.userAgent) || 87 isSrc = /src/.test(evt.propertyName), 88 isBg = /backgroundImage/.test(evt.propertyName), 89 isPos = /width|height|background(Pos|Rep)/.test(evt.propertyName), 112 if ((/\.png/i).test(elm.src)) { 176 if (t && (/relative|absolute/i).test(elm.currentStyle.position)) { 181 if (!(/relative|absolute/i).test(tFix[t].currentStyle.position)) {
|
| /template/ospyramid/js/libs/ |
| D | modernizr-1.7.min.js | 2 …test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.ge…
|