vhdl-style-guide/vsg/token/case_statement.py

85 lines
1.5 KiB
Python

# -*- coding: utf-8 -*-
from vsg import parser
class case_label(parser.label):
"""
unique_id = case_statement : case_label
"""
def __init__(self, sString):
super().__init__(sString)
class label_colon(parser.label_colon):
"""
unique_id = case_statement : label_colon
"""
def __init__(self):
super().__init__()
class case_keyword(parser.keyword):
"""
unique_id = case_statement : case_keyword
"""
def __init__(self, sString):
super().__init__(sString)
class question_mark(parser.question_mark):
"""
unique_id = case_statement : question_mark
"""
def __init__(self, sString="?"):
super().__init__()
class is_keyword(parser.keyword):
"""
unique_id = case_statement : is_keyword
"""
def __init__(self, sString):
super().__init__(sString)
class end_keyword(parser.keyword):
"""
unique_id = case_statement : end_keyword
"""
def __init__(self, sString):
super().__init__(sString)
class end_case_keyword(parser.keyword):
"""
unique_id = case_statement : end_case_keyword
"""
def __init__(self, sString):
super().__init__(sString)
class end_case_label(parser.label):
"""
unique_id = case_statement : end_case_label
"""
def __init__(self, sString):
super().__init__(sString)
class semicolon(parser.semicolon):
"""
unique_id = case_statement : semicolon
"""
def __init__(self, sString=";"):
super().__init__()