DataMemberDef : FinalModifier AccessModifier StaticModifier RefModifier INDENTIFIER InitModifier Terminator

def p_DataMemberDef(p):
    '''
    DataMemberDef : FinalModifier AccessModifier StaticModifier RefModifier INDENTIFIER InitModifier Terminator
    '''
    if p[1].val != None:
        raise SyntaxError
    p[0] = DataMemberDef(p[2], p[3], p[4], p[5], p[6], p[7])