Page MenuHomePhorge

final class ArcanistDiffHunk
Arcanist Technical Documentation ()

Represents a contiguous set of added and removed lines in a diff.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function toDictionary()

This method is not documented.
Return
wild

public static function newFromDictionary($dict)

This method is not documented.
Parameters
array$dict
Return
wild

public function getChangedLines($type)

This method is not documented.
Parameters
$type
Return
wild

public function setOldOffset($old_offset)

This method is not documented.
Parameters
$old_offset
Return
wild

public function getOldOffset()

This method is not documented.
Return
wild

public function setNewOffset($new_offset)

This method is not documented.
Parameters
$new_offset
Return
wild

public function getNewOffset()

This method is not documented.
Return
wild

public function setOldLength($old_length)

This method is not documented.
Parameters
$old_length
Return
wild

public function getOldLength()

This method is not documented.
Return
wild

public function setNewLength($new_length)

This method is not documented.
Parameters
$new_length
Return
wild

public function getNewLength()

This method is not documented.
Return
wild

public function setAddLines($add_lines)

This method is not documented.
Parameters
$add_lines
Return
wild

public function getAddLines()

This method is not documented.
Return
wild

public function setDelLines($del_lines)

This method is not documented.
Parameters
$del_lines
Return
wild

public function getDelLines()

This method is not documented.
Return
wild

public function setCorpus($corpus)

This method is not documented.
Parameters
$corpus
Return
wild

public function getCorpus()

This method is not documented.
Return
wild

public function setIsMissingOldNewline($missing)

This method is not documented.
Parameters
$missing
Return
wild

public function getIsMissingOldNewline()

This method is not documented.
Return
wild

public function setIsMissingNewNewline($missing)

This method is not documented.
Parameters
$missing
Return
wild

public function getIsMissingNewNewline()

This method is not documented.
Return
wild