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

66 lines
1.2 KiB
Python

from vsg import parser
class shift_operator(parser.keyword):
'''
unique_id = shift_operator : shift_operator
'''
def __init__(self, sString):
parser.keyword.__init__(self, sString)
class sll(shift_operator):
'''
unique_id = shift_operator : sll
'''
def __init__(self, sString):
shift_operator.__init__(self, sString)
class srl(shift_operator):
'''
unique_id = shift_operator : srl
'''
def __init__(self, sString):
shift_operator.__init__(self, sString)
class sla(shift_operator):
'''
unique_id = shift_operator : sla
'''
def __init__(self, sString):
shift_operator.__init__(self, sString)
class sra(shift_operator):
'''
unique_id = shift_operator : sra
'''
def __init__(self, sString):
shift_operator.__init__(self, sString)
class rol(shift_operator):
'''
unique_id = shift_operator : rol
'''
def __init__(self, sString):
shift_operator.__init__(self, sString)
class ror(shift_operator):
'''
unique_id = shift_operator : ror
'''
def __init__(self, sString):
shift_operator.__init__(self, sString)