class MetaCommit::Contracts::ChangeContext

DTO that keeps data of context of change @attr [Symbol] type operation that was performed :addition, :deletion, :replace @attr [String] old_lineno line number in the old file @attr [String] new_lineno line number in the new file @attr [Numeric, Nil] column position of the first character in the new line that is different from character at the same position in the old line (it has meaning only when type == :replace) @attr [String] commit_id_old hash of the old commit @attr [String] commit_id_new hash of the new commit @attr [MetaCommit::Contracts::ContextualAst] old_contextual_ast stores ast and context from the old file @attr [MetaCommit::Contracts::ContextualAst] new_contextual_ast stores ast and context from the new file @attr [String] old_file_path path to old file @attr [String] new_file_path path to new file

Attributes

column[RW]
commit_id_new[RW]
commit_id_old[RW]
new_contextual_ast[RW]
new_file_path[RW]
new_lineno[RW]
old_contextual_ast[RW]
old_file_path[RW]
old_lineno[RW]
type[RW]