mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
19 lines
544 B
C#
19 lines
544 B
C#
namespace YesNt.Interpreter.Enums;
|
|
|
|
/// <summary>
|
|
/// Determines where in a source line the interpreter searches for a statement keyword.
|
|
/// </summary>
|
|
public enum SearchMode
|
|
{
|
|
/// <summary>The keyword must appear at the beginning of the line.</summary>
|
|
StartOfLine,
|
|
|
|
/// <summary>The keyword must appear at the end of the line.</summary>
|
|
EndOfLine,
|
|
|
|
/// <summary>The keyword may appear anywhere in the line.</summary>
|
|
Contains,
|
|
|
|
/// <summary>The entire line must exactly match the keyword.</summary>
|
|
Exact
|
|
} |