tools/disable_tests/gtest.py
def peek(tokens: List[str]) -> Optional[str]:
  """Return the next token without consuming it, if tokens is non-empty."""
  if tokens:
    return tokens[-1]
  return None
Return the next token without consuming it, if tokens is non-empty.
Return the next token without consuming it, if tokens is non-empty.
Return the next token without consuming it if tokens is non - empty .
def peek(tokens: List[str]) -> Optional[str]:
  if tokens:
    return tokens[-1]
  return None
def peek ( tokens : List [ str ] ) -> Optional [ str ] : if tokens : return tokens [ - 1 ] return None
Return the next token without consuming it, if tokens is non-empty.
Return the next token without consuming it if tokens is non - empty .
"""Return the next token without consuming it, if tokens is non-empty."""
tokens
List[str]