Pull Parsing

Pull parsing is when data is tokenized and the tokens are made available to a scanner for processing by “pulling” tokens in and handling them. This is the opposite of push parsing.

Pull parsing is widely preferred to push parsing because it provides more control over the parsing process to the application developers handling the data with the scanner provided.