from vsg import parser class label(parser.label): ''' unique_id = exit_statement : label ''' def __init__(self, sString): parser.label.__init__(self, sString) class label_colon(parser.label_colon): ''' unique_id = exit_statement : label_colon ''' def __init__(self): parser.label_colon.__init__(self) class exit_keyword(parser.keyword): ''' unique_id = exit_statement : exit_keyword ''' def __init__(self, sString): parser.keyword.__init__(self, sString) class loop_label(parser.label): ''' unique_id = exit_statement : loop_label ''' def __init__(self, sString): parser.label.__init__(self, sString) class when_keyword(parser.keyword): ''' unique_id = exit_statement : when_keyword ''' def __init__(self, sString): parser.keyword.__init__(self, sString) class semicolon(parser.semicolon): ''' unique_id = exit_statement : semicolon ''' def __init__(self, sString=';'): parser.semicolon.__init__(self)