Home
last modified time | relevance | path

Searched full:context (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/template/strap/ComboStrap/PageSqlParser/
H A DPageSqlListener.php17 * @param $context The parse tree.
19 public function enterFunctionNames(Context\FunctionNamesContext $context) : void; argument
22 * @param $context The parse tree.
24 public function exitFunctionNames(Context\FunctionNamesContext $context) : void; argument
27 * @param $context The parse tree.
29 public function enterConstantNames(Context\ConstantNamesContext $context) : void; argument
32 * @param $context The parse tree.
34 public function exitConstantNames(Context\ConstantNamesContext $context) : void; argument
37 * @param $context The parse tree.
39 public function enterTableNames(Context\TableNamesContext $context) : void; argument
[all …]
H A DPageSqlBaseListener.php25 public function enterFunctionNames(Context\FunctionNamesContext $context) : void {} argument
32 public function exitFunctionNames(Context\FunctionNamesContext $context) : void {} argument
38 public function enterConstantNames(Context\ConstantNamesContext $context) : void {} argument
45 public function exitConstantNames(Context\ConstantNamesContext $context) : void {} argument
51 public function enterTableNames(Context\TableNamesContext $context) : void {} argument
58 public function exitTableNames(Context\TableNamesContext $context) : void {} argument
64 public function enterSqlNames(Context\SqlNamesContext $context) : void {} argument
71 public function exitSqlNames(Context\SqlNamesContext $context) : void {} argument
77 public function enterColumn(Context\ColumnContext $context) : void {} argument
84 public function exitColumn(Context\ColumnContext $context) : void {} argument
[all …]
/template/strap/vendor/salesforce/handlebars-php/src/Handlebars/
H A DHelpers.php216 * @param \Handlebars\Context $context context object
223 public function helperIf($template, $context, $args, $source) argument
227 $tmp = $context->get($args);
238 $buffer = $template->render($context);
249 $args = $this->parseArgs($context, substr($name, 7));
261 $buffer = $template->render($context);
268 return $this->renderElse($template, $context);
272 return $this->renderElse($template, $context);
289 * @param \Handlebars\Context $context context object
296 public function helperEach($template, $context, $args, $source) argument
[all …]
H A DTemplate.php4 * contain some utility method to get context and helpers
111 * @param mixed $context current context
116 public function render($context) argument
118 if (!$context instanceof Context) {
119 $context = new Context($context, [
142 $buffer .= $this->section($context, $current);
149 $buffer .= $this->inverted($context, $current);
157 $buffer .= $this->partial($context, $current);
161 $buffer .= $this->variables($context, $current, false);
164 $buffer .= $this->variables($context, $current, true);
[all …]
H A DContext.php3 * Handlebars context
4 * Context for a template
23 class Context class
31 * @var array stack for context only top stack is available
56 * Mustache rendering Context constructor.
58 * @param mixed $context Default rendering context (default: null)
59 …* @param array $options Options for the context. It may contain the following: (default: empty arr…
64 public function __construct($context = null, $options = []) argument
66 if ($context !== null) {
67 $this->stack = [$context];
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/
DForNode.php48 ->write("\$context['_parent'] = \$context;\n")
49 ->write("\$context['_seq'] = twig_ensure_traversable(")
55 $compiler->write("\$context['_iterated'] = false;\n");
60 ->write("\$context['loop'] = [\n")
61 ->write(" 'parent' => \$context['_parent'],\n")
70 …->write("if (is_array(\$context['_seq']) || (is_object(\$context['_seq']) && \$context['_seq'] ins…
72 ->write("\$length = count(\$context['_seq']);\n")
73 ->write("\$context['loop']['revindex0'] = \$length - 1;\n")
74 ->write("\$context['loop']['revindex'] = \$length;\n")
75 ->write("\$context['loop']['length'] = \$length;\n")
[all …]
DForLoopNode.php31 $compiler->write("\$context['_iterated'] = true;\n");
36 ->write("++\$context['loop']['index0'];\n")
37 ->write("++\$context['loop']['index'];\n")
38 ->write("\$context['loop']['first'] = false;\n")
43 ->write("if (isset(\$context['loop']['length'])) {\n")
45 ->write("--\$context['loop']['revindex0'];\n")
46 ->write("--\$context['loop']['revindex'];\n")
47 ->write("\$context['loop']['last'] = 0 === \$context['loop']['revindex0'];\n")
DWithNode.php55 $compiler->write("\$context = ['_parent' => \$context];\n");
57 $compiler->write("\$context['_parent'] = \$context;\n");
60 …$compiler->write(sprintf("\$context = \$this->env->mergeGlobals(array_merge(\$context, \$%s));\n",…
62 $compiler->write("\$context['_parent'] = \$context;\n");
67 ->write("\$context = \$context['_parent'];\n")
/template/twigstarter/vendor/twig/twig/src/
DTemplateWrapper.php39 * @param array $context An array of parameters to pass to the template
41 public function render(array $context = []): string argument
45 return $this->template->render($context, \func_get_args()[1] ?? []);
51 * @param array $context An array of parameters to pass to the template
53 public function display(array $context = []) argument
57 $this->template->display($context, \func_get_args()[1] ?? []);
64 * @param array $context An array of parameters to pass to the template
66 public function hasBlock(string $name, array $context = []): bool argument
68 return $this->template->hasBlock($name, $context);
74 * @param array $context An array of parameters to pass to the template
[all …]
DTemplate.php90 public function getParent(array $context) argument
97 $parent = $this->doGetParent($context);
120 protected function doGetParent(array $context) argument
137 * @param array $context The context
140 public function displayParentBlock($name, array $context, array $blocks = []) argument
143 $this->traits[$name][0]->displayBlock($name, $context, $blocks, false);
144 } elseif (false !== $parent = $this->getParent($context)) {
145 $parent->displayBlock($name, $context, $blocks, false);
158 * @param array $context The context
162 …public function displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $t… argument
[all …]
/template/parallax/lib/js/
Djquery.placeholder.js18 context = $(this),
27 if (context.val() === '') {
28 if (context.attr('type') === 'password') {
30 context.attr('type', 'text');
35 context.val(placeholderText);
36 context.addClass('ui-placeholder');
41 context.removeClass('ui-placeholder');
42 if (context.val() === placeholderText) {
43 context.val('');
54 checkIfEmpty(context.blur(onBlur).focus(onFocus));
[all …]
/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/SemanticContexts/
H A DSemanticContext.php13 * A tree structure used to record the semantic context in which
69 * For context independent predicates, we evaluate them without a local
70 * context (i.e., null context). That way, we can evaluate them without
71 * having to create proper rule-specific context during prediction (as
75 * For context dependent predicates, we must pass in a local context so that
77 * capture context dependent predicates in the context in which we begin
78 * prediction, so we passed in the outer context here in case of context
84 * Evaluate the precedence predicates for the context and reduce the result.
88 * @return self|null The simplified semantic context after precedence predicates
95 * - `this`: if the semantic context is not changed
[all …]
/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DLL1Analyzer.php86 * specified `context`.
88 * If `context` is `null` and the end of the rule containing
90 * If `context` is not `null` and the end of the outermost rule is
97 * @param RuleContext|null $context The complete parser context, or `null`
98 * if the context should be ignored.
101 * in the specified `context`.
103 public function look(ATNState $s, ?ATNState $stopState, ?RuleContext $context) : IntervalSet argument
108 $lookContext = $context !== null && $s->atn !== null ?
109 PredictionContext::fromRuleContext($s->atn, $context) :
128 * specified `context`.
[all …]
/template/strap/vendor/antlr/antlr4-php-runtime/src/Error/
H A DBailErrorStrategy.php47 $context = $recognizer->getContext();
49 while ($context !== null) {
50 if (!$context instanceof ParserRuleContext) {
51 throw new \RuntimeException('Unexpected context type.');
54 $context->exception = $e;
55 $context = $context->getParent();
71 for ($context = $recognizer->getContext(); $context; $context = $context->getParent()) {
72 if (!$context instanceof ParserRuleContext) {
73 throw new \RuntimeException('Unexpected context type.');
76 $context->exception = $e;
/template/strap/ComboStrap/
H A DButtonTag.php123 * The context give set if this is a button
125 * The context is checked in the `exit` state
126 * Default context: This is not a link button
128 $context = ButtonTag::MARKUP_LONG;
132 PluginUtility::CONTEXT => $context
143 $context = ButtonTag::MARKUP_LONG;
147 $context = syntax_plugin_combo_link::TAG;
150 $openingTag->setContext($context);
153 PluginUtility::CONTEXT => $context
168 * The context is set on the handle exit
[all …]
H A DBlockquoteTag.php57 $context = null;
60 $context = $parent->getTagName();
61 if ($context === FragmentTag::FRAGMENT_TAG) {
64 $context = $parent->getTagName();
69 return array(PluginUtility::CONTEXT => $context);
142 $context = BlockquoteTag::TWEET;
143 $type = $context;
144 $openingTag->setType($context);
145 $openingTag->setContext($context);
153 $context = $openingTag->getContext();
[all …]
H A DCardTag.php29 /** A card without context */
33 * Context
37 $context = null;
39 $context = $parent->getTagName();
40 if ($context === FragmentTag::FRAGMENT_TAG) {
43 $context = $parent->getTagName();
49 PluginUtility::CONTEXT => $context
191 return array(PluginUtility::CONTEXT => $previousOpening->getContext());
203 $context = $data[PluginUtility::CONTEXT];
204 if ($context === MasonryTag::MASONRY_TAG) {
[all …]
H A DHeadingTag.php114 * Get context data
118 $context = $openingTag->getContext(); // for sectioning
123 PluginUtility::CONTEXT => $context
156 $context = $parent->getTagName();
161 $context = HeadingTag::TYPE_OUTLINE;
166 $context = "";
169 return $context;
187 $context = $data[PluginUtility::CONTEXT];
188 if ($context === self::TYPE_OUTLINE) {
221 $context = $data[PluginUtility::CONTEXT] ?? null;
[all …]
H A DPanelTag.php63 $context = $parent->getTagName();
71 $context = PanelTag::CONTEXT_PREVIEW_ALONE;
74 $context = $markupTag;
83 … $id = $idManager->generateNewHtmlIdForComponent(self::PANEL_LOGICAL_MARKUP . "-" . $context);
92 $context = PanelTag::TAB_PANEL_MARKUP;
118 PluginUtility::CONTEXT => $context,
131 return [PluginUtility::CONTEXT => "root"];
180 return array(PluginUtility::CONTEXT => $openingTag->getContext());
194 $context = $data[PluginUtility::CONTEXT];
195 switch ($context) {
[all …]
H A DTabsTag.php15 * The code is using the context to manage this cases
31 * A tabs with this context will render the `ul` HTML tags
34 public const NAVIGATION_CONTEXT = "navigation-context";
261 PluginUtility::CONTEXT => "root",
268 $context = null;
271 * Add the context to the opening and ending tag
273 $context = $firstChild->getTagName();
274 $openingTag->setContext($context);
278 if ($context == PanelTag::PANEL_LOGICAL_MARKUP) {
365 PluginUtility::CONTEXT => $context,
[all …]
/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DATNConfig.php15 * A tuple: (ATN state, predicted alt, syntactic, semantic context).
16 * The syntactic context is a graph-structured stack node whose path(s)
18 * The semantic context is the tree of semantic predicates encountered
51 public $context; variable in Antlr\\Antlr4\\Runtime\\Atn\\ATNConfig
54 * We cannot execute predicates dependent upon local context unless
55 * we know for sure we are in the correct context. Because there is
60 * closure() tracks the depth of how far we dip into the outer context:
83 ?PredictionContext $context = null, argument
94 $this->context = $context;
99 $this->context = $context ?? $oldConfig->context;
[all …]
H A DATN.php102 * If `context` is null, the set of tokens will not include what can follow
106 public function nextTokensInContext(ATNState $state, ?RuleContext $context) : IntervalSet argument
108 return (new LL1Analyzer($this))->look($state, null, $context);
171 * `stateNumber` in the specified full `context`. This method
172 * considers the complete parser context, but does not evaluate semantic
175 * {@see RuleStopState} of the outermost context without matching any
178 * If `context` is `null`, it is treated as {@see ParserRuleContext::EMPTY}.
181 * @param RuleContext $context The full parse context
184 * follow the specified state in the specified context.
188 public function getExpectedTokens(int $stateNumber, ?RuleContext $context) : IntervalSet argument
[all …]
/template/strap/syntax/
H A Dlabel.php86 $context = null;
104 $context = syntax_plugin_combo_accordion::TAG;
107 $context = TabsTag::TAG;
118 $context = PanelTag::CONTEXT_PREVIEW_ALONE;
126 PluginUtility::CONTEXT => $context
135 $context = $openingTag->getContext();
148 PluginUtility::CONTEXT => $context,
179 $context = $data[PluginUtility::CONTEXT];
180 switch ($context) {
209 …LogUtility::log2FrontEnd("The context ($context) of the label is unknown in enter", LogUtility::LV…
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DNameExpression.php21 '_context' => '$context',
43 ->raw(', $context)')
47 ->raw('(isset($context[')
51 ->raw(', $context))')
58 ->raw('$context[')
65 ->raw('($context[')
71 ->raw('(isset($context[')
75 ->raw(', $context) ? $context[')
/template/breeze/bower_components/gumby/sass/functions/
D_em.scss3 @function em($size-in-px, $context: 16) { parameter
7 @if not unitless($context) {
8 $context: strip-units($context); variable
10 @return ($size-in-px / $context) * 1em;

12345678910>>...14