func (t *Type) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch Type(in.String()) {
	case TypeObject:
		*t = TypeObject
	case TypeFunction:
		*t = TypeFunction
	case TypeUndefined:
		*t = TypeUndefined
	case TypeString:
		*t = TypeString
	case TypeNumber:
		*t = TypeNumber
	case TypeBoolean:
		*t = TypeBoolean
	case TypeSymbol:
		*t = TypeSymbol
	case TypeBigint:
		*t = TypeBigint
	case TypeAccessor:
		*t = TypeAccessor

	default:
		in.AddError(errors.New("unknown Type value"))
	}
}
func (t *Type) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch Type(in.String()) {
	case TypeObject:
		*t = TypeObject
	case TypeFunction:
		*t = TypeFunction
	case TypeUndefined:
		*t = TypeUndefined
	case TypeString:
		*t = TypeString
	case TypeNumber:
		*t = TypeNumber
	case TypeBoolean:
		*t = TypeBoolean
	case TypeSymbol:
		*t = TypeSymbol
	case TypeBigint:
		*t = TypeBigint
	case TypeAccessor:
		*t = TypeAccessor

	default:
		in.AddError(errors.New("unknown Type value"))
	}
}
func ( t * Type ) UnmarshalEasyJSON ( in * jlexer . Lexer ) { switch Type ( in . String ( ) ) { case TypeObject : * t = TypeObject case TypeFunction : * t = TypeFunction case TypeUndefined : * t = TypeUndefined case TypeString : * t = TypeString case TypeNumber : * t = TypeNumber case TypeBoolean : * t = TypeBoolean case TypeSymbol : * t = TypeSymbol case TypeBigint : * t = TypeBigint case TypeAccessor : * t = TypeAccessor default : in . AddError ( errors . New ( " " ) ) } }
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalEasyJSON satisfies easyjson . Unmarshaler .