Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /venv /lib /python3.10 /site-packages /parso /python /token.py
| from __future__ import absolute_import | |
| from enum import Enum | |
| class TokenType: | |
| name: str | |
| contains_syntax: bool | |
| def __init__(self, name: str, contains_syntax: bool = False): | |
| self.name = name | |
| self.contains_syntax = contains_syntax | |
| def __repr__(self): | |
| return '%s(%s)' % (self.__class__.__name__, self.name) | |
| class PythonTokenTypes(Enum): | |
| STRING = TokenType('STRING') | |
| NUMBER = TokenType('NUMBER') | |
| NAME = TokenType('NAME', contains_syntax=True) | |
| ERRORTOKEN = TokenType('ERRORTOKEN') | |
| NEWLINE = TokenType('NEWLINE') | |
| INDENT = TokenType('INDENT') | |
| DEDENT = TokenType('DEDENT') | |
| ERROR_DEDENT = TokenType('ERROR_DEDENT') | |
| FSTRING_STRING = TokenType('FSTRING_STRING') | |
| FSTRING_START = TokenType('FSTRING_START') | |
| FSTRING_END = TokenType('FSTRING_END') | |
| OP = TokenType('OP', contains_syntax=True) | |
| ENDMARKER = TokenType('ENDMARKER') | |
Xet Storage Details
- Size:
- 909 Bytes
- Xet hash:
- ce493f11687515bd9dc4e4e1c98608f8757c26f5016e50aac356ce772dbe0d42
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.