{-# LANGUAGE TemplateHaskell #-} module Phoityne.IO.GUI.VSCode.TH.SetBreakpointsRequestArgumentsJSON where import Data.Aeson.TH import Phoityne.Utility import Phoityne.IO.GUI.VSCode.TH.SourceJSON import Phoityne.IO.GUI.VSCode.TH.SourceBreakpointJSON -- | -- Arguments for "setBreakpoints" request. -- data SetBreakpointsRequestArguments = SetBreakpointsRequestArguments { sourceSetBreakpointsRequestArguments :: Source -- The source location of the breakpoints; either source.path or source.reference must be specified. , breakpointsSetBreakpointsRequestArguments :: [SourceBreakpoint] -- The code locations of the breakpoints. } deriving (Show, Read, Eq) $(deriveJSON defaultOptions { fieldLabelModifier = rdrop (length "SetBreakpointsRequestArguments") } ''SetBreakpointsRequestArguments)