Advance past any whitespace

@return int Number of whitespace characters passed
515912
public function skip_whitespace()
	{
		$whitespace = strspn($this->data, "\x09\x0A\x0D\x20", $this->position);
		$this->position += $whitespace;
		return $whitespace;
	}
642874
protected function advance()
    {
        $this->cursor = $this->token->getEnd();
        return $this->token = $this->lexer->readToken($this->cursor);
    }
595403
public function getLineIndentation()
    {
        $first = $this->getFirstTokenOnLine();
        if ( ! $first->matches(T_WHITESPACE)) {
            return '';
        }

        return $first->getContentUntil($first->findNextToken('NO_WHITESPACE')->get());
    }
133279
public void skipWhitespaces() {
    for (int i = mark; i < chars.length; i++) {
      if (Character.isWhitespace(chars[i])) {
        mark++;
      } else {
        break;
      }
    }
  }
593288
private boolean skipWhitespace() {
    boolean foundLineTerminator = false;
    while (!isAtEnd() && peekWhitespace()) {
      if (isLineTerminator(nextChar())) {
        foundLineTerminator = true;
      }
    }
    return foundLineTerminator;
  }
1216644
protected function _eatWhitespace()
    {
        if (preg_match(
            '/([\t\b\f\n\r ])*/s',
            $this->_source,
            $matches,
            PREG_OFFSET_CAPTURE,
            $this->_offset
        )
            && $matches[0][1] == $this->_offset
        ) {
            $this->_offset += strlen($matches[0][0]);
        }
    }
166746
private int skipWhitespace() throws IOException {
		int c = 0;
		do {
			c = r.read();
			if (c < 0) {
				return -1;
			}
		} while (Character.isWhitespace(c));
		
		return c;
	}
650801
protected function next()
    {
        while ($token = array_shift($this->tokens)) {
            $this->line += substr_count($this->value($token), "\n");

            if (is_array($token) && in_array($token[0], [T_WHITESPACE, T_COMMENT, T_DOC_COMMENT], true)) {
                continue;
            }

            return $token;
        }
    }
97468
public function applyComplement()
	{
		$length = strlen($this->data);

		for ($index = 0; $index < $length; $index++)
		{
			$this->data[$index] = chr(~ ord($this->data[$index]));
		}

		return $this->restrict();
	}
1357209
public function getLineCount() {
    $count = 1;

    $this
      ->find(Filter::isInstanceOf('\Pharborist\WhitespaceNode'))
      ->each(function(WhitespaceNode $node) use (&$count) {
        $count += $node->getNewlineCount();
      });

    return $count;
  }
109439
public function getIndent() {
    /** @var ParentNode $this */
    $whitespace_token = $this->previousToken();
    if (empty($whitespace_token) || $whitespace_token->getType() !== T_WHITESPACE) {
      return '';
    }
    $nl = FormatterFactory::getDefaultFormatter()->getConfig('nl');
    $lines = explode($nl, $whitespace_token->getText());
    $last_line = end($lines);
    return $last_line;
  }
24280
protected function read() {
        while ($this->currentPosition < $this->codeLength) {
            $startPosition = $this->currentPosition;
            $currentChar = $this->code{$this->currentPosition};
            if (in_array($currentChar, $this->whitespaces)) {
                $this->readWhitespace();
            } else {
                switch ($currentChar) {
                    case '/': {
                        $this->readSlash();
                        break;
                    }
                    case '#': {
                        $this->readDirective();
                        break;
                    }
                    case '"': {
                        $this->readString();
                        break;
                    }
                }
            }

            // Force any progress in the loop
            if ($this->currentPosition === $startPosition) {
                $this->compressedCode .= $currentChar;
                ++$this->currentPosition;
            }
        }
    }
1091234
public int skipWhitespace() {
        try {
            int readChar = 20;
            char c = SPACE;
            while (Character.isWhitespace(c)) {
                reader.mark(1);
                readChar = reader.read();
                c = (char) readChar;
            }
            reader.reset();
            return readChar;
        } catch (IOException ioe) {
            throw new JsonException("An IO exception occurred while reading the JSON payload", ioe);
        }
    }
70391
public function getWidth() : int {
        $first = $this->getStart();
        $last = $this->getEndPosition();

        return $last - $first;
    }
447104
public function getIndent()
    {
        $leadingWhitespace = array();
        $n = 0;
        foreach( $this->lines as $line ) {
            if( !empty( $line ) ) {
                $leadingWhitespace[$n] = strlen( $line ) - strlen( ltrim( $line ) );
            }
            $n++;
        }
        return min( $leadingWhitespace );
    }
1286114
public function leapWhiteSpaces()
    {
        do {
            if (!$this->streamReader->ensureContent()) {
                return false;
            }

            $buffer = $this->streamReader->getBuffer(false);
            $matches = \strspn($buffer, "\x20\x0A\x0C\x0D\x09\x00", $this->streamReader->getOffset());
            if ($matches > 0) {
                $this->streamReader->addOffset($matches);
            }
        } while ($this->streamReader->getOffset() >= $this->streamReader->getBufferLength());

        return true;
    }
1140902
def _skip_whitespace(self):
        """"""
        i = 0
        while self._cur_token['type'] is TT.ws and not self._finished:
            self._increment()
            i += 1

        return i