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