def __init__(self, path, lineno, lexpos, name, type_ref):
super(AstField, self).__init__(path, lineno, lexpos)<EOL>self.name = name<EOL>self.type_ref = type_ref<EOL>self.doc = None<EOL>self.has_default = False<EOL>self.default = None<EOL>self.annotations = []<EOL>
Args:
    name (str): The name of the field.
    type_ref (AstTypeRef): The data type of the field.