gws.spec.core

Source code: gws.spec.core

Module Contents

gws.spec.core.APP_NAME = 'gws'
class gws.spec.core.C
ATOM = 'ATOM'
CALLABLE = 'CALLABLE'
CLASS = 'CLASS'
COMMAND = 'COMMAND'
CONFIG = 'CONFIG'
CONSTANT = 'CONSTANT'
DICT = 'DICT'
ENUM = 'ENUM'
EXPR = 'EXPR'
EXT = 'EXT'
FUNCTION = 'FUNCTION'
LIST = 'LIST'
LITERAL = 'LITERAL'
METHOD = 'METHOD'
MODULE = 'MODULE'
OBJECT = 'OBJECT'
OPTIONAL = 'OPTIONAL'
PROPERTY = 'PROPERTY'
PROPS = 'PROPS'
SET = 'SET'
TUPLE = 'TUPLE'
TYPE = 'TYPE'
UNDEFINED = 'UNDEFINED'
UNION = 'UNION'
VARIANT = 'VARIANT'
gws.spec.core.DEFAULT_VARIANT_TAG = 'default'
exception gws.spec.core.Error

Bases: Exception

Common base class for all non-exit exceptions.

gws.spec.core.EXT_COMMAND_API_PREFIX
gws.spec.core.EXT_COMMAND_CLI_PREFIX
gws.spec.core.EXT_COMMAND_GET_PREFIX
gws.spec.core.EXT_COMMAND_PREFIX
gws.spec.core.EXT_CONFIG_CLASS = 'Config'
gws.spec.core.EXT_CONFIG_PREFIX
gws.spec.core.EXT_DECL_PREFIX
gws.spec.core.EXT_OBJECT_CLASS = 'Object'
gws.spec.core.EXT_OBJECT_PREFIX
gws.spec.core.EXT_PREFIX
gws.spec.core.EXT_PROPS_CLASS = 'Props'
gws.spec.core.EXT_PROPS_PREFIX
exception gws.spec.core.GeneratorError

Bases: Error

Common base class for all non-exit exceptions.

exception gws.spec.core.LoadError

Bases: Error

Common base class for all non-exit exceptions.

exception gws.spec.core.ReadError

Bases: Error

Common base class for all non-exit exceptions.

class gws.spec.core.Type(**kwargs)
c: C
defaultValue
doc: str = ''
enumDocs: dict
enumText: str = ''
enumValues: dict
extName: str = ''
hasDefault: bool = False
ident: str = ''
literalValues: list = []
modName: str = ''
modPath: str = ''
name: str = ''
pos = ''
tArg: TypeId = ''
tArgs: list[TypeId] = []
tItem: TypeId = ''
tItems: list[TypeId] = []
tKey: TypeId = ''
tMembers: dict[str, TypeId]
tModule: TypeId = ''
tOwner: TypeId = ''
tProperties: dict[str, TypeId]
tReturn: TypeId = ''
tSupers: list[TypeId] = []
tTarget: TypeId = ''
tValue: TypeId = ''
uid: TypeId
vars: dict[str, TypeId]
gws.spec.core.TypeId
gws.spec.core.VARIANT_TAG = 'type'