graphql/language/lexer.py
def read_comment(source: Source, start, line, col, prev) -> Token:
    """Read a comment token from the source file."""
    body = source.body
    position = start
    while True:
        position += 1
        char = char_at(body, position)
        if char is None or (char < " " and char != "\t"):
            break
    return Token(
        TokenKind.COMMENT, start, position, line, col, prev, body[start + 1 : position]
    )
Read a comment token from the source file.
Read a comment token from the source file.
Read a comment token from the source file .
def read_comment(source: Source, start, line, col, prev) -> Token:
    body = source.body
    position = start
    while True:
        position += 1
        char = char_at(body, position)
        if char is None or (char < " " and char != "\t"):
            break
    return Token(
        TokenKind.COMMENT, start, position, line, col, prev, body[start + 1 : position]
    )
def read_comment ( source : Source , start , line , col , prev ) -> Token : body = source . body position = start while True : position += 1 char = char_at ( body , position ) if char is None or ( char < " " and char != "\t" ) : break return Token ( TokenKind . COMMENT , start , position , line , col , prev , body [ start + 1 : position ] )
Read a comment token from the source file.
Read a comment token from the source file .
"""Read a comment token from the source file."""
source
Source
start
line
col
prev