Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- tree_sitter_ruby :: Ptr Language
- data Grammar
- = End
- | Identifier
- | AnonHiddenEND
- | Uninterpreted
- | AnonBEGIN
- | AnonLBrace
- | AnonRBrace
- | AnonEND
- | AnonDef
- | AnonLParen
- | AnonRParen
- | AnonDot
- | AnonColonColon
- | AnonComma
- | AnonPipe
- | AnonSemicolon
- | AnonStar
- | AnonStarStar
- | AnonAmpersand
- | AnonColon
- | AnonEqual
- | AnonClass
- | AnonLAngle
- | AnonModule
- | AnonEnd
- | AnonReturn
- | AnonYield
- | AnonBreak
- | AnonNext
- | Redo
- | Retry
- | AnonIf
- | AnonUnless
- | AnonWhile
- | AnonUntil
- | AnonRescue
- | AnonFor
- | AnonIn
- | AnonDo
- | AnonCase
- | AnonWhen
- | AnonElsif
- | AnonElse
- | AnonThen
- | AnonBegin
- | AnonEnsure
- | AnonEqualRAngle
- | AnonLBracket
- | AnonRBracket
- | AnonColonColon'
- | AnonAmpersandDot
- | AnonLParen'
- | AnonPlusEqual
- | AnonMinusEqual
- | AnonStarEqual
- | AnonStarStarEqual
- | AnonSlashEqual
- | AnonPipePipeEqual
- | AnonPipeEqual
- | AnonAmpersandAmpersandEqual
- | AnonAmpersandEqual
- | AnonPercentEqual
- | AnonRAngleRAngleEqual
- | AnonLAngleLAngleEqual
- | AnonCaretEqual
- | AnonQuestion
- | AnonColon'
- | AnonDotDot
- | AnonDotDotDot
- | AnonAnd
- | AnonOr
- | AnonPipePipe
- | AnonAmpersandAmpersand
- | AnonLAngleLAngle
- | AnonRAngleRAngle
- | AnonEqualEqual
- | AnonBangEqual
- | AnonEqualEqualEqual
- | AnonLAngleEqualRAngle
- | AnonEqualTilde
- | AnonBangTilde
- | AnonLAngleEqual
- | AnonRAngle
- | AnonRAngleEqual
- | AnonCaret
- | AnonPlus
- | AnonSlash
- | AnonPercent
- | AnonDefinedQuestion
- | AnonNot
- | AnonBang
- | AnonTilde
- | Constant
- | InstanceVariable
- | ClassVariable
- | GlobalVariable
- | AnonMinus
- | AnonPlusAt
- | AnonMinusAt
- | AnonLBracketRBracket
- | AnonLBracketRBracketEqual
- | AnonBacktick
- | AnonUndef
- | AnonAlias
- | Comment
- | Integer
- | Float
- | Complex
- | AnonR
- | Super
- | AnonTrue
- | AnonTRUE
- | AnonFalse
- | AnonFALSE
- | Self
- | AnonNil
- | AnonNIL
- | Character
- | AnonHashLBrace
- | AuxStringArrayToken1
- | EscapeSequence
- | AnonLBracket'
- | AnonMinusRAngle
- | HiddenLineBreak
- | HiddenSimpleSymbol
- | AnonDQuote
- | AnonColonDQuote
- | AnonBacktick'
- | AnonSlash'
- | AnonPercentWLParen
- | AnonPercentILParen
- | HiddenHeredocBodyStart
- | HiddenStringContent
- | HiddenHeredocContent
- | HiddenStringEnd
- | HeredocEnd
- | HeredocBeginning
- | HiddenBlockAmpersand
- | HiddenSplatStar
- | AnonMinus'
- | AnonMinus''
- | AnonStar'
- | AnonLAngleLAngle'
- | Symbol
- | Program
- | HiddenStatements
- | BeginBlock
- | EndBlock
- | HiddenStatement
- | Method
- | SingletonMethod
- | HiddenMethodRest
- | MethodParameters
- | LambdaParameters
- | BlockParameters
- | HiddenFormalParameter
- | HiddenSimpleFormalParameter
- | DestructuredParameter
- | SplatParameter
- | HashSplatParameter
- | BlockParameter
- | KeywordParameter
- | OptionalParameter
- | Class
- | Superclass
- | SingletonClass
- | Module
- | Return
- | Yield
- | Break
- | Next
- | IfModifier
- | UnlessModifier
- | WhileModifier
- | UntilModifier
- | RescueModifier
- | While
- | Until
- | For
- | In
- | HiddenDo
- | Case
- | When
- | Pattern
- | If
- | Unless
- | Elsif
- | Else
- | Then
- | Begin
- | Ensure
- | Rescue
- | Exceptions
- | ExceptionVariable
- | HiddenBodyStatement
- | HiddenArg
- | HiddenPrimary
- | ParenthesizedStatements
- | ElementReference
- | ScopeResolution
- | Call
- | MethodCall
- | ArgumentList
- | ArgumentListWithParens
- | HiddenArgumentListWithParens
- | HiddenArgumentListWithTrailingComma
- | HiddenArgument
- | SplatArgument
- | HashSplatArgument
- | BlockArgument
- | DoBlock
- | Block
- | Assignment
- | OperatorAssignment
- | Conditional
- | Range
- | Binary
- | Unary
- | RightAssignmentList
- | HiddenArgOrSplatArg
- | LeftAssignmentList
- | HiddenMlhs
- | DestructuredLeftAssignment
- | RestAssignment
- | HiddenLhs
- | HiddenVariable
- | Operator
- | HiddenMethodName
- | Setter
- | Undef
- | Alias
- | Rational
- | True
- | False
- | Nil
- | ChainedString
- | Interpolation
- | String
- | Subshell
- | StringArray
- | SymbolArray
- | Symbol'
- | Regex
- | HeredocBody
- | AuxHiddenLiteralContents
- | Array
- | Hash
- | HiddenHashItems
- | Pair
- | Lambda
- | EmptyStatement
- | HiddenTerminator
- | AuxHiddenStatementsRepeat1
- | AuxMethodParametersRepeat1
- | AuxLambdaParametersRepeat1
- | AuxBlockParametersRepeat1
- | AuxCaseRepeat1
- | AuxCaseRepeat2
- | AuxWhenRepeat1
- | AuxExceptionsRepeat1
- | AuxHiddenBodyStatementRepeat1
- | AuxCallRepeat1
- | AuxArgumentListRepeat1
- | AuxHiddenMlhsRepeat1
- | AuxUndefRepeat1
- | AuxChainedStringRepeat1
- | AuxStringArrayRepeat1
- | AuxSymbolArrayRepeat1
- | AuxHeredocBodyRepeat1
- | AnonDQuote'
- | BareSymbol
- | BareString
- | ParseError
Documentation
tree_sitter_ruby :: 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.Ruby | |
Symbol Grammar Source # | |
Defined in TreeSitter.Ruby symbolType :: Grammar -> SymbolType |