The main function of this wrapper is to ensure that parsers can only read elements and attributes by 'consuming' them, which removes the given value. This allows for a natural hierarchy among parsers -- more specific parsers will run first, and if they consume a value, less-specific parsers will not see it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|