This PR implements a mechanism of custom token lexer and parser.
It means we can expand VCL language spec (custom declaration, statement, etc)
Of course, this feature should not be enabled as default, so as not to be misunderstood by a VCL user.
For example, I implemented describe and before_each custom syntax for custom parsing test.
And, to use some parser methods from other packages inside, all parser methods like parseXXX are made publicly.
This PR implements a mechanism of custom token lexer and parser. It means we can expand VCL language spec (custom declaration, statement, etc)
Of course, this feature should not be enabled as default, so as not to be misunderstood by a VCL user. For example, I implemented
describe
andbefore_each
custom syntax for custom parsing test.And, to use some parser methods from other packages inside, all parser methods like parseXXX are made publicly.