The statement parser - fragmatyc/SDFL GitHub Wiki

The statement parser is a kind of factory pattern. It takes a single SDFL statement source code and try to figure which StatementBuilder to use. Once the appropriated statement builder is found and instanciated, then the remaining tokens of the SDFL source code statement is parsed to build the Statement instance.

com.sdfl.statements.parser.StatementParser

Tokenizes the statement source code. Based on the first keyword, the remaining tokens of the source code is transferred to the appropriated instance of the StatementBuilder and the build of the Statement instance is triggered.

Back to Architecture

⚠️ **GitHub.com Fallback** ⚠️