Home
last modified time | relevance | path

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

1234567891011

/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/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/twigstarter/vendor/twig/twig/src/Error/
DError.php55 * @param Source|string|null $source The source context where the error occurred
58 …public function __construct(string $message, int $lineno = -1, $source = null, \Exception $previou… argument
62 if (null === $source) {
64 } elseif (!$source instanceof Source && !$source instanceof \Twig_Source) {
66 $name = $source;
68 $name = $source->getName();
69 $this->sourceCode = $source->getCode();
70 $this->sourcePath = $source->getPath();
124 public function setSourceContext(Source $source = null) argument
126 if (null === $source) {
[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.php26 private $source; variable in Twig\\TokenStream
28 public function __construct(array $tokens, Source $source = null) argument
31 $this->source = $source ?: new Source('', '');
50 …xError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $this->source);
82 $this->source
96 …expected end of template.', $this->tokens[$this->current + $number - 1]->getLine(), $this->source);
130 return $this->source;
DCompiler.php25 private $source; variable in Twig\\Compiler
55 return $this->source;
68 $this->source = '';
84 $this->source .= str_repeat(' ', $this->indentation * 4);
101 $this->source .= $string;
114 $this->source .= str_repeat(' ', $this->indentation * 4).$string;
129 $this->source .= sprintf('"%s"', addcslashes($value, "\0\t\"\$\\"));
187 $this->sourceLine += substr_count($this->source, "\n", $this->sourceOffset);
188 $this->sourceOffset = \strlen($this->source);
DLexer.php33 private $source; variable in Twig\\Lexer
156 public function tokenize(Source $source) argument
158 $this->source = $source;
159 $this->code = str_replace(["\r\n", "\r"], "\n", $source->getCode());
203 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
206 return new TokenStream($this->tokens, $this->source);
303 …::STATE_BLOCK === $this->state ? 'block' : 'variable'), $this->currentVarBlockLine, $this->source);
340 …SyntaxError(sprintf('Unexpected "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
345 … throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
365 …r(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
[all …]
DEnvironment.php405 $source = null;
407 $source = $this->getLoader()->getSourceContext($name);
408 $content = $this->compileSource($source);
422 …d to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
535 public function tokenize(Source $source) argument
541 return $this->lexer->tokenize($source);
591 public function compileSource(Source $source) argument
594 return $this->compile($this->parse($this->tokenize($source)));
596 $e->setSourceContext($source);
599 …has been thrown during the compilation of a template ("%s").', $e->getMessage()), -1, $source, $e);
/template/twigstarter/vendor/twig/twig/src/Test/
DNodeTestCase.php27 public function testCompile($node, $source, $environment = null, $isPattern = false) argument
29 $this->assertNodeCompilation($source, $node, $environment, $isPattern);
32 …public function assertNodeCompilation($source, Node $node, Environment $environment = null, $isPat… argument
38 $this->assertStringMatchesFormat($source, trim($compiler->getSource()));
40 $this->assertEquals($source, trim($compiler->getSource()));
/template/twigstarter/vendor/twig/twig/src/Extension/
DSandboxExtension.php80 public function checkMethodAllowed($obj, $method, int $lineno = -1, Source $source = null) argument
86 $e->setSourceContext($source);
94 public function checkPropertyAllowed($obj, $property, int $lineno = -1, Source $source = null) argument
100 $e->setSourceContext($source);
108 public function ensureToStringAllowed($obj, int $lineno = -1, Source $source = null) argument
114 $e->setSourceContext($source);
/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/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/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/twigstarter/vendor/twig/twig/src/Node/
DNode.php200 public function setSourceContext(Source $source) argument
202 $this->sourceContext = $source;
204 $node->setSourceContext($source);
207 $this->setTemplateName($source->getName(), false);
/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/strap/ComboStrap/
H A DArrayCaseInsensitive.php40 public function __construct(array &$source = array()) argument
42 $this->sourceArray = &$source;
43 array_walk($source, function ($value, $key) {
/template/twigstarter/
Dcomposer.lock12 "source": {
73 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0"
94 "source": {
156 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0"
177 "source": {
232 "source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0"
253 "source": {
316 "source": "https://github.com/twigphp/Twig/tree/v2.15.3"
/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/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.
/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…

1234567891011