Thrift v1.3.0 Thrift.Parser.Models.Field
A Thrift field.
Fields define a named type and can occur in functions, structs, unions,
exceptions and the parameter list and throws
clauses of functions.
Fields can refer to each other. These are represented by the FieldReference type.
This module also contains some utilities for validating and fixing up fields.
Summary
Types
t :: %Thrift.Parser.Models.Field{default: Thrift.Parser.Literals.t, id: integer, name: String.t, required: boolean, type: Thrift.Parser.Types.t}
Functions
Specs
build_field_list(printable, [%Thrift.Parser.Models.Field{default: term, id: term, name: term, required: term, type: term}]) :: [%Thrift.Parser.Models.Field{default: term, id: term, name: term, required: term, type: term}]
Specs
new(integer, boolean, Thrift.Parser.Types.t, charlist, Thrift.Parser.Literals.t) :: %Thrift.Parser.Models.Field{default: term, id: term, name: term, required: term, type: term}