Method | Description | |
---|---|---|
Add ( IronJSONToken token ) : void |
Adds a token to the stream.
|
|
AddNewLine ( ) : void |
Used for more helpful error messages.
|
|
AtEnd ( ) : bool |
Returns true if the position is at the end of the stream. The only token available is PreviousToken.
|
|
GetLineNumber ( ) : int |
Get's the current line number.
|
|
IronJSONTokenStream ( ) : System |
|
|
Reset ( ) : void |
Resets the position to point back at the beginning.
|
|
ToNextToken ( ) : bool |
Increments the stream position. Returns false when at the end of the stream.
|
public Add ( IronJSONToken token ) : void | ||
token | IronJSONToken |
/// A |
return | void |