Scans an input text string for character symbols.
This scanner provides a reference to the current and next characters when parsing a string.
Constructors a new lexer.
The input haystack filter string to process.
The current character read from the input.
The current character index from the input.
Readonly
The input string to read from.
The next character read from the input.
Consume the next character.
The scanner instance.
Consume any space and tab characters.
This does not consume all different types of white space - just space and tab characters.
Consume any white space characters.
Expect the current character or throw an error.
The expected character.
The expected id.
An error if the two values don't match.
Expect a new line character and consume it.
This will handle carriage return line feeds as well.
An error if a newline isn't found.
Return true if the specified character matches the current character.
The character to test.
True if there's a match.
Return true if the current character is a valid digit.
True if valid number.
Return true if the end of the data stream has been reached.
True if EOF.
Return true if the current character is a valid hex character
True if this is a hex character.
Return true if the current character is a valid letter (a-z and A-Z).
True if valid letter.
Return true if the current character is a string and is lower case.
True if lower case.
Return true if the current character is a newline.
True if the current character is a new line.
true if the current character is a space or tab.
Return true if the current character is a string and is upper case.
True if upper case.
Return true if the current character is considered white space.
True if white space.
Static
Return true if the character is a valid digit.
Return true if the character is a valid hex character
The charcter to test.
Return true if the character is a valid letter (a-z and A-Z).
Return true if the character is a string and is lower case.
Return true if the character is a newline.
True if the character is a new line.
Return true if the character is a space or a tab.
True if a space or a tab.
Return true if the character is a string and is upper case.
Return true if the character is considered white space.
Scans an input text string for character symbols.
This scanner provides a reference to the current and next characters when parsing a string.