Update to Drupal 8.2.6. For more information, see https://www.drupal.org/project/drupal/releases/8.2.6
This commit is contained in:
parent
db56c09587
commit
f1e72395cb
588 changed files with 26857 additions and 2777 deletions
vendor/symfony/css-selector/Parser
16
vendor/symfony/css-selector/Parser/Parser.php
vendored
16
vendor/symfony/css-selector/Parser/Parser.php
vendored
|
@ -58,9 +58,9 @@ class Parser implements ParserInterface
|
|||
*
|
||||
* @param Token[] $tokens
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
public static function parseSeries(array $tokens)
|
||||
{
|
||||
|
@ -133,9 +133,9 @@ class Parser implements ParserInterface
|
|||
*
|
||||
* @param TokenStream $stream
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return Node\SelectorNode
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
private function parserSelectorNode(TokenStream $stream)
|
||||
{
|
||||
|
@ -173,9 +173,9 @@ class Parser implements ParserInterface
|
|||
* @param TokenStream $stream
|
||||
* @param bool $insideNegation
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
private function parseSimpleSelector(TokenStream $stream, $insideNegation = false)
|
||||
{
|
||||
|
@ -330,9 +330,9 @@ class Parser implements ParserInterface
|
|||
* @param Node\NodeInterface $selector
|
||||
* @param TokenStream $stream
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return Node\AttributeNode
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
private function parseAttributeNode(Node\NodeInterface $selector, TokenStream $stream)
|
||||
{
|
||||
|
|
|
@ -118,8 +118,6 @@ class Reader
|
|||
$this->position += $length;
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
public function moveToEnd()
|
||||
{
|
||||
$this->position = $this->length;
|
||||
|
|
|
@ -61,7 +61,7 @@ class TokenStream
|
|||
*
|
||||
* @param Token $token
|
||||
*
|
||||
* @return TokenStream
|
||||
* @return $this
|
||||
*/
|
||||
public function push(Token $token)
|
||||
{
|
||||
|
@ -73,7 +73,7 @@ class TokenStream
|
|||
/**
|
||||
* Freezes stream.
|
||||
*
|
||||
* @return TokenStream
|
||||
* @return $this
|
||||
*/
|
||||
public function freeze()
|
||||
{
|
||||
|
@ -85,9 +85,9 @@ class TokenStream
|
|||
/**
|
||||
* Returns next token.
|
||||
*
|
||||
* @throws InternalErrorException If there is no more token
|
||||
*
|
||||
* @return Token
|
||||
*
|
||||
* @throws InternalErrorException If there is no more token
|
||||
*/
|
||||
public function getNext()
|
||||
{
|
||||
|
@ -133,9 +133,9 @@ class TokenStream
|
|||
/**
|
||||
* Returns nex identifier token.
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier
|
||||
*
|
||||
* @return string The identifier token value
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier
|
||||
*/
|
||||
public function getNextIdentifier()
|
||||
{
|
||||
|
@ -151,9 +151,9 @@ class TokenStream
|
|||
/**
|
||||
* Returns nex identifier or star delimiter token.
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
|
||||
*
|
||||
* @return null|string The identifier token value or null if star found
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
|
||||
*/
|
||||
public function getNextIdentifierOrStar()
|
||||
{
|
||||
|
|
Reference in a new issue