src/basilisp/lang/reader.py
def _read_kw(ctx: ReaderContext) -> keyword.Keyword:
    """Return a keyword from the input stream."""
    start = ctx.reader.advance()
    assert start == ":"
    ns, name = _read_namespaced(ctx)
    if "." in name:
        raise SyntaxError("Found '.' in keyword name")
    return keyword.keyword(name, ns=ns)
def _read_kw(ctx: ReaderContext) -> keyword.Keyword:
    start = ctx.reader.advance()
    assert start == ":"
    ns, name = _read_namespaced(ctx)
    if "." in name:
        raise SyntaxError("Found '.' in keyword name")
    return keyword.keyword(name, ns=ns)
def _read_kw ( ctx : ReaderContext ) -> keyword . Keyword : start = ctx . reader . advance ( ) assert start == ":" ns , name = _read_namespaced ( ctx ) if "." in name : raise SyntaxError ( "Found '.' in keyword name" ) return keyword . keyword ( name , ns = ns )
Return a keyword from the input stream.
Return a keyword from the input stream .