InputStream Class |
Namespace: Syntactik.IO
public class InputStream : ICharStream, ITextSource, IDisposable
The InputStream type exposes the following members.
Name | Description | |
---|---|---|
InputStream(String) |
Creates instance of the class.
| |
InputStream(String, Int32) |
Creates instance of the class.
|
Name | Description | |
---|---|---|
Column |
Number of consumed character since property Line changed the value. 0 if no characters
has been consumed in the current line.
| |
Index |
Index of the last consumed character. -1 if input is in the initial state.
| |
Length |
Total number of symbols in the stream.
| |
Line |
Current line. Starts from 1.
| |
Next |
Current character. Next symbol to be consumed.
|
Name | Description | |
---|---|---|
Consume |
Consumes one character.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
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.) | |
GetChar |
Returns a character.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetText |
Returns a string.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
La |
Returns character from the stream without consuming it.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Initializes/resets state of the stream.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |