Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- tree_sitter_php :: Ptr Language
- data Grammar
- = END
- | HiddenAutomaticSemicolon
- | Heredoc
- | AuxSlashLAngleBackslashQuestionLParenLBracketPPRBracketLBracketHHRBracketLBracketPPRBracketPipeEqualRParenSlash
- | AnonQuestionRAngle
- | TextInterpolation
- | AnonLAngle
- | AuxSlashLBracketCaretBackslashSLAngleRBracketPlusLBracketCaretLAngleRBracketStarSlash
- | AnonSemicolon
- | AnonStatic
- | AnonComma
- | AnonEqual
- | AnonGlobal
- | AnonNamespace
- | AnonUse
- | AnonBackslash
- | AnonLBrace
- | AnonRBrace
- | AnonFunction
- | AnonConst
- | AnonAs
- | AnonTrait
- | AnonInterface
- | AnonExtends
- | AnonClass
- | AnonAbstract
- | AnonFinal
- | AnonImplements
- | AnonVar
- | AnonAmpersand
- | AnonHiddenConstruct
- | AnonHiddenDestruct
- | AnonLParen
- | AnonRParen
- | AnonInsteadof
- | AnonPublic
- | AnonProtected
- | AnonPrivate
- | AnonQuestion
- | AnonArray
- | AnonCallable
- | AnonIterable
- | AnonBool
- | AnonFloat
- | AnonInt
- | AnonString
- | AnonColon
- | AnonVoid
- | AnonDotDotDot
- | AnonEcho
- | AnonUnset
- | AnonDeclare
- | AnonEnddeclare
- | AnonTicks
- | AnonEncoding
- | AnonStrictTypes
- | Float
- | AnonTry
- | AnonCatch
- | AnonFinally
- | AnonGoto
- | AnonContinue
- | AnonBreak
- | AuxSlashLBracket1Minus9RBracketBackslashDStarSlash
- | AuxSlash0LBracket0Minus7RBracketStarSlash
- | AuxSlash0LBracketXXRBracketLBracket0Minus9AMinusFAMinusFRBracketPlusSlash
- | AuxSlash0LBracketBBRBracketLBracket01RBracketPlusSlash
- | AnonReturn
- | AnonThrow
- | AnonWhile
- | AnonEndwhile
- | AnonDo
- | AnonFor
- | AnonEndfor
- | AnonForeach
- | AnonEndforeach
- | AnonEqualRAngle
- | AnonIf
- | AnonEndif
- | AnonElseif
- | AnonElse
- | AnonSwitch
- | AnonEndswitch
- | AnonCase
- | AnonDefault
- | AnonAt
- | AnonPlus
- | AnonMinus
- | AnonTilde
- | AnonBang
- | AnonStarStar
- | AnonClone
- | AnonColonColon
- | AnonEmpty
- | AnonEval
- | AnonExit
- | AnonDie
- | AnonIsset
- | AnonPrint
- | AnonNew
- | AnonLBracket
- | AnonRBracket
- | AnonMinusRAngle
- | AnonPlusPlus
- | AnonMinusMinus
- | ShellCommandExpression
- | AnonBinary
- | AnonBoolean
- | AnonDouble
- | AnonInteger
- | AnonObject
- | AnonReal
- | AnonStarStarEqual
- | AnonStarEqual
- | AnonSlashEqual
- | AnonPercentEqual
- | AnonPlusEqual
- | AnonMinusEqual
- | AnonDotEqual
- | AnonLAngleLAngleEqual
- | AnonRAngleRAngleEqual
- | AnonAmpersandEqual
- | AnonCaretEqual
- | AnonPipeEqual
- | AnonList
- | AnonSelf
- | AnonParent
- | String
- | AnonDollar
- | AnonYield
- | AnonFrom
- | AnonInstanceof
- | AnonAnd
- | AnonOr
- | AnonXor
- | AnonPipePipe
- | AnonAmpersandAmpersand
- | AnonPipe
- | AnonCaret
- | AnonEqualEqual
- | AnonBangEqual
- | AnonLAngleRAngle
- | AnonEqualEqualEqual
- | AnonBangEqualEqual
- | AnonRAngle
- | AnonLAngleEqual
- | AnonRAngleEqual
- | AnonLAngleEqualRAngle
- | AnonLAngleLAngle
- | AnonRAngleRAngle
- | AnonDot
- | AnonStar
- | AnonSlash
- | AnonPercent
- | AnonQuestionQuestion
- | AnonInclude
- | AnonIncludeOnce
- | AnonRequire
- | AnonRequireOnce
- | Name
- | Comment
- | Program
- | Text
- | HiddenSemicolon
- | FunctionStaticDeclaration
- | StaticVariableDeclaration
- | GlobalDeclaration
- | NamespaceDefinition
- | NamespaceUseDeclaration
- | NamespaceFunctionOrConst
- | NamespaceUseClause
- | QualifiedName
- | NamespaceNameAsPrefix
- | NamespaceName
- | NamespaceAliasingClause
- | NamespaceUseGroupClause_1
- | NamespaceUseGroupClause_2
- | TraitDeclaration
- | HiddenTraitMemberDeclaration
- | InterfaceDeclaration
- | InterfaceBaseClause
- | HiddenInterfaceMemberDeclaration
- | ClassDeclaration
- | ClassModifier
- | ClassBaseClause
- | ClassInterfaceClause
- | HiddenClassMemberDeclaration
- | ClassConstDeclaration
- | PropertyDeclaration
- | PropertyModifier
- | PropertyElement
- | PropertyInitializer
- | MethodDeclaration
- | ConstructorDeclaration
- | DestructorDeclaration
- | HiddenMethodModifier
- | StaticModifier
- | TraitUseClause
- | TraitUseSpecification
- | HiddenTraitSelectAndAliasClause
- | TraitSelectInsteadOfClause
- | TraitAliasAsClause
- | VisibilityModifier
- | FunctionDefinition
- | HiddenFunctionDefinitionHeader
- | FormalParameters
- | SimpleParameter
- | TypeDeclaration
- | BaseTypeDeclaration
- | ScalarType
- | ReturnType
- | VariadicParameter
- | DefaultArgumentSpecifier
- | ConstDeclaration
- | ConstElement
- | EchoStatement
- | UnsetStatement
- | DeclareStatement
- | DeclareDirective
- | TryStatement
- | CatchClause
- | FinallyClause
- | HiddenJumpStatement
- | GotoStatement
- | ContinueStatement
- | BreakStatement
- | HiddenBreakoutLevel
- | Integer
- | ReturnStatement
- | ThrowStatement
- | WhileStatement
- | DoStatement
- | ForStatement
- | HiddenExpressions
- | SequenceExpression
- | ForeachStatement
- | Pair
- | IfStatement
- | ElseIfClause
- | ElseClause
- | ElseIfClause'
- | ElseClause'
- | SwitchStatement
- | CaseStatement
- | DefaultStatement
- | CompoundStatement
- | NamedLabelStatement
- | ExpressionStatement
- | HiddenExpression
- | HiddenUnaryExpression
- | UnaryOpExpression
- | ExponentiationExpression
- | CloneExpression
- | HiddenPrimaryExpression
- | ParenthesizedExpression
- | ClassConstantAccessExpression
- | EmptyIntrinsic
- | EvalIntrinsic
- | ExitIntrinsic
- | IssetIntrinsic
- | PrintIntrinsic
- | AnonymousFunctionCreationExpression
- | AnonymousFunctionUseClause
- | ObjectCreationExpression
- | NewVariable
- | UpdateExpression
- | CastExpression
- | CastExpression'
- | CastType
- | ConditionalExpression
- | AssignmentExpression
- | AugmentedAssignmentExpression
- | MemberAccessExpression
- | ScopedPropertyAccessExpression
- | ListLiteral
- | FunctionCallExpression
- | ScopedCallExpression
- | HiddenScopeResolutionQualifier
- | RelativeScope
- | Arguments
- | MemberCallExpression
- | VariadicUnpacking
- | SubscriptExpression
- | DereferencableExpression
- | ArrayCreationExpression
- | HiddenString
- | SimpleVariable
- | VariableName
- | YieldExpression
- | ArrayElementInitializer
- | BinaryExpression
- | IncludeExpression
- | IncludeOnceExpression
- | RequireExpression
- | RequireOnceExpression
- | Name'
- | AuxProgramRepeat1
- | AuxTextRepeat1
- | AuxFunctionStaticDeclarationRepeat1
- | AuxGlobalDeclarationRepeat1
- | AuxNamespaceUseDeclarationRepeat1
- | AuxNamespaceUseDeclarationRepeat2
- | AuxNamespaceUseDeclarationRepeat3
- | AuxNamespaceNameRepeat1
- | AuxTraitDeclarationRepeat1
- | AuxInterfaceDeclarationRepeat1
- | AuxInterfaceBaseClauseRepeat1
- | AuxClassDeclarationRepeat1
- | AuxClassConstDeclarationRepeat1
- | AuxPropertyDeclarationRepeat1
- | AuxMethodDeclarationRepeat1
- | AuxTraitUseSpecificationRepeat1
- | AuxFormalParametersRepeat1
- | AuxUnsetStatementRepeat1
- | AuxTryStatementRepeat1
- | AuxTryStatementRepeat2
- | AuxIfStatementRepeat1
- | AuxIfStatementRepeat2
- | AuxSwitchStatementRepeat1
- | AuxAnonymousFunctionUseClauseRepeat1
- | AuxListLiteralRepeat1
- | AuxArgumentsRepeat1
- | AuxArrayCreationExpressionRepeat1
- | ParseError
Documentation
tree_sitter_php :: 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.PHP | |
Symbol Grammar Source # | |
Defined in TreeSitter.PHP symbolType :: Grammar -> SymbolType |