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