private EatWhitespace ( string code, Position position ) : void | ||
code | string | |
position | Position | |
return | void |
private void EatWhitespace(string code, Position position)
{
// eat whitespace
while ((code.Length > position.CurrentIndex) && (Char.IsWhiteSpace(code[position.CurrentIndex])))
{
position.MoveIndex();
}
}