58 lines
1013 B
Python
58 lines
1013 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from vsg import parser
|
|
|
|
|
|
class label(parser.label):
|
|
"""
|
|
unique_id = exit_statement : label
|
|
"""
|
|
|
|
def __init__(self, sString):
|
|
super().__init__(sString)
|
|
|
|
|
|
class label_colon(parser.label_colon):
|
|
"""
|
|
unique_id = exit_statement : label_colon
|
|
"""
|
|
|
|
def __init__(self):
|
|
super().__init__()
|
|
|
|
|
|
class exit_keyword(parser.keyword):
|
|
"""
|
|
unique_id = exit_statement : exit_keyword
|
|
"""
|
|
|
|
def __init__(self, sString):
|
|
super().__init__(sString)
|
|
|
|
|
|
class loop_label(parser.label):
|
|
"""
|
|
unique_id = exit_statement : loop_label
|
|
"""
|
|
|
|
def __init__(self, sString):
|
|
super().__init__(sString)
|
|
|
|
|
|
class when_keyword(parser.keyword):
|
|
"""
|
|
unique_id = exit_statement : when_keyword
|
|
"""
|
|
|
|
def __init__(self, sString):
|
|
super().__init__(sString)
|
|
|
|
|
|
class semicolon(parser.semicolon):
|
|
"""
|
|
unique_id = exit_statement : semicolon
|
|
"""
|
|
|
|
def __init__(self, sString=";"):
|
|
super().__init__()
|