Robot Framework Integrated Development Environment (RIDE)
robotide.namespace.namespace.DatafileRetriever Class Reference

Public Member Functions

def __init__ (self, lib_cache, resource_factory, namespace)
 
def expire_cache (self)
 
def get_all_cached_library_names (self)
 
def get_keywords_cached (self, datafile, context_factory)
 
def get_keywords_from (self, datafile, ctx)
 
def get_keywords_from_several (self, datafiles)
 
def get_resources_from (self, datafile)
 
def get_variables_from (self, datafile, ctx=None)
 
def is_library_import_ok (self, datafile, imp, ctx)
 
def is_variables_import_ok (self, datafile, imp, ctx)
 

Public Attributes

 keyword_cache
 

Properties

 default_kws = property
 

Private Member Functions

def _add_resource (self, res, ctx, items)
 
def _collect_each_res_import (self, datafile, ctx, collector)
 
def _collect_kws_from_imports (self, datafile, instance_type, getter, ctx)
 
def _collect_vars_from_variable_files (self, datafile, ctx)
 
def _get_datafile_keywords (self, datafile)
 
def _get_imported_library_keywords (self, datafile, ctx)
 
def _get_imported_resource_keywords (self, datafile, ctx)
 
def _get_resources_recursive (self, datafile, ctx)
 
def _get_user_keywords_from (self, datafile)
 
def _get_user_keywords_recursive (self, datafile, ctx)
 
def _get_vars_recursive (self, datafile, ctx)
 
def _lib_kw_getter (self, imp, ctx)
 
def _res_kw_recursive_getter (self, imp, ctx)
 
def _var_collector (self, res, ctx, items)
 
def default_kws (self)
 

Static Private Member Functions

def _collect_import_of_type (datafile, instance_type)
 
def _convert_to_absolute_path (name, import_)
 
def _import_vars (ctx, datafile, imp)
 

Private Attributes

 _default_kws
 
 _lib_cache
 
 _namespace
 
 _resource_factory
 

Detailed Description

Definition at line 390 of file namespace.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.namespace.namespace.DatafileRetriever.__init__ (   self,
  lib_cache,
  resource_factory,
  namespace 
)

Definition at line 391 of file namespace.py.

Member Function Documentation

◆ _add_resource()

def robotide.namespace.namespace.DatafileRetriever._add_resource (   self,
  res,
  ctx,
  items 
)
private

Definition at line 568 of file namespace.py.

◆ _collect_each_res_import()

def robotide.namespace.namespace.DatafileRetriever._collect_each_res_import (   self,
  datafile,
  ctx,
  collector 
)
private

Definition at line 544 of file namespace.py.

◆ _collect_import_of_type()

def robotide.namespace.namespace.DatafileRetriever._collect_import_of_type (   datafile,
  instance_type 
)
staticprivate

Definition at line 469 of file namespace.py.

◆ _collect_kws_from_imports()

def robotide.namespace.namespace.DatafileRetriever._collect_kws_from_imports (   self,
  datafile,
  instance_type,
  getter,
  ctx 
)
private

Definition at line 446 of file namespace.py.

◆ _collect_vars_from_variable_files()

def robotide.namespace.namespace.DatafileRetriever._collect_vars_from_variable_files (   self,
  datafile,
  ctx 
)
private

Definition at line 500 of file namespace.py.

◆ _convert_to_absolute_path()

def robotide.namespace.namespace.DatafileRetriever._convert_to_absolute_path (   name,
  import_ 
)
staticprivate

Definition at line 462 of file namespace.py.

◆ _get_datafile_keywords()

def robotide.namespace.namespace.DatafileRetriever._get_datafile_keywords (   self,
  datafile 
)
private

Definition at line 437 of file namespace.py.

◆ _get_imported_library_keywords()

def robotide.namespace.namespace.DatafileRetriever._get_imported_library_keywords (   self,
  datafile,
  ctx 
)
private

Definition at line 442 of file namespace.py.

◆ _get_imported_resource_keywords()

def robotide.namespace.namespace.DatafileRetriever._get_imported_resource_keywords (   self,
  datafile,
  ctx 
)
private

Definition at line 473 of file namespace.py.

◆ _get_resources_recursive()

def robotide.namespace.namespace.DatafileRetriever._get_resources_recursive (   self,
  datafile,
  ctx 
)
private

Definition at line 560 of file namespace.py.

◆ _get_user_keywords_from()

def robotide.namespace.namespace.DatafileRetriever._get_user_keywords_from (   self,
  datafile 
)
private

Definition at line 530 of file namespace.py.

◆ _get_user_keywords_recursive()

def robotide.namespace.namespace.DatafileRetriever._get_user_keywords_recursive (   self,
  datafile,
  ctx 
)
private

Definition at line 534 of file namespace.py.

◆ _get_vars_recursive()

def robotide.namespace.namespace.DatafileRetriever._get_vars_recursive (   self,
  datafile,
  ctx 
)
private

Definition at line 494 of file namespace.py.

◆ _import_vars()

def robotide.namespace.namespace.DatafileRetriever._import_vars (   ctx,
  datafile,
  imp 
)
staticprivate

Definition at line 505 of file namespace.py.

◆ _lib_kw_getter()

def robotide.namespace.namespace.DatafileRetriever._lib_kw_getter (   self,
  imp,
  ctx 
)
private

Definition at line 452 of file namespace.py.

◆ _res_kw_recursive_getter()

def robotide.namespace.namespace.DatafileRetriever._res_kw_recursive_getter (   self,
  imp,
  ctx 
)
private

Definition at line 478 of file namespace.py.

◆ _var_collector()

def robotide.namespace.namespace.DatafileRetriever._var_collector (   self,
  res,
  ctx,
  items 
)
private

Definition at line 517 of file namespace.py.

◆ default_kws()

def robotide.namespace.namespace.DatafileRetriever.default_kws (   self)
private

Definition at line 404 of file namespace.py.

◆ expire_cache()

def robotide.namespace.namespace.DatafileRetriever.expire_cache (   self)

Definition at line 409 of file namespace.py.

◆ get_all_cached_library_names()

def robotide.namespace.namespace.DatafileRetriever.get_all_cached_library_names (   self)

Definition at line 398 of file namespace.py.

◆ get_keywords_cached()

def robotide.namespace.namespace.DatafileRetriever.get_keywords_cached (   self,
  datafile,
  context_factory 
)

Definition at line 520 of file namespace.py.

◆ get_keywords_from()

def robotide.namespace.namespace.DatafileRetriever.get_keywords_from (   self,
  datafile,
  ctx 
)

Definition at line 420 of file namespace.py.

◆ get_keywords_from_several()

def robotide.namespace.namespace.DatafileRetriever.get_keywords_from_several (   self,
  datafiles 
)

Definition at line 413 of file namespace.py.

◆ get_resources_from()

def robotide.namespace.namespace.DatafileRetriever.get_resources_from (   self,
  datafile 
)

Definition at line 554 of file namespace.py.

◆ get_variables_from()

def robotide.namespace.namespace.DatafileRetriever.get_variables_from (   self,
  datafile,
  ctx = None 
)

Definition at line 490 of file namespace.py.

◆ is_library_import_ok()

def robotide.namespace.namespace.DatafileRetriever.is_library_import_ok (   self,
  datafile,
  imp,
  ctx 
)

Definition at line 428 of file namespace.py.

◆ is_variables_import_ok()

def robotide.namespace.namespace.DatafileRetriever.is_variables_import_ok (   self,
  datafile,
  imp,
  ctx 
)

Definition at line 432 of file namespace.py.

Member Data Documentation

◆ _default_kws

robotide.namespace.namespace.DatafileRetriever._default_kws
private

Definition at line 396 of file namespace.py.

◆ _lib_cache

robotide.namespace.namespace.DatafileRetriever._lib_cache
private

Definition at line 393 of file namespace.py.

◆ _namespace

robotide.namespace.namespace.DatafileRetriever._namespace
private

Definition at line 392 of file namespace.py.

◆ _resource_factory

robotide.namespace.namespace.DatafileRetriever._resource_factory
private

Definition at line 394 of file namespace.py.

◆ keyword_cache

robotide.namespace.namespace.DatafileRetriever.keyword_cache

Definition at line 395 of file namespace.py.

Property Documentation

◆ default_kws

robotide.namespace.namespace.DatafileRetriever.default_kws = property
static

Definition at line 402 of file namespace.py.


The documentation for this class was generated from the following file: