Class SimpleEndCode
- Namespace
- MLEM.Formatting.Codes
- Assembly
- MLEM.dll
An instance of a formatting code that can be used for a TextFormatter. To add a new formatting code, see Codes
public class SimpleEndCode : Code, IGenericDataHolder
- Inheritance
-
SimpleEndCode
- Implements
- Inherited Members
Constructors
SimpleEndCode(Match, Regex, string)
public SimpleEndCode(Match match, Regex regex, string codeNameToEnd)
Parameters
Methods
EndsOther(Code)
Returns whether the other
Code should end when this formatting code starts.
If this method returns true, a new Token is started at this code's position.
This is the opposite version of EndsHere(Code).
public override bool EndsOther(Code other)
Parameters
other
CodeThe code that could end here.
Returns
- bool
Whether the
other
code should end here.