TYPO3
7.6
|
Public Member Functions | |
__construct (GranularityInterface $granularity) | |
getGranularity () | |
setGranularity (GranularityInterface $granularity) | |
getOpcodes () | |
setOpcodes (OpcodesInterface $opcodes) | |
parse ($from_text, $to_text) | |
Definition at line 23 of file ParserInterface.php.
__construct | ( | GranularityInterface | $granularity | ) |
Creates an instance.
cogpowered\FineDiff\Granularity\GranularityInterface |
Implemented in Parser.
getGranularity | ( | ) |
Granularity the parser is working with.
Default is cogpowered.
Implemented in Parser.
getOpcodes | ( | ) |
Get the opcodes object that is used to store all the opcodes.
Implemented in Parser.
parse | ( | $from_text, | |
$to_text | |||
) |
Generates the opcodes needed to transform one string to another.
string | $from_text | |
string | $to_text |
cogpowered\FineDiff\Exceptions\GranularityCountException |
Implemented in Parser.
setGranularity | ( | GranularityInterface | $granularity | ) |
Set the granularity that the parser is working with.
cogpowered\FineDiff\Granularity\GranularityInterface |
Implemented in Parser.
setOpcodes | ( | OpcodesInterface | $opcodes | ) |
Set the opcodes object used to store all the opcodes for this parse.
cogpowered\FineDiff\Parser\OpcodesInterface | $opcodes,. |
Implemented in Parser.