Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 272) sorted by relevance

1234567891011

/template/twigstarter/vendor/twig/twig/src/Extension/
DSandboxExtension.php60 public function isSandboxed(?Source $source = null): bool argument
62 return $this->sandboxedGlobally || $this->sandboxed || $this->isSourceSandboxed($source);
70 private function isSourceSandboxed(?Source $source): bool argument
72 if (null === $source || null === $this->sourcePolicy) {
76 return $this->sourcePolicy->enableSandbox($source);
89 public function checkSecurity($tags, $filters, $functions, ?Source $source = null): void argument
91 if ($this->isSandboxed($source)) {
96 … public function checkMethodAllowed($obj, $method, int $lineno = -1, ?Source $source = null): void argument
98 if ($this->isSandboxed($source)) {
102 $e->setSourceContext($source);
[all …]
/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DCommonToken.php56 protected $source; variable in Antlr\\Antlr4\\Runtime\\CommonToken
94 ?Pair $source = null, argument
99 if ($source !== null && !$source->a instanceof TokenSource) {
103 if ($source !== null && !$source->b instanceof CharStream) {
107 $this->source = $source ?? self::emptySource();
113 $tokenSource = $this->source->a;
127 static $source;
129 return $source = $source ?? new Pair(null, null);
145 $token = new self($this->type, $this->source, $this->channel, $this->start, $this->stop);
263 $source = $this->source->a;
[all …]
H A DCommonTokenFactory.php61 Pair $source, argument
70 $token = new CommonToken($type, $source, $channel, $start, $stop);
77 } elseif ($this->copyText && $source->b !== null) {
78 if (!$source->b instanceof CharStream) {
82 $token->setText($source->b->getText($start, $stop));
/template/strap/vendor/salesforce/handlebars-php/src/Handlebars/
H A DHelpers.php218 * @param string $source part of template that is wrapped
223 public function helperIf($template, $context, $args, $source) argument
225 $tpl = $template->getEngine()->loadString('{{#if ' . $args . '}}' . $source . '{{/if}}');
291 * @param string $source part of template that is wrapped
296 public function helperEach($template, $context, $args, $source) argument
386 * @param string $source part of template that is wrapped
391 public function helperUnless($template, $context, $args, $source) argument
413 * @param string $source part of template that is wrapped
418 public function helperWith($template, $context, $args, $source) argument
436 * @param string $source part of template that is wrapped
[all …]
H A DHandlebars.php456 $source = $this->getLoader()->load($name);
457 $tree = $this->tokenize($source);
458 return new Template($this, $tree, $source);
473 $source = $this->getPartialsLoader()->load($name);
474 $tree = $this->tokenize($source);
475 return new Template($this, $tree, $source);
506 * @param string $source string to load
509 public function loadString($source) argument
511 $tree = $this->tokenize($source);
512 return new Template($this, $tree, $source);
[all …]
H A DTemplate.php32 protected $source = ''; variable in Handlebars\\Template
44 * @param string $source Handlebars source
46 public function __construct(Handlebars $engine, $tree, $source) argument
50 $this->source = $source;
71 return $this->source;
232 $source = substr(
238 $source = '';
244 $source
/template/twigstarter/vendor/twig/twig/src/Error/
DError.php40 private ?Source $source; variable in Twig\\Error\\Error
51 * @param Source|null $source The source context where the error occurred
53 …public function __construct(string $message, int $lineno = -1, ?Source $source = null, ?\Throwable… argument
60 $this->source = $source;
83 return $this->source;
86 public function setSourceContext(?Source $source = null): void argument
88 $this->source = $source;
110 if ($this->source && $this->source->getPath()) {
112 $this->file = $this->source->getPath();
125 if ($this->source && $this->source->getName()) {
[all …]
/template/parallax/lib/js/
Dgallery-lightbox.js21 var source = jQuery(this).children().attr('src');
22 var startIndex = source.lastIndexOf('-');
23 var endIndex = source.lastIndexOf('.');
24 var removeValue = source.substring(startIndex, endIndex);
25 var newSource = source.replace(removeValue, '');
/template/twigstarter/vendor/twig/twig/src/
DTokenStream.php28 private ?Source $source = null,
30 if (null === $this->source) {
33 $this->source = new Source('', '');
56 …xError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $this->source);
86 $this->source
100 …expected end of template.', $this->tokens[$this->current + $number - 1]->getLine(), $this->source);
129 return $this->source;
DCompiler.php23 private $source; variable in Twig\\Compiler
44 return $this->source;
53 $this->source = '';
92 $this->source .= str_repeat(' ', $this->indentation * 4);
119 $this->source .= $string;
133 $this->source .= str_repeat(' ', $this->indentation * 4).$string;
152 … $this->source .= \sprintf('"%s"', str_replace("'", '\\x27', addcslashes($value, "\0\t\"\$\\")));
206 $this->sourceLine += substr_count($this->source, "\n", $this->sourceOffset);
207 $this->sourceOffset = \strlen($this->source);
DLexer.php34 private $source; variable in Twig\\Lexer
185 public function tokenize(Source $source): TokenStream argument
189 $this->source = $source;
190 $this->code = str_replace(["\r\n", "\r"], "\n", $source->getCode());
234 throw new SyntaxError(\sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
237 return new TokenStream($this->tokens, $this->source);
334 …::STATE_BLOCK === $this->state ? 'block' : 'variable'), $this->currentVarBlockLine, $this->source);
380 …(\sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
412 …character at position %d in "%s" at line %d.', $nextChar, $i + 1, $this->source->getName(), $this-…
431 …character at position %d in "%s" at line %d.', $nextChar, $i + 1, $this->source->getName(), $this-…
[all …]
DEnvironment.php407 $source = $this->getLoader()->getSourceContext($name);
408 $content = $this->compileSource($source);
424 …d to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
530 public function tokenize(Source $source): TokenStream argument
536 return $this->lexer->tokenize($source);
586 public function compileSource(Source $source): string argument
589 return $this->compile($this->parse($this->tokenize($source)));
591 $e->setSourceContext($source);
594 …has been thrown during the compilation of a template ("%s").', $e->getMessage()), -1, $source, $e);
/template/twigstarter/vendor/twig/twig/src/Test/
DNodeTestCase.php54 public function testCompile($node, $source, $environment = null, $isPattern = false) argument
56 $this->assertNodeCompilation($source, $node, $environment, $isPattern);
62 …public function assertNodeCompilation($source, Node $node, ?Environment $environment = null, $isPa… argument
68 $this->assertStringMatchesFormat($source, trim($compiler->getSource()));
70 $this->assertEquals($source, trim($compiler->getSource()));
/template/m1/
Dscript.js217 source : null, // Override the source of the content. property
249 if(typeof settings.source === 'function') {
250 var newContent = settings.source(name);
253 else if(typeof settings.source === 'string' && privateMethods.isUrl(settings.source)) {
254 $.get(settings.source, function(data) {
258 else if(typeof settings.source === 'string') {
260 selectors = settings.source.split(',');
277 else if(settings.source !== null) {
/template/strap/
H A Dcomposer.lock12 "source": {
56 "source": "https://github.com/antlr/antlr-php-runtime/tree/0.5.1"
63 "source": {
99 "source": "https://github.com/ThomasWeinert/PhpCss/tree/2.0.0"
106 "source": {
146 "source": "https://github.com/dragonmantank/cron-expression/tree/v1.2.0"
153 "source": {
203 "source": "https://github.com/hidehalo/nanoid-php/tree/1.1.8"
210 "source": {
253 "source": "https://github.com/paragonie/random_compat"
[all …]
/template/strap/vendor/php-webdriver/webdriver/lib/Interactions/
H A DWebDriverActions.php114 * @param WebDriverElement $source
118 public function dragAndDrop(WebDriverElement $source, WebDriverElement $target) argument
121 new WebDriverClickAndHoldAction($this->mouse, $source)
136 * @param WebDriverElement $source
141 public function dragAndDropBy(WebDriverElement $source, $x_offset, $y_offset) argument
144 new WebDriverClickAndHoldAction($this->mouse, $source)
/template/strap/vendor/carica/phpcss/src/PhpCss/Exception/
H A DNotConvertibleException.php21 public function __construct(string $source, string $target) { argument
24 'Can not convert %s to %s.', $source, $target
/template/mikio/assets/
H A Dmikio-typeahead.js44 this.source = this.options.source;
132 setSource: function (source) { argument
133 this.source = source;
204 if (jQuery.isFunction(this.source) && this.source.length === 3) {
205 … this.source(this.query, jQuery.proxy(this.process, this), jQuery.proxy(this.process, this));
206 } else if (jQuery.isFunction(this.source)) {
207 this.source(this.query, jQuery.proxy(this.process, this));
208 } else if (this.source) {
209 this.process(this.source);
699 source: [], property
/template/strap/ComboStrap/
H A DArrayCaseInsensitive.php40 public function __construct(array &$source = array()) argument
42 $this->sourceArray = &$source;
43 array_walk($source, function ($value, $key) {
H A DTemplateEngine.php190 function ($template, $context, $args, $source) {
200 function ($template, $context, $args, $source) {
208 function ($template, Context $context, $args, $source) {
220 function ($template, Context $context, $args, $source) {
/template/templar/js/
Dbootstrap-typeahead.js36 this.source = this.options.source
90 …items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.so…
307 source: [] property
/template/twigstarter/
Dcomposer.lock12 "source": {
58 "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.0"
83 "source": {
141 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0"
166 "source": {
225 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
246 "source": {
309 "source": "https://github.com/twigphp/Twig/tree/v3.27.1"
/template/bootstrap3/assets/typeahead/
Dbootstrap3-typeahead.min.js1source=this.options.source;this.delay=this.options.delay;this.theme=this.options.theme&&this.optio… property
/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DLexerATNConfig.php79 private static function checkNonGreedyDecision(LexerATNConfig $source, ATNState $target) : bool argument
81 …return $source->passedThroughNonGreedyDecision || ($target instanceof DecisionState && $target->no…
/template/sprintdoc/fonts/icons/
H A DREADME.txt1 This webfont is generated by http://fontello.com open source project.
11 - If your project is open-source, usually, it will be ok to make LICENSE.txt
30 - LICENSE.txt - license info about source fonts, used to build your one.
51 content. See fontello source code for examples.

1234567891011