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
- | AnonRedo
- | AnonRetry
- | 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
- | AnonLAngleEqual
- | AnonRAngle
- | AnonRAngleEqual
- | AnonCaret
- | AnonPlus
- | AnonSlash
- | AnonPercent
- | AnonEqualEqual
- | AnonBangEqual
- | AnonEqualEqualEqual
- | AnonLAngleEqualRAngle
- | AnonEqualTilde
- | AnonBangTilde
- | 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
- | AnonAmpersand'
- | AnonStar'
- | AnonMinus'
- | AnonMinus''
- | AnonStar''
- | AnonLAngleLAngle'
- | Symbol
- | Program
- | HiddenStatements
- | BeginBlock
- | EndBlock
- | HiddenStatement
- | Method
- | SingletonMethod
- | HiddenMethodRest
- | Parameters
- | BareParameters
- | BlockParameters
- | HiddenFormalParameter
- | HiddenSimpleFormalParameter
- | SplatParameter
- | HashSplatParameter
- | BlockParameter
- | KeywordParameter
- | OptionalParameter
- | Class
- | Superclass
- | SingletonClass
- | Module
- | Return
- | Yield
- | Break
- | Next
- | Return'
- | Yield'
- | Break'
- | Next'
- | Redo
- | Retry
- | IfModifier
- | UnlessModifier
- | WhileModifier
- | UntilModifier
- | RescueModifier
- | While
- | Until
- | For
- | In
- | HiddenDo
- | Case
- | When
- | Pattern
- | If
- | Unless
- | Elsif
- | Else
- | Then
- | Begin
- | Ensure
- | Rescue
- | Exceptions
- | ExceptionVariable
- | HiddenBodyStatement
- | HiddenExpression
- | HiddenArg
- | HiddenPrimary
- | ParenthesizedStatements
- | ElementReference
- | ScopeResolution
- | Call
- | CommandCall
- | MethodCall
- | ArgumentList
- | ArgumentList'
- | HiddenArgumentListWithTrailingComma
- | HiddenArgument
- | SplatArgument
- | HashSplatArgument
- | BlockArgument
- | DoBlock
- | Block
- | Assignment
- | Assignment'
- | OperatorAssignment
- | OperatorAssignment'
- | Conditional
- | Range
- | Binary
- | Binary'
- | Unary
- | Unary'
- | Unary''
- | RightAssignmentList
- | 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
- | Pair
- | Lambda
- | EmptyStatement
- | HiddenTerminator
- | AuxHiddenStatementsRepeat1
- | AuxParametersRepeat1
- | AuxBlockParametersRepeat1
- | AuxCaseRepeat1
- | AuxCaseRepeat2
- | AuxWhenRepeat1
- | AuxExceptionsRepeat1
- | AuxHiddenBodyStatementRepeat1
- | AuxCommandArgumentListRepeat1
- | AuxHiddenMlhsRepeat1
- | AuxUndefRepeat1
- | AuxChainedStringRepeat1
- | AuxStringArrayRepeat1
- | AuxSymbolArrayRepeat1
- | AuxHeredocBodyRepeat1
- | AuxHashRepeat1
- | AnonDQuote'
- | BareString
- | BareSymbol
- | DestructuredParameter
- | LambdaParameters
- | MethodParameters
- | 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 |