Practical: Validating log file entries. If more than 2 'WARNING' entries exist, they are ignored, but 'ERROR' entries are still processed.
Processes a log file but stops after finding the first error message to focus on the initial problem.
Retrieves a Tokens collection's parent uCalc instance and verifies its identity by reading a description.
Safely renames a variable without corrupting a string literal, demonstrating the Transformer's token-awareness.
Setting default uCalc instance with uCalc.IsDefault(); also clearing all uCalc instances from default list
Shows how a full reset clears all rules and input, allowing a transformer object to be reconfigured from a clean slate.
Shows how importing a comment token definition can prevent find-and-replace rules from incorrectly modifying text inside comments.