Scanner Class

R3_Language

Scanner Class
Scanner class for the R Language.
Inheritance Hierarchy
SystemObject  R3_LanguageScanner

Namespace:  R3_Language
Assembly:  R3_Language (in R3_Language.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Scanner
Public Class Scanner
public ref class Scanner
type Scanner =  class end

The Scanner type exposes the following members.

Constructors
  NameDescription
Public methodScanner
Constructor for Scanner
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasNext
Checks if there is more processable input. Ignores whitespace.
Public methodHasNext(String)
Checks to see if the next valid input matches the word If success, it is consumed and head is incremented.
Public methodIsNumber
IsNumber function
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrintAll
Prints all tokens of scanner to console
Public methodPrintRest
Prints rest of tokens of scanner to console
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldTokens
Once Scanner is initialized this will be filled with strings that are processable
Top
See Also