Improve documentation

This commit is contained in:
code liturgy 2022-12-05 02:24:50 +00:00
parent f5c1368b8f
commit 29619765a8
1 changed files with 4 additions and 5 deletions

View File

@ -9,9 +9,9 @@ public class Directive : Node
public bool HasArguments => Arguments.Count != 0;
/// <summary>
/// Sets a new value for the directive using string literals
/// The values are separated by spaces, the first value is the directive value,
/// the other values are values corresponding to the arguments.
/// Sets a new value for the directive.
/// The first word is the directive value,
/// the following words correspond to the arguments.
/// </summary>
/// <param name="newValue"></param>
public void Set(string newValue)
@ -31,8 +31,7 @@ public class Directive : Node
}
/// <summary>
/// Set the value of this directive.
/// Note: This doesn't write any changes to disk.
/// Set the value of this directivew without writing changes to the disk.
/// </summary>
/// <param name="newValue">New value.</param>
/// <returns></returns>