gws.spec.generator.base
¶
Source code: gws.spec.generator.base
Module Contents¶
- gws.spec.generator.base.APP_DIR¶
- gws.spec.generator.base.ATOMS = ['any', 'bool', 'bytes', 'float', 'int', 'str']¶
- gws.spec.generator.base.BUILTIN_TYPES = ['Any', 'Callable', 'ContextManager', 'Dict', 'Enum', 'Iterable', 'Iterator', 'List', 'Literal',...¶
- gws.spec.generator.base.BUILTINS¶
- gws.spec.generator.base.DEFAULT_EXT_SUPERS¶
- gws.spec.generator.base.EXCLUDE_PATHS = ['___', '/vendor/', 'test', 'core/ext', '__pycache__']¶
- gws.spec.generator.base.FILE_KINDS = [['.py', 'python'], ['/index.ts', 'ts'], ['/index.tsx', 'ts'], ['/index.css.js', 'css'],...¶
- class gws.spec.generator.base.Generator¶
Bases:
Data
- chunks: list[dict]¶
- configRef¶
- debug = False¶
- manifestPath = ''¶
- meta: dict¶
- outDir = ''¶
- rootDir = ''¶
- selfDir = ''¶
- specs¶
- strings¶
- types: dict[str, gws.spec.core.Type]¶
- typescript = ''¶
- dump(tag)¶
- new_type(c, **kwargs)¶
- gws.spec.generator.base.GLOBAL_MODULES¶
- gws.spec.generator.base.INLINE_COMMENT_SYMBOL = '#:'¶
- gws.spec.generator.base.log¶
- gws.spec.generator.base.PLUGIN_DIR = '/gws/plugin'¶
- gws.spec.generator.base.PLUGIN_PREFIX¶
- gws.spec.generator.base.SELF_DIR¶
- gws.spec.generator.base.SYSTEM_CHUNKS = [None, None, None, None, None, None, None]¶
- gws.spec.generator.base.VARIANT_COMMENT_PREFIX = 'variant:'¶