Create a derived class inherited from the predefined grammar class.
创建一个从预定义grammar类继承而来的派生类。
The grammar class is a template class that is parameterized by its derived class DerivedT and the context class ContextT. The declaration for the grammar class is as follows.
grammar类是一个模板类,被其派生类DerivedT和上下文类ContextT参数化。
应用推荐