C-minor v0.0

CodeFile.DoesMatch Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Lexical
Declaring Type: CodeFile

Check if the current position in the string matches a substring (case sensitive)

public bool DoesMatch(string str);

Parameters

string str

The string to check for

Returns

bool

True if the current position matches the specified string