Module: Foobara::TypeDeclarations::WithRegistries

Includes:
Concern
Included in:
Caster, Desugarizer, ElementProcessor, ErrorExtension, Processor, Transformer, TypeDeclarationHandler, TypeDeclarationValidator, Validator
Defined in:
foobara-0.5.8/projects/typesystem/projects/type_declarations/src/with_registries.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from Concern

foobara_class_methods_module_for, foobara_concern?, included

Instance Method Details

#handler_for_classObject



60
61
62
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 60

def handler_for_class(...)
  self.class.handler_for_class(...)
end

#lookup_absolute_type!Object



50
51
52
53
54
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 50

def lookup_absolute_type!(...)
  # :nocov:
  self.class.lookup_absolute_type!(...)
  # :nocov:
end

#lookup_typeObject



42
43
44
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 42

def lookup_type(...)
  self.class.lookup_type(...)
end

#lookup_type!Object



46
47
48
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 46

def lookup_type!(...)
  self.class.lookup_type!(...)
end

#type_declaration_handler_forObject



38
39
40
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 38

def type_declaration_handler_for(...)
  self.class.type_declaration_handler_for(...)
end

#type_for_declarationObject



34
35
36
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 34

def type_for_declaration(...)
  self.class.type_for_declaration(...)
end

#type_registered?Boolean

Returns:

  • (Boolean)


56
57
58
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 56

def type_registered?(...)
  self.class.type_registered?(...)
end