Class: Ast::Merge::MergeIREvaluationReport

Inherits:
Struct
  • Object
show all
Defined in:
lib/ast/merge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#diagnosticsObject

Returns the value of attribute diagnostics

Returns:

  • (Object)

    the current value of diagnostics



361
362
363
# File 'lib/ast/merge.rb', line 361

def diagnostics
  @diagnostics
end

#inconsistency_reportObject

Returns the value of attribute inconsistency_report

Returns:

  • (Object)

    the current value of inconsistency_report



361
362
363
# File 'lib/ast/merge.rb', line 361

def inconsistency_report
  @inconsistency_report
end

#merge_engineObject

Returns the value of attribute merge_engine

Returns:

  • (Object)

    the current value of merge_engine



361
362
363
# File 'lib/ast/merge.rb', line 361

def merge_engine
  @merge_engine
end

#outcomeObject

Returns the value of attribute outcome

Returns:

  • (Object)

    the current value of outcome



361
362
363
# File 'lib/ast/merge.rb', line 361

def outcome
  @outcome
end

#raw_mergeObject

Returns the value of attribute raw_merge

Returns:

  • (Object)

    the current value of raw_merge



361
362
363
# File 'lib/ast/merge.rb', line 361

def raw_merge
  @raw_merge
end

Instance Method Details

#to_hObject



363
364
365
366
367
368
369
370
371
# File 'lib/ast/merge.rb', line 363

def to_h
  {
    merge_engine: merge_engine,
    raw_merge: raw_merge.to_h,
    inconsistency_report: inconsistency_report.to_h,
    outcome: outcome,
    diagnostics: diagnostics || []
  }
end