Scanner Class
From R3_Language
A Sandcastle Documented Class Library
| Scanner Class |
Scanner class for the R Language.
Namespace: R3_Language
Assembly: R3_Language (in R3_Language.exe) Version: 1.0.0.0 (1.0.0.0)
The Scanner type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasNext |
Checks if there is more processable input. Ignores whitespace.
| |
| HasNext(String) |
Checks to see if the next valid input matches the word
If success, it is consumed and head is incremented.
| |
| IsNumber |
IsNumber function
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PrintAll |
Prints all tokens of scanner to console
| |
| PrintRest |
Prints rest of tokens of scanner to console
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Tokens |
Once Scanner is initialized this will be filled with strings that are processable
|