StringScanner class

Implemented types

Constructors

StringScanner(String content)
Creates an instance of this class.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

column() int
Gets the column in the current line Returns The column in the current line in the stream
override
line() int
Gets the current line number Returns The current line number in the stream
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peek() int
Gives the character from the top of the stream without moving the stream pointer. Returns A character from the top of the stream or -1 if stream is empty.
override
peekColumn() int
Gets the next character column number Returns The next character column number in the stream
override
peekLine() int
Gets the next character line number Returns The next character line number in the stream
override
read() int
Reads character from the top of the stream. Returns A read character or -1 if stream processed to the end.
override
reset() → void
Resets scanner to the initial position
override
toString() String
A string representation of this object.
inherited
unread() → void
Puts the one character back into the stream stream.
override
unreadMany(int count) → void
Pushes the specified number of characters to the top of the stream.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

Eof → const int