Added missing docstrings

This commit is contained in:
Tristan B. Velloza Kildaire 2021-12-23 15:05:47 +02:00
parent fec60c560a
commit 09c7d85434
1 changed files with 7 additions and 3 deletions

View File

@ -109,13 +109,17 @@ public abstract class MessageTransform
/* Transformation (implement this) */ /* Transformation (implement this) */
public abstract string transform(string text, string[] context); public abstract string transform(string text, string[] context);
/* Chain a transform */ /**
* Chain a transform
*/
public final void chain(MessageTransform transform) public final void chain(MessageTransform transform)
{ {
chainedTransform = transform; chainedTransform = transform;
} }
/* Perform the transformation */ /**
* Perform the transformation
*/
public final string execute(string text, string[] context) public final string execute(string text, string[] context)
{ {
/* Perform the transformation */ /* Perform the transformation */
@ -145,4 +149,4 @@ unittest
logger.log([1,2,3]); logger.log([1,2,3]);
logger.log('f'); logger.log('f');
logger.log(logger); logger.log(logger);
} }