tree-sitter-0.2.1.0: Unstable bindings for the tree-sitter parsing library.

Safe HaskellNone
LanguageHaskell2010

TreeSitter.Deserialize

Documentation

data Datatype Source #

Instances
Eq Datatype Source # 
Instance details

Defined in TreeSitter.Deserialize

Ord Datatype Source # 
Instance details

Defined in TreeSitter.Deserialize

Show Datatype Source # 
Instance details

Defined in TreeSitter.Deserialize

Generic Datatype Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep Datatype :: Type -> Type #

Methods

from :: Datatype -> Rep Datatype x #

to :: Rep Datatype x -> Datatype #

FromJSON Datatype Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser Datatype

parseJSONList :: Value -> Parser [Datatype]

ToJSON Datatype Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: Datatype -> Value

toEncoding :: Datatype -> Encoding

toJSONList :: [Datatype] -> Value

toEncodingList :: [Datatype] -> Encoding

type Rep Datatype Source # 
Instance details

Defined in TreeSitter.Deserialize

data Field Source #

Instances
Eq Field Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Ord Field Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

compare :: Field -> Field -> Ordering #

(<) :: Field -> Field -> Bool #

(<=) :: Field -> Field -> Bool #

(>) :: Field -> Field -> Bool #

(>=) :: Field -> Field -> Bool #

max :: Field -> Field -> Field #

min :: Field -> Field -> Field #

Show Field Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Generic Field Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

FromJSON Field Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser Field

parseJSONList :: Value -> Parser [Field]

ToJSON Field Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: Field -> Value

toEncoding :: Field -> Encoding

toJSONList :: [Field] -> Value

toEncodingList :: [Field] -> Encoding

type Rep Field Source # 
Instance details

Defined in TreeSitter.Deserialize

type Rep Field = D1 (MetaData "Field" "TreeSitter.Deserialize" "tree-sitter-0.2.1.0-inplace" False) (C1 (MetaCons "MkField" PrefixI True) (S1 (MetaSel (Just "fieldRequired") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Required) :*: (S1 (MetaSel (Just "fieldTypes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (NonEmpty Type)) :*: S1 (MetaSel (Just "fieldMultiple") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Multiple))))

newtype Children Source #

Constructors

MkChildren Field 
Instances
Eq Children Source # 
Instance details

Defined in TreeSitter.Deserialize

Ord Children Source # 
Instance details

Defined in TreeSitter.Deserialize

Show Children Source # 
Instance details

Defined in TreeSitter.Deserialize

Generic Children Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep Children :: Type -> Type #

Methods

from :: Children -> Rep Children x #

to :: Rep Children x -> Children #

FromJSON Children Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser Children

parseJSONList :: Value -> Parser [Children]

ToJSON Children Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: Children -> Value

toEncoding :: Children -> Encoding

toJSONList :: [Children] -> Value

toEncodingList :: [Children] -> Encoding

type Rep Children Source # 
Instance details

Defined in TreeSitter.Deserialize

type Rep Children = D1 (MetaData "Children" "TreeSitter.Deserialize" "tree-sitter-0.2.1.0-inplace" True) (C1 (MetaCons "MkChildren" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Field)))

data Required Source #

Constructors

Optional 
Required 
Instances
Eq Required Source # 
Instance details

Defined in TreeSitter.Deserialize

Ord Required Source # 
Instance details

Defined in TreeSitter.Deserialize

Show Required Source # 
Instance details

Defined in TreeSitter.Deserialize

Generic Required Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep Required :: Type -> Type #

Methods

from :: Required -> Rep Required x #

to :: Rep Required x -> Required #

FromJSON Required Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser Required

parseJSONList :: Value -> Parser [Required]

ToJSON Required Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: Required -> Value

toEncoding :: Required -> Encoding

toJSONList :: [Required] -> Value

toEncodingList :: [Required] -> Encoding

type Rep Required Source # 
Instance details

Defined in TreeSitter.Deserialize

type Rep Required = D1 (MetaData "Required" "TreeSitter.Deserialize" "tree-sitter-0.2.1.0-inplace" False) (C1 (MetaCons "Optional" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Required" PrefixI False) (U1 :: Type -> Type))

data Type Source #

Constructors

MkType 
Instances
Eq Type Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Ord Type Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

compare :: Type -> Type -> Ordering #

(<) :: Type -> Type -> Bool #

(<=) :: Type -> Type -> Bool #

(>) :: Type -> Type -> Bool #

(>=) :: Type -> Type -> Bool #

max :: Type -> Type -> Type #

min :: Type -> Type -> Type #

Show Type Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Generic Type Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

FromJSON Type Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser Type

parseJSONList :: Value -> Parser [Type]

ToJSON Type Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: Type -> Value

toEncoding :: Type -> Encoding

toJSONList :: [Type] -> Value

toEncodingList :: [Type] -> Encoding

type Rep Type Source # 
Instance details

Defined in TreeSitter.Deserialize

type Rep Type = D1 (MetaData "Type" "TreeSitter.Deserialize" "tree-sitter-0.2.1.0-inplace" False) (C1 (MetaCons "MkType" PrefixI True) (S1 (MetaSel (Just "fieldType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DatatypeName) :*: S1 (MetaSel (Just "isNamed") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Named)))

newtype DatatypeName Source #

Constructors

DatatypeName 
Instances
Eq DatatypeName Source # 
Instance details

Defined in TreeSitter.Deserialize

Ord DatatypeName Source # 
Instance details

Defined in TreeSitter.Deserialize

Show DatatypeName Source # 
Instance details

Defined in TreeSitter.Deserialize

Generic DatatypeName Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep DatatypeName :: Type -> Type #

FromJSON DatatypeName Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser DatatypeName

parseJSONList :: Value -> Parser [DatatypeName]

ToJSON DatatypeName Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: DatatypeName -> Value

toEncoding :: DatatypeName -> Encoding

toJSONList :: [DatatypeName] -> Value

toEncodingList :: [DatatypeName] -> Encoding

type Rep DatatypeName Source # 
Instance details

Defined in TreeSitter.Deserialize

type Rep DatatypeName = D1 (MetaData "DatatypeName" "TreeSitter.Deserialize" "tree-sitter-0.2.1.0-inplace" True) (C1 (MetaCons "DatatypeName" PrefixI True) (S1 (MetaSel (Just "getDatatypeName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))

data Named Source #

Constructors

Anonymous 
Named 
Instances
Eq Named Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

(==) :: Named -> Named -> Bool #

(/=) :: Named -> Named -> Bool #

Ord Named Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

compare :: Named -> Named -> Ordering #

(<) :: Named -> Named -> Bool #

(<=) :: Named -> Named -> Bool #

(>) :: Named -> Named -> Bool #

(>=) :: Named -> Named -> Bool #

max :: Named -> Named -> Named #

min :: Named -> Named -> Named #

Show Named Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

showsPrec :: Int -> Named -> ShowS #

show :: Named -> String #

showList :: [Named] -> ShowS #

Generic Named Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep Named :: Type -> Type #

Methods

from :: Named -> Rep Named x #

to :: Rep Named x -> Named #

FromJSON Named Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser Named

parseJSONList :: Value -> Parser [Named]

ToJSON Named Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: Named -> Value

toEncoding :: Named -> Encoding

toJSONList :: [Named] -> Value

toEncodingList :: [Named] -> Encoding

type Rep Named Source # 
Instance details

Defined in TreeSitter.Deserialize

type Rep Named = D1 (MetaData "Named" "TreeSitter.Deserialize" "tree-sitter-0.2.1.0-inplace" False) (C1 (MetaCons "Anonymous" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Named" PrefixI False) (U1 :: Type -> Type))

data Multiple Source #

Constructors

Single 
Multiple 
Instances
Eq Multiple Source # 
Instance details

Defined in TreeSitter.Deserialize

Ord Multiple Source # 
Instance details

Defined in TreeSitter.Deserialize

Show Multiple Source # 
Instance details

Defined in TreeSitter.Deserialize

Generic Multiple Source # 
Instance details

Defined in TreeSitter.Deserialize

Associated Types

type Rep Multiple :: Type -> Type #

Methods

from :: Multiple -> Rep Multiple x #

to :: Rep Multiple x -> Multiple #

FromJSON Multiple Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

parseJSON :: Value -> Parser Multiple

parseJSONList :: Value -> Parser [Multiple]

ToJSON Multiple Source # 
Instance details

Defined in TreeSitter.Deserialize

Methods

toJSON :: Multiple -> Value

toEncoding :: Multiple -> Encoding

toJSONList :: [Multiple] -> Value

toEncodingList :: [Multiple] -> Encoding

type Rep Multiple Source # 
Instance details

Defined in TreeSitter.Deserialize

type Rep Multiple = D1 (MetaData "Multiple" "TreeSitter.Deserialize" "tree-sitter-0.2.1.0-inplace" False) (C1 (MetaCons "Single" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Multiple" PrefixI False) (U1 :: Type -> Type))