Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Named = Named {}
- data VarName = VarName Named
- data PkgName = PkgName Named
- data FuncName = FuncName Named
- data ParamName = ParamName Named
- data FieldName = FieldName Named
- data ClassName = ClassName Named
- data SuperName = SuperName Named
- data MembrName = MembrName Named
- data MethdName = MethdName Named
- data NominalTy = NominalTy Named
- getVarNameToken :: VarName -> Named
- getPkgNameToken :: PkgName -> Named
- getFuncNameToken :: FuncName -> Named
- getParamNameToken :: ParamName -> Named
- getFieldNameToken :: FieldName -> Named
- getClassNameToken :: ClassName -> Named
- getSuperNameToken :: SuperName -> Named
- getMembrNameToken :: MembrName -> Named
- getMethdNameToken :: MethdName -> Named
- getNominalTyToken :: NominalTy -> Named
- getVarNameLocation :: VarName -> Location
- getFuncNameLocation :: FuncName -> Location
- getClassNameLocation :: ClassName -> Location
- getParamNameLocation :: ParamName -> Location
- getFieldNameLocation :: FieldName -> Location
- getMethodNameLocation :: MethdName -> Location
- data ConstBool = ConstBool {
- constBoolValue :: Bool
- constBoolLocation :: Location
- data ConstInt = ConstInt {
- constIntValue :: Int
- constIntLocation :: Location
- data ConstStr = ConstStr {
- constStrValue :: String
- constStrLocation :: Location
Documentation
- Raw data that is wrapped and included by the different tokens
- Aimed to facilitate a unified view of named tokens
- Is not a part of the abstract syntax tree
Instances
FromJSON Named Source # | |
ToJSON Named Source # | |
Generic Named Source # | |
Show Named Source # | |
Eq Named Source # | |
Ord Named Source # | |
type Rep Named Source # | |
Defined in Token type Rep Named = D1 ('MetaData "Named" "Token" "dhscanner-ast-0.1.0.3-inplace" 'False) (C1 ('MetaCons "Named" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Location))) |
getVarNameToken :: VarName -> Named Source #
getPkgNameToken :: PkgName -> Named Source #
getFuncNameToken :: FuncName -> Named Source #
getParamNameToken :: ParamName -> Named Source #
getFieldNameToken :: FieldName -> Named Source #
getClassNameToken :: ClassName -> Named Source #
getSuperNameToken :: SuperName -> Named Source #
getMembrNameToken :: MembrName -> Named Source #
getMethdNameToken :: MethdName -> Named Source #
getNominalTyToken :: NominalTy -> Named Source #
getVarNameLocation :: VarName -> Location Source #
ConstBool | |
|
Instances
FromJSON ConstBool Source # | |
ToJSON ConstBool Source # | |
Generic ConstBool Source # | |
Show ConstBool Source # | |
Eq ConstBool Source # | |
Ord ConstBool Source # | |
type Rep ConstBool Source # | |
Defined in Token type Rep ConstBool = D1 ('MetaData "ConstBool" "Token" "dhscanner-ast-0.1.0.3-inplace" 'False) (C1 ('MetaCons "ConstBool" 'PrefixI 'True) (S1 ('MetaSel ('Just "constBoolValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "constBoolLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Location))) |
ConstInt | |
|
Instances
FromJSON ConstInt Source # | |
ToJSON ConstInt Source # | |
Generic ConstInt Source # | |
Show ConstInt Source # | |
Eq ConstInt Source # | |
Ord ConstInt Source # | |
type Rep ConstInt Source # | |
Defined in Token type Rep ConstInt = D1 ('MetaData "ConstInt" "Token" "dhscanner-ast-0.1.0.3-inplace" 'False) (C1 ('MetaCons "ConstInt" 'PrefixI 'True) (S1 ('MetaSel ('Just "constIntValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "constIntLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Location))) |
ConstStr | |
|
Instances
FromJSON ConstStr Source # | |
ToJSON ConstStr Source # | |
Generic ConstStr Source # | |
Show ConstStr Source # | |
Eq ConstStr Source # | |
Ord ConstStr Source # | |
type Rep ConstStr Source # | |
Defined in Token type Rep ConstStr = D1 ('MetaData "ConstStr" "Token" "dhscanner-ast-0.1.0.3-inplace" 'False) (C1 ('MetaCons "ConstStr" 'PrefixI 'True) (S1 ('MetaSel ('Just "constStrValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "constStrLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Location))) |