Skip to main content

Crate treesitter_types_haskell

Crate treesitter_types_haskell 

Source
Expand description

Strongly-typed AST types for Haskell, generated from tree-sitter-haskell’s node-types.json.

Structs§

AbstractFamily
AllNames
Alternative
Alternatives
Annotated
Apply
ArithmeticSequence
As
AssociatedType
Bind
BindingList
Boolean
CallingConvention
Case
Char
Children
Class
ClassDeclarations
Comment
Conditional
Constructor
ConstructorOperator
ConstructorSynonym
ConstructorSynonyms
Context
Cpp
DataConstructor
DataConstructors
DataFamily
DataInstance
DataType
Declarations
DefaultSignature
DefaultTypes
Deriving
DerivingInstance
DerivingStrategy
Do
DoModule
EmptyList
Entity
Equation
Equations
Exp
ExplicitType
Export
Exports
Field
FieldName
FieldPath
FieldPattern
FieldUpdate
Fields
Fixity
Float
Forall
ForallRequired
ForeignExport
ForeignImport
Function
FunctionHeadParens
Fundep
Fundeps
GadtConstructor
GadtConstructors
Generator
Group
Guards
Haddock
Haskell
Header
ImplicitParameter
ImplicitVariable
Import
ImportList
ImportName
ImportPackage
Imports
Inferred
Infix
InfixId
Instance
InstanceDeclarations
Integer
Invisible
Irrefutable
KindApplication
KindSignature
Label
Lambda
LambdaCase
LambdaCases
LazyField
LeftSection
Let
LetIn
LinearFunction
List
ListComprehension
Literal
LocalBinds
Match
Modifier
Module
ModuleExport
ModuleId
MultiWayIf
Name
Namespace
Negation
Newtype
NewtypeConstructor
Operator
Parens
PatternGuard
PatternSynonym
Patterns
Pragma
Prefix
PrefixId
PrefixList
PrefixTuple
PrefixUnboxedSum
PrefixUnboxedTuple
Projection
ProjectionSelector
Promoted
Qualified
Qualifiers
QuantifiedVariables
Quasiquote
QuasiquoteBody
Quote
QuotedDecls
QuotedExpression
QuotedPattern
QuotedType
Quoter
Rec
Record
RightSection
RoleAnnotation
Safety
Signature
Span
Special
Splice
Star
Strict
StrictField
String
ThQuotedName
TopSplice
Transform
Tuple
TypeApplication
TypeBinder
TypeFamily
TypeFamilyInjectivity
TypeFamilyResult
TypeInstance
TypeParams
TypePatterns
TypeRole
TypeSynomym
TypedQuote
UnboxedSum
UnboxedTuple
UnboxedUnit
Unit
Variable
Via
ViewPattern
Wildcard

Enums§

AlternativePattern
AnyNode
ApplyArgument
ApplyConstructor
ApplyFunction
ArithmeticSequenceFrom
ArithmeticSequenceStep
ArithmeticSequenceTo
AssociatedTypeNamespace
AssociatedTypeType
BindArrow
BindExpression
BindName
BindPattern
BindingListName
BooleanChildren
CaseChildren
ChildrenElement
ClassChildren
ClassDecl
ClassName
ConditionalElse
ConditionalIf
ConditionalThen
Constraint
Constraints
ConstructorSynonymName
ConstructorSynonymPattern
ContextArrow
DataConstructorConstructor
DataConstructorForall
DataFamilyChildren
DataFamilyName
DataInstanceChildren
DataTypeChildren
DataTypeConstructors
DataTypeForall
DataTypeName
DataTypePatterns
Decl
Declaration
DeclarationsChildren
DefaultTypesType
DerivingInstanceChildren
DerivingInstanceForall
DerivingInstanceName
DoModuleId
EquationChildren
EquationForall
EquationName
EquationPattern
ExpChildren
ExportType
ExportVariable
Expression
FieldParameter
FieldPathField
FieldPatternField
FieldPatternPattern
FieldType
FieldUpdateExpression
FieldUpdateField
FixityAssociativity
FixityOperator
ForallQuantifier
ForallRequiredQuantifier
FunctionArrow
FunctionHeadParensName
FunctionName
FunctionParameter
GadtConstructorForall
GadtConstructorName
GadtConstructorType
GeneratorArrow
GeneratorExpression
GeneratorPattern
GroupClassifier
GroupKey
Guard
ImportNameType
ImportNameVariable
InferredChildren
InfixIdChildren
InfixLeftOperand
InfixOperator
InfixRightOperand
InstanceChildren
InstanceDecl
InstanceForall
InstanceName
KindSignatureChildren
KindSignatureName
LambdaExpression
LeftSectionOperator
LetInExpression
LinearFunctionArrow
LinearFunctionParameter
ListComprehensionExpression
ListElement
LiteralChildren
LocalBindsDecl
MatchExpression
NegationMinus
NegationNumber
NewtypeChildren
NewtypeConstructorField
NewtypeConstructorName
NewtypeForall
NewtypeName
NewtypePatterns
ParensChildren
ParensExpression
ParensName
ParensPattern
ParensPatterns
ParensType
ParseError
Pattern
PatternGuardArrow
PatternGuardExpression
PatternGuardPattern
PatternSynonymChildren
PatternsChildren
PrefixField
PrefixIdChildren
PrefixName
PromotedChildren
QualifiedId
Qualifier
QuantifiedType
QuantifiedVariablesChildren
QuoteChildren
QuoteQuoter
QuotedExpressionChildren
QuotedPatternChildren
QuotedTypeChildren
QuoterChildren
RecordArrow
RecordField
RightSectionChildren
RoleAnnotationType
SignatureName
SignatureSynonym
SpecialChildren
SpliceExpression
Statement
ThQuotedNameName
TransformKey
TransformTransformation
TupleElement
Type
TypeFamilyChildren
TypeFamilyClosedFamily
TypeFamilyName
TypeInstanceChildren
TypeInstanceForall
TypeInstanceName
TypeParam
TypePatternsChildren
TypeSynomymChildren
TypeSynomymName
TypeSynomymType
UnboxedSumElement
UnboxedTupleElement
ViewPatternExpression
ViewPatternPattern

Traits§

FromNode
Every generated struct and enum implements this.
LeafNode
Implemented by every generated leaf type (identifiers, literals, etc.)
Spanned
Implemented by every generated type that has a source location.