Beispiel #1
0
def __keyword(kind):
    """
    Create keyword token kind
    """
    token_kind = new_token_kind(kind)
    KEYWORDS[kind] = token_kind
    return token_kind
Beispiel #2
0
def __keyword(kind):
    """
    Create keyword token kind
    """
    token_kind = new_token_kind(kind)
    KEYWORDS[kind] = token_kind
    return token_kind
Beispiel #3
0
def __token(kind):
    """
    Create non keyword token kind
    """
    return new_token_kind(kind)
Beispiel #4
0
def __token(kind):
    """
    Create non keyword token kind
    """
    return new_token_kind(kind)