Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- tree_sitter_python :: Ptr Language
- data Grammar
- = End
- | Identifier
- | AnonImport
- | AnonDot
- | AnonFrom
- | AnonHiddenFuture
- | AnonLParen
- | AnonRParen
- | AnonComma
- | AnonAs
- | AnonStar
- | AnonPrint
- | AnonRAngleRAngle
- | AnonAssert
- | AnonColonEqual
- | AnonReturn
- | AnonDel
- | AnonRaise
- | AnonPass
- | AnonBreak
- | AnonContinue
- | AnonIf
- | AnonColon
- | AnonElif
- | AnonElse
- | AnonAsync
- | AnonFor
- | AnonIn
- | AnonWhile
- | AnonTry
- | AnonExcept
- | AnonFinally
- | AnonWith
- | AnonDef
- | AnonMinusRAngle
- | AnonEqual
- | AnonGlobal
- | AnonNonlocal
- | AnonExec
- | AnonClass
- | AnonAt
- | AnonNot
- | AnonAnd
- | AnonOr
- | AnonPlus
- | AnonMinus
- | AnonSlash
- | AnonPercent
- | AnonSlashSlash
- | AnonStarStar
- | AnonPipe
- | AnonAmpersand
- | AnonCaret
- | AnonLAngleLAngle
- | AnonTilde
- | AnonLAngle
- | AnonLAngleEqual
- | AnonEqualEqual
- | AnonBangEqual
- | AnonRAngleEqual
- | AnonRAngle
- | AnonLAngleRAngle
- | AnonIs
- | AnonLambda
- | AnonPlusEqual
- | AnonMinusEqual
- | AnonStarEqual
- | AnonSlashEqual
- | AnonAtEqual
- | AnonSlashSlashEqual
- | AnonPercentEqual
- | AnonStarStarEqual
- | AnonRAngleRAngleEqual
- | AnonLAngleLAngleEqual
- | AnonAmpersandEqual
- | AnonCaretEqual
- | AnonPipeEqual
- | AnonYield
- | AnonLBracket
- | AnonRBracket
- | Ellipsis
- | AnonLBrace
- | AnonRBrace
- | EscapeSequence
- | AuxFormatSpecifierToken1
- | TypeConversion
- | Integer
- | Float
- | True
- | False
- | None
- | AnonAwait
- | Comment
- | HiddenSemicolon
- | HiddenNewline
- | HiddenIndent
- | HiddenDedent
- | AnonDQuote
- | HiddenStringContent
- | AnonDQuote'
- | Module
- | HiddenStatement
- | HiddenSimpleStatements
- | ImportStatement
- | ImportPrefix
- | RelativeImport
- | FutureImportStatement
- | ImportFromStatement
- | HiddenImportList
- | AliasedImport
- | WildcardImport
- | PrintStatement
- | Chevron
- | AssertStatement
- | ExpressionStatement
- | NamedExpression
- | ReturnStatement
- | DeleteStatement
- | RaiseStatement
- | PassStatement
- | BreakStatement
- | ContinueStatement
- | IfStatement
- | ElifClause
- | ElseClause
- | ForStatement
- | WhileStatement
- | TryStatement
- | ExceptClause
- | FinallyClause
- | WithStatement
- | WithItem
- | FunctionDefinition
- | Parameters
- | LambdaParameters
- | HiddenParameters
- | DefaultParameter
- | TypedDefaultParameter
- | ListSplat
- | DictionarySplat
- | GlobalStatement
- | NonlocalStatement
- | ExecStatement
- | ClassDefinition
- | ArgumentList
- | DecoratedDefinition
- | Decorator
- | Block
- | Variables
- | ExpressionList
- | DottedName
- | HiddenExpressionWithinForInClause
- | HiddenExpression
- | HiddenPrimaryExpression
- | NotOperator
- | BooleanOperator
- | BinaryOperator
- | UnaryOperator
- | ComparisonOperator
- | Lambda
- | Lambda'
- | Assignment
- | AugmentedAssignment
- | HiddenRightHandSide
- | Yield
- | Attribute
- | Subscript
- | Slice
- | Call
- | TypedParameter
- | Type
- | KeywordArgument
- | List
- | HiddenComprehensionClauses
- | ListComprehension
- | Dictionary
- | DictionaryComprehension
- | Pair
- | Set
- | SetComprehension
- | ParenthesizedExpression
- | Tuple
- | GeneratorExpression
- | ForInClause
- | IfClause
- | ConditionalExpression
- | ConcatenatedString
- | String
- | Interpolation
- | FormatSpecifier
- | FormatExpression
- | Await
- | AuxModuleRepeat1
- | AuxHiddenSimpleStatementsRepeat1
- | AuxImportPrefixRepeat1
- | AuxHiddenImportListRepeat1
- | AuxPrintStatementRepeat1
- | AuxAssertStatementRepeat1
- | AuxIfStatementRepeat1
- | AuxTryStatementRepeat1
- | AuxWithStatementRepeat1
- | AuxHiddenParametersRepeat1
- | AuxGlobalStatementRepeat1
- | AuxArgumentListRepeat1
- | AuxDecoratedDefinitionRepeat1
- | AuxVariablesRepeat1
- | AuxDottedNameRepeat1
- | AuxComparisonOperatorRepeat1
- | AuxSubscriptRepeat1
- | AuxListRepeat1
- | AuxHiddenComprehensionClausesRepeat1
- | AuxDictionaryRepeat1
- | AuxTupleRepeat1
- | AuxForInClauseRepeat1
- | AuxConcatenatedStringRepeat1
- | AuxStringRepeat1
- | AuxFormatSpecifierRepeat1
- | ParseError
Documentation
tree_sitter_python :: Ptr Language #
Statically-known rules corresponding to symbols in the grammar.
Instances
Bounded Grammar Source # | |
Enum Grammar Source # | |
Eq Grammar Source # | |
Ord Grammar Source # | |
Show Grammar Source # | |
Ix Grammar Source # | |
Defined in TreeSitter.Python | |
Symbol Grammar Source # | |
Defined in TreeSitter.Python symbolType :: Grammar -> SymbolType |