#include <token_stream.h>
Public Methods | |
Token ( String prefix = emptyString, String token = emptyString, String separator = emptyString ) | |
bool | is_equal (const char *t) |
String | get_name (void) |
String | get_prefix (void) |
String | get_postfix (void) |
Public Attributes | |
String | _prefix |
String | _token |
String | _separator |
When the token is parsed from an istream, the token object also contains a prefix and a postfix, which are strings of whitespaces surrounding the token. The token parser uses a greedy algorithm which consumes as much noise characters as possible after each token.
|
|
|
|
|
|
|
|