Home
last modified time | relevance | path

Searched refs:token (Results 51 – 75 of 922) sorted by last modified time

12345678910>>...37

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DCommonToken.php59 * This is the backing field for {@see CommonToken::getText()} when the token
100 throw new \RuntimeException('Unexpected token source type.');
136 * token will share a reference to the {@see CommonToken::text()} field and
145 $token = new self($this->type, $this->source, $this->channel, $this->start, $this->stop);
147 $token->index = $this->index;
148 $token->line = $this->line;
149 $token->charPositionInLine = $this->charPositionInLine;
151 $token->setText($this->text);
153 return $token;
198 * Explicitly set the text for this token
[all...]
H A DLexer.php39 * The goal of all lexer rules/methods is to create a token object.
41 * create a single token. `nextToken` will return this object after
44 * If you subclass to allow multiple token emissions, then set this
45 * to the last token to be matched or something nonnull so that
46 * the auto token emit mechanism will not emit another token.
50 public $token; variable in Antlr\\Antlr4\\Runtime\\Lexer
53 * What character index in the stream did the current token start at?
54 * Needed, for example, to get the text for current token. Set at
62 * The line on which the first character of the token reside
310 emitToken(Token $token) global() argument
444 setToken(Token $token) global() argument
[all...]
H A DParser.php113 * Indicates parser has matched EOF token. See {@see Parser::exitRule()}.
156 * {@see Parser::getBuildParseTree()} is `true` and the token index
162 * @param int $ttype the token type to match.
187 // we must have conjured up a new token during single token insertion
203 * If {@see Parser::getBuildParseTree()} is `true` and the token index
217 $t = $this->token();
226 // we must have conjured up a new token during single token insertion
381 * Tell our token sourc
468 private function token() : Token global() function in Antlr\\Antlr4\\Runtime\\Parser
[all...]
H A DParserTraceListener.php24 $token = $stream !== null ? $stream->LT(1) : null;
29 $token === null? '' : $token->getText() ?? ''
45 $token = $stream !== null ? $stream->LT(1) : null;
50 $token === null? '' : $token->getText() ?? ''
H A DCommonTokenFactory.php19 * of text from the input after the lexer creates a token (e.g. the
22 * {@see UnsupportedOperationException}). Explicitly setting the token text
27 * overhead of copying text for every token unless explicitly requested.
50 * This token factory does not explicitly copy token text when constructing
70 $token = new CommonToken($type, $source, $channel, $start, $stop);
72 $token->setLine($line);
73 $token->setCharPositionInLine($column);
76 $token->setText($text);
82 $token
[all...]
H A DRecognizer.php49 * Get a map from token names to token types.
158 $token = $e->getOffendingToken();
160 if ($token === null) {
164 return \sprintf('line %d:%d', $token->getLine(), $token->getCharPositionInLine());
/plugin/adhoctags/
H A Dhelper.php141 foreach ($tokens as $token) {
144 if (preg_match('/^:([a-z\-]+)/', $token)) {
145 $attr['lang'] = strtolower(trim($token,':'));
150 if (preg_match('/^#([A-Za-z]\w+)/', $token)) {
151 $attr['id'] = trim($token,'#');
156 if (preg_match('/^\"(.*)\"$/', $token)) {
157 $attr['title'] = trim($token,'"');
162 if (preg_match('/^\[([^\]]+)\]$/', $token)) {
164 $cAttr = explode('=', trim($token,'[]'), 2);
165 //dbg('$token
[all...]
/plugin/mobiletable/
H A Daction.php6 $this->token = '~%'.uniqid().'%~';
127 $mask = '$1'.$this->token.'$2';
138 return str_replace($this->token, '|', $str);
/plugin/katex/_assets/
H A Dkatex.min.js1token;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\… property in t.callFunction.o
/plugin/oauth/Service/
H A DAbstractOAuth2Base.php23 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
26 $token = new StdOAuth2Token();
27 $token->setAccessToken($data['access_token']);
31 $token->setLifeTime($data['expires_in']);
34 $token->setEndOfLife(StdOAuth2Token::EOL_NEVER_EXPIRES);
38 $token->setRefreshToken($data['refresh_token']);
42 $token->setExtraParams($data);
44 return $token;
/plugin/oauth/vendor/lusitanian/oauth/
H A Dcomposer.lock28 "phpunit/php-token-stream": ">=1.1.3,<1.3.0"
201 "name": "phpunit/php-token-stream",
205 "url": "https://github.com/sebastianbergmann/php-token-stream.git",
210 "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/ad4e1e23ae01b483c16f600ff1bebec184588e32",
244 "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/Common/Storage/
H A DMemory.php10 * Stores a token in-memory only (destroyed at end of script execution).
45 public function storeAccessToken($service, TokenInterface $token) argument
47 $this->tokens[$service] = $token;
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth1/Service/
H A DQuickBooks.php74 throw new TokenResponseException('Error in retrieving token.');
90 $message = 'Error in retrieving token: "' . $data['error'] . '"';
94 $token = new StdOAuth1Token();
96 $token->setRequestToken($data['oauth_token']);
97 $token->setRequestTokenSecret($data['oauth_token_secret']);
98 $token->setAccessToken($data['oauth_token']);
99 $token->setAccessTokenSecret($data['oauth_token_secret']);
101 $token->setEndOfLife(StdOAuth1Token::EOL_NEVER_EXPIRES);
103 $token->setExtraParams($data);
105 return $token;
[all...]
H A DRedmine.php64 throw new TokenResponseException('Error in retrieving token.');
80 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
83 $token = new StdOAuth1Token();
85 $token->setRequestToken($data['oauth_token']);
86 $token->setRequestTokenSecret($data['oauth_token_secret']);
87 $token->setAccessToken($data['oauth_token']);
88 $token->setAccessTokenSecret($data['oauth_token_secret']);
90 $token->setEndOfLife(StdOAuth1Token::EOL_NEVER_EXPIRES);
92 $token->setExtraParams($data);
94 return $token;
[all...]
H A DScoopIt.php64 throw new TokenResponseException('Error in retrieving token.');
80 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
83 $token = new StdOAuth1Token();
85 $token->setRequestToken($data['oauth_token']);
86 $token->setRequestTokenSecret($data['oauth_token_secret']);
87 $token->setAccessToken($data['oauth_token']);
88 $token->setAccessTokenSecret($data['oauth_token_secret']);
90 $token->setEndOfLife(StdOAuth1Token::EOL_NEVER_EXPIRES);
92 $token->setExtraParams($data);
94 return $token;
[all...]
H A DServiceInterface.php20 * Retrieves and stores/returns the OAuth1 request token obtained from the service.
22 * @return TokenInterface $token
29 * Retrieves and stores/returns the OAuth1 access token after a successful authorization.
31 * @param string $token The request token from the callback.
35 * @return TokenInterface $token
39 public function requestAccessToken($token, $verifier, $tokenSecret); argument
H A DTumblr.php64 throw new TokenResponseException('Error in retrieving token.');
80 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
83 $token = new StdOAuth1Token();
85 $token->setRequestToken($data['oauth_token']);
86 $token->setRequestTokenSecret($data['oauth_token_secret']);
87 $token->setAccessToken($data['oauth_token']);
88 $token->setAccessTokenSecret($data['oauth_token_secret']);
90 $token->setEndOfLife(StdOAuth1Token::EOL_NEVER_EXPIRES);
92 $token->setExtraParams($data);
94 return $token;
[all...]
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth1/Signature/
H A DSignature.php43 * @param string $token
45 public function setTokenSecret($token) argument
47 $this->tokenSecret = $token;
H A DSignatureInterface.php16 * @param string $token
18 public function setTokenSecret($token); argument
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/
H A DAbstractService.php120 $token = $this->parseAccessTokenResponse($responseBody);
121 $this->storage->storeAccessToken($this->service(), $token);
123 return $token;
141 $token = $this->storage->retrieveAccessToken($this->service());
143 if ($token->getEndOfLife() !== TokenInterface::EOL_NEVER_EXPIRES
144 && $token->getEndOfLife() !== TokenInterface::EOL_UNKNOWN
145 && time() > $token->getEndOfLife()
150 date('m/d/Y', $token->getEndOfLife()),
151 date('h:i:s A', $token->getEndOfLife())
156 // add the token wher
193 refreshAccessToken(TokenInterface $token) global() argument
[all...]
H A DAmazon.php76 throw new TokenResponseException('Error in retrieving token: "' . $data['error_description'] . '"');
78 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
81 $token = new StdOAuth2Token();
82 $token->setAccessToken($data['access_token']);
83 $token->setLifeTime($data['expires_in']);
86 $token->setRefreshToken($data['refresh_token']);
93 $token->setExtraParams($data);
95 return $token;
H A DBattleNet.php81 return new Uri( $this->GetOAuthBaseUri() . 'token' );
103 "Error in retrieving token: \"$err\"" );
106 $token = new StdOAuth2Token( $data['access_token'], null,
112 $token->setExtraParams( $data );
114 return $token;
H A DFacebook.php171 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
174 $token = new StdOAuth2Token();
175 $token->setAccessToken($data['access_token']);
178 $token->setLifeTime($data['expires']);
182 $token->setRefreshToken($data['refresh_token']);
189 $token->setExtraParams($data);
191 return $token;
H A DFoursquare.php57 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
60 $token = new StdOAuth2Token();
61 $token->setAccessToken($data['access_token']);
63 $token->setEndOfLife(StdOAuth2Token::EOL_NEVER_EXPIRES);
66 $token->setExtraParams($data);
68 return $token;
H A DGitHub.php175 throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
178 $token = new StdOAuth2Token();
179 $token->setAccessToken($data['access_token']);
181 $token->setEndOfLife(StdOAuth2Token::EOL_NEVER_EXPIRES);
184 $token->setExtraParams($data);
186 return $token;

12345678910>>...37