Namespace RTools_NTS.Util
Classes
CharBuffer
Buffer for characters. This approximates StringBuilder but is designed to be faster for specific operations. This is about 30% faster for the operations I'm interested in (Append, Clear, Length, ToString). This trades off memory for speed.
CharToken
Token type for characters, meaning non-word characters.
CommentToken
Token type for comments, including line and block comments.
EofToken
Represents end of file/stream.
EolToken
Represents end-of-lines (line separator characters).
FloatToken
Token type for floating point numbers, stored internally as a Double.
IntToken
Token type for integer tokens. This handles both Int32 and Int64.
QuoteToken
Token type for Quotes such as "this is a quote".
StreamTokenizer
A StreamTokenizer similar to Java's. This breaks an input stream (coming from a TextReader) into Tokens based on various settings. The settings are stored in the TokenizerSettings property, which is a StreamTokenizerSettings instance.
StreamTokenizerSettings
This contains the settings that control the behavior of the tokenizer. This is separated from the StreamTokenizer so that common settings are easy to package and keep together.
StreamTokenizerUntermCommentException
Exception class for unterminated block comments.
StreamTokenizerUntermException
Exception class for unterminated tokens.
StreamTokenizerUntermQuoteException
Exception class for unterminated quotes.
StringToken
Abstract base class for string tokens.
Token
Token class used by StreamTokenizer. This represents a single token in the input stream. This is subclassed to provide specific token types, such as CharToken, FloatToken, etc.
WhitespaceToken
Token type for whitespace such as spaces and tabs.
WordToken
Token type for words, meaning sequences of word characters.
Enums
CharTypeBits
Bitwise enumeration for character types.
VerbosityLevel
This enumerates verbosity levels.