API reimplementation , second step : introducted ConstantResolver for custom constant for token parsing process
API reimplementation : added test for custom constants