| Conditions | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import os |
||
| 7 | |||
| 8 | class LanguageDefinition(SectionCreatable): |
||
| 9 | def __init__(self, language_family: str, language: str): |
||
| 10 | """ |
||
| 11 | Creates a new LanguageDefinition object from file. |
||
| 12 | |||
| 13 | A Language Definition holds constants which may help parsing the |
||
| 14 | language. If you want to write a bear you'll probably want to use those |
||
| 15 | definitions to keep your bear independent of the semantics of each |
||
| 16 | language. |
||
| 17 | |||
| 18 | :param language_family: The language family. E.g. C for C++ and C |
||
| 36 |