Class: Necropsy::ScanResult

Inherits:
Data
  • Object
show all
Defined in:
lib/necropsy/ast_scanner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodes:, call_sites:, instantiated_classes:, uncertainties:, class_infos:, entrypoint_hints:, file_statuses: {}, source_errors: [], source_domains: {}, scope_diagnostics: {}, method_signatures: {}, semantic_blockers: []) ⇒ ScanResult

Returns a new instance of ScanResult.



29
30
31
32
33
# File 'lib/necropsy/ast_scanner.rb', line 29

def initialize(nodes:, call_sites:, instantiated_classes:, uncertainties:, class_infos:, entrypoint_hints:,
               file_statuses: {}, source_errors: [], source_domains: {}, scope_diagnostics: {},
               method_signatures: {}, semantic_blockers: [])
  super
end

Instance Attribute Details

#call_sitesObject (readonly)

Returns the value of attribute call_sites

Returns:

  • (Object)

    the current value of call_sites



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def call_sites
  @call_sites
end

#class_infosObject (readonly)

Returns the value of attribute class_infos

Returns:

  • (Object)

    the current value of class_infos



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def class_infos
  @class_infos
end

#entrypoint_hintsObject (readonly)

Returns the value of attribute entrypoint_hints

Returns:

  • (Object)

    the current value of entrypoint_hints



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def entrypoint_hints
  @entrypoint_hints
end

#file_statusesObject (readonly)

Returns the value of attribute file_statuses

Returns:

  • (Object)

    the current value of file_statuses



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def file_statuses
  @file_statuses
end

#instantiated_classesObject (readonly)

Returns the value of attribute instantiated_classes

Returns:

  • (Object)

    the current value of instantiated_classes



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def instantiated_classes
  @instantiated_classes
end

#method_signaturesObject (readonly)

Returns the value of attribute method_signatures

Returns:

  • (Object)

    the current value of method_signatures



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def method_signatures
  @method_signatures
end

#nodesObject (readonly)

Returns the value of attribute nodes

Returns:

  • (Object)

    the current value of nodes



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def nodes
  @nodes
end

#scope_diagnosticsObject (readonly)

Returns the value of attribute scope_diagnostics

Returns:

  • (Object)

    the current value of scope_diagnostics



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def scope_diagnostics
  @scope_diagnostics
end

#semantic_blockersObject (readonly)

Returns the value of attribute semantic_blockers

Returns:

  • (Object)

    the current value of semantic_blockers



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def semantic_blockers
  @semantic_blockers
end

#source_domainsObject (readonly)

Returns the value of attribute source_domains

Returns:

  • (Object)

    the current value of source_domains



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def source_domains
  @source_domains
end

#source_errorsObject (readonly)

Returns the value of attribute source_errors

Returns:

  • (Object)

    the current value of source_errors



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def source_errors
  @source_errors
end

#uncertaintiesObject (readonly)

Returns the value of attribute uncertainties

Returns:

  • (Object)

    the current value of uncertainties



15
16
17
# File 'lib/necropsy/ast_scanner.rb', line 15

def uncertainties
  @uncertainties
end