C-minor v0.0

CodeFile.SkipI Method

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

Overloads

SkipI(char)

Skip one instance of the specified character (case insensitive)

SkipI(string)

Skip a string (case insensitive)

SkipI(char)

Skip one instance of the specified character (case insensitive)

public bool SkipI(char ch);

Parameters

char ch

The character to skip

Returns

bool

True if the character was skipped

SkipI(string)

Skip a string (case insensitive)

public bool SkipI(string str);

Parameters

string str

The string to skip

Returns

bool

True if the string was found at the current position