INNER CODE UNIT · Python

i

kejilion/sh · site_access_nginx.py:87

                i = end + 1
                continue
            if c.isspace() or c in "{};#":
                break
            value.append(c)
            i += 1
        if quote:
            raise ConfigError("unterminated quote")
        if i == start:
            raise ConfigError("invalid token")
        yield Token("".join(value), start, i)


def parse(text: str) -> Block:
    root = Block([], 0, 0, len(text))
    stack, words = [root], []
    for token in tokenize(text):
        if not token.delimiter:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…