stylist icon indicating copy to clipboard operation
stylist copied to clipboard

Properly type the subject of a rule

Open MatthewHambley opened this issue 3 years ago • 0 comments

At the moment the abstract Rule class does not specify the type of the subject argument to the examine method. This is due to the fact that it could be any text or parse tree.

It might be necessary to create a common class both can inherit from to allow a type to be specified.

MatthewHambley avatar Apr 26 '22 14:04 MatthewHambley