class_constant : class_name DOUBLE_COLON STRING
                      | variable_class_name DOUBLE_COLON STRING

def p_class_constant(p):
    '''class_constant : class_name DOUBLE_COLON STRING
                      | variable_class_name DOUBLE_COLON STRING'''
    p[0] = ast.StaticProperty(p[1], p[3], lineno=p.lineno(2))