Home
last modified time | relevance | path

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

/template/twigstarter/vendor/twig/twig/src/
DTokenStream.php24 private $tokens; variable in Twig\\TokenStream
28 public function __construct(array $tokens, Source $source = null) argument
30 $this->tokens = $tokens;
36 return implode("\n", $this->tokens);
39 public function injectTokens(array $tokens) argument
41 …$this->tokens = array_merge(\array_slice($this->tokens, 0, $this->current), $tokens, \array_slice(…
49 if (!isset($this->tokens[++$this->current])) {
50 …throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(),…
53 return $this->tokens[$this->current - 1];
63 if ($this->tokens[$this->current]->test($primary, $secondary)) {
[all …]
DLexer.php24 private $tokens; variable in Twig\\Lexer
163 $this->tokens = [];
206 return new TokenStream($this->tokens, $this->source);
446 $this->tokens[] = new Token($type, $value, $this->lineno);
/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DBufferedTokenStream.php36 protected $tokens = []; variable in Antlr\\Antlr4\\Runtime\\BufferedTokenStream
108 return \count($this->tokens);
119 $skipEofCheck = $this->index < \count($this->tokens) - 1;
122 $skipEofCheck = $this->index < \count($this->tokens);
145 $n = $i - \count($this->tokens) + 1; // how many more elements we need?
165 $token->setTokenIndex(\count($this->tokens));
167 $this->tokens[] = $token;
181 $count = \count($this->tokens);
193 return $this->tokens[$index];
209 return $this->tokens[$this->index - $k];
[all …]
H A DCommonTokenStream.php84 return $this->tokens[$i];
111 return $this->tokens[$i];
123 foreach ($this->tokens as $t) {
H A DParserRuleContext.php216 $tokens = [];
219 $tokens[] = $child;
223 return $tokens;
H A DLexer.php493 $tokens = [];
497 $tokens[] = $token;
501 return $tokens;
/template/strap/vendor/salesforce/handlebars-php/src/Handlebars/
H A DParser.php29 * @param array $tokens Set of
33 public function parse(Array $tokens = []) argument
35 return $this->buildTree(new ArrayIterator($tokens));
48 private function buildTree(ArrayIterator $tokens) argument
53 $token = $tokens->current();
54 $tokens->next();
88 } while ($tokens->valid());
H A DTokenizer.php79 protected $tokens; variable in Handlebars\\Tokenizer
191 $this->tokens[] = $t;
202 $lastIndex = count($this->tokens) - 1;
203 $lastName = $this->tokens[$lastIndex][self::NAME];
205 $this->tokens[$lastIndex][self::NAME] = trim(
221 return $this->tokens;
235 $this->tokens = [];
250 $this->tokens[] = [
265 $tokensCount = count($this->tokens);
267 $token = $this->tokens[$j];
[all …]
H A DHandlebars.php526 $tokens = $this->getTokenizer()->scan($source);
527 $tree = $this->getParser()->parse($tokens);
/template/strap/vendor/symfony/polyfill-php80/
H A DPhpToken.php89 $tokens = token_get_all($code, $flags);
90 foreach ($tokens as $index => $token) {
97 $tokens[$index] = new static($id, $text, $line, $position);
101 return $tokens;
/template/strap/vendor/carica/phpcss/src/
H A DPhpCss.php53 $tokens = array();
55 $scanner->scan($tokens, $cssSelector);
56 $parser = new PhpCss\Parser\Standard($tokens);
/template/strap/vendor/carica/phpcss/src/PhpCss/Parser/
H A DStandard.php27 public function __construct(array &$tokens, $options = 0) { argument
28 parent::__construct($tokens);
/template/strap/ComboStrap/
H A DPageSql.php53 $tokens = new CommonTokenStream($lexer);
54 $parser = new PageSqlParser($tokens);
H A DMarkupRef.php586 $tokens = explode("=", $token, 2);
587 $key = $tokens[0];
588 if (count($tokens) == 2) {
589 $value = $tokens[1];
/template/strap/vendor/antlr/antlr4-php-runtime/src/Error/
H A DDefaultErrorStrategy.php258 $tokens = $recognizer->getInputStream();
260 if ($tokens === null) {
264 $la = $tokens->LA(1);
324 $tokens = $recognizer->getTokenStream();
328 if ($tokens !== null) {
338 $input = $tokens->getTextByTokens($e->getStartToken(), $e->getOffendingToken());
/template/strap/vendor/carica/phpcss/src/PhpCss/
H A DParser.php31 public function __construct(array &$tokens) { argument
32 $this->_tokens = &$tokens;
/template/scanlines/htc/PIE-1.0beta5/
DPIE_uncompressed.js628 function BgPosition( tokens ) { argument
629 this.tokens = tokens;
642 var tokens = this.tokens,
643 len = tokens.length,
655 tokens.push( new Tokenizer.Token( type_ident, 'center' ) );
662 if( type_ident & ( tokens[0].tokenType | tokens[1].tokenType ) &&
663tokens[0].tokenValue in vert_idents && tokens[1].tokenValue in horiz_idents ) {
664 tokens.push( tokens.shift() );
666 if( tokens[0].tokenType & type_ident ) {
667 if( tokens[0].tokenValue === 'center' ) {
[all …]
/template/battlehorse/js/
Dcontrols.js60 this.options.tokens = this.options.tokens || [];
77 if(typeof(this.options.tokens) == 'string')
78 this.options.tokens = new Array(this.options.tokens);
323 for (var i=0; i<this.options.tokens.length; i++) {
324 var thisTokenPos = this.element.value.lastIndexOf(this.options.tokens[i]);
/template/a_new_day/js/
Dcontrols.js60 this.options.tokens = this.options.tokens || [];
77 if(typeof(this.options.tokens) == 'string')
78 this.options.tokens = new Array(this.options.tokens);
323 for (var i=0; i<this.options.tokens.length; i++) {
324 var thisTokenPos = this.element.value.lastIndexOf(this.options.tokens[i]);
/template/strap/grammar/
H A DPageSql.g4147 * Fragment rules does not result in tokens visible to the parser.
148 * They aid in the recognition of tokens.
/template/strap/vendor/antlr/antlr4-php-runtime/
H A DREADME.md87 $tokens = new CommonTokenStream($lexer);
88 $parser = new JSONParser($tokens);
/template/strap/
H A Dyarn.lock483 js-tokens@^9.0.1:
485 resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz"
804 js-tokens "^9.0.1"
/template/breeze/bower_components/gumby/js/libs/
Djquery-2.0.2.min.map1 …adio","checkbox","file","password","image","submit","reset","parseOnly","tokens","soFar","preFilte…
Djquery-1.10.1.min.map1 …adio","checkbox","file","password","image","submit","reset","parseOnly","tokens","soFar","preFilte…