UNPKG

@rightcapital/php-parser

Version:

TypeScript types for PHP Parser JSON representation

176 lines (175 loc) • 9.23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NodeType = void 0; var NodeType; (function (NodeType) { NodeType["Arg"] = "Arg"; NodeType["ArrayItem"] = "ArrayItem"; NodeType["Attribute"] = "Attribute"; NodeType["AttributeGroup"] = "AttributeGroup"; NodeType["ClosureUse"] = "ClosureUse"; NodeType["Const"] = "Const"; NodeType["DeclareItem"] = "DeclareItem"; NodeType["Expr_ArrayDimFetch"] = "Expr_ArrayDimFetch"; NodeType["Expr_Array"] = "Expr_Array"; NodeType["Expr_ArrowFunction"] = "Expr_ArrowFunction"; NodeType["Expr_Assign"] = "Expr_Assign"; NodeType["Expr_AssignOp_BitwiseAnd"] = "Expr_AssignOp_BitwiseAnd"; NodeType["Expr_AssignOp_BitwiseOr"] = "Expr_AssignOp_BitwiseOr"; NodeType["Expr_AssignOp_BitwiseXor"] = "Expr_AssignOp_BitwiseXor"; NodeType["Expr_AssignOp_Coalesce"] = "Expr_AssignOp_Coalesce"; NodeType["Expr_AssignOp_Concat"] = "Expr_AssignOp_Concat"; NodeType["Expr_AssignOp_Div"] = "Expr_AssignOp_Div"; NodeType["Expr_AssignOp_Minus"] = "Expr_AssignOp_Minus"; NodeType["Expr_AssignOp_Mod"] = "Expr_AssignOp_Mod"; NodeType["Expr_AssignOp_Mul"] = "Expr_AssignOp_Mul"; NodeType["Expr_AssignOp_Plus"] = "Expr_AssignOp_Plus"; NodeType["Expr_AssignOp_Pow"] = "Expr_AssignOp_Pow"; NodeType["Expr_AssignOp_ShiftLeft"] = "Expr_AssignOp_ShiftLeft"; NodeType["Expr_AssignOp_ShiftRight"] = "Expr_AssignOp_ShiftRight"; NodeType["Expr_AssignRef"] = "Expr_AssignRef"; NodeType["Expr_BinaryOp_BitwiseAnd"] = "Expr_BinaryOp_BitwiseAnd"; NodeType["Expr_BinaryOp_BitwiseOr"] = "Expr_BinaryOp_BitwiseOr"; NodeType["Expr_BinaryOp_BitwiseXor"] = "Expr_BinaryOp_BitwiseXor"; NodeType["Expr_BinaryOp_BooleanAnd"] = "Expr_BinaryOp_BooleanAnd"; NodeType["Expr_BinaryOp_BooleanOr"] = "Expr_BinaryOp_BooleanOr"; NodeType["Expr_BinaryOp_Coalesce"] = "Expr_BinaryOp_Coalesce"; NodeType["Expr_BinaryOp_Concat"] = "Expr_BinaryOp_Concat"; NodeType["Expr_BinaryOp_Div"] = "Expr_BinaryOp_Div"; NodeType["Expr_BinaryOp_Equal"] = "Expr_BinaryOp_Equal"; NodeType["Expr_BinaryOp_Greater"] = "Expr_BinaryOp_Greater"; NodeType["Expr_BinaryOp_GreaterOrEqual"] = "Expr_BinaryOp_GreaterOrEqual"; NodeType["Expr_BinaryOp_Identical"] = "Expr_BinaryOp_Identical"; NodeType["Expr_BinaryOp_LogicalAnd"] = "Expr_BinaryOp_LogicalAnd"; NodeType["Expr_BinaryOp_LogicalOr"] = "Expr_BinaryOp_LogicalOr"; NodeType["Expr_BinaryOp_LogicalXor"] = "Expr_BinaryOp_LogicalXor"; NodeType["Expr_BinaryOp_Minus"] = "Expr_BinaryOp_Minus"; NodeType["Expr_BinaryOp_Mod"] = "Expr_BinaryOp_Mod"; NodeType["Expr_BinaryOp_Mul"] = "Expr_BinaryOp_Mul"; NodeType["Expr_BinaryOp_NotEqual"] = "Expr_BinaryOp_NotEqual"; NodeType["Expr_BinaryOp_NotIdentical"] = "Expr_BinaryOp_NotIdentical"; NodeType["Expr_BinaryOp_Plus"] = "Expr_BinaryOp_Plus"; NodeType["Expr_BinaryOp_Pow"] = "Expr_BinaryOp_Pow"; NodeType["Expr_BinaryOp_ShiftLeft"] = "Expr_BinaryOp_ShiftLeft"; NodeType["Expr_BinaryOp_ShiftRight"] = "Expr_BinaryOp_ShiftRight"; NodeType["Expr_BinaryOp_Smaller"] = "Expr_BinaryOp_Smaller"; NodeType["Expr_BinaryOp_SmallerOrEqual"] = "Expr_BinaryOp_SmallerOrEqual"; NodeType["Expr_BinaryOp_Spaceship"] = "Expr_BinaryOp_Spaceship"; NodeType["Expr_BitwiseNot"] = "Expr_BitwiseNot"; NodeType["Expr_BooleanNot"] = "Expr_BooleanNot"; NodeType["Expr_Cast_Array"] = "Expr_Cast_Array"; NodeType["Expr_Cast_Bool"] = "Expr_Cast_Bool"; NodeType["Expr_Cast_Double"] = "Expr_Cast_Double"; NodeType["Expr_Cast_Int"] = "Expr_Cast_Int"; NodeType["Expr_Cast_Object"] = "Expr_Cast_Object"; NodeType["Expr_Cast_String"] = "Expr_Cast_String"; NodeType["Expr_Cast_Unset"] = "Expr_Cast_Unset"; NodeType["Expr_ClassConstFetch"] = "Expr_ClassConstFetch"; NodeType["Expr_Clone"] = "Expr_Clone"; NodeType["Expr_Closure"] = "Expr_Closure"; NodeType["Expr_ConstFetch"] = "Expr_ConstFetch"; NodeType["Expr_Empty"] = "Expr_Empty"; NodeType["Expr_Error"] = "Expr_Error"; NodeType["Expr_ErrorSuppress"] = "Expr_ErrorSuppress"; NodeType["Expr_Eval"] = "Expr_Eval"; NodeType["Expr_Exit"] = "Expr_Exit"; NodeType["Expr_FuncCall"] = "Expr_FuncCall"; NodeType["Expr_Include"] = "Expr_Include"; NodeType["Expr_Instanceof"] = "Expr_Instanceof"; NodeType["Expr_Isset"] = "Expr_Isset"; NodeType["Expr_List"] = "Expr_List"; NodeType["Expr_Match"] = "Expr_Match"; NodeType["Expr_MethodCall"] = "Expr_MethodCall"; NodeType["Expr_New"] = "Expr_New"; NodeType["Expr_NullsafeMethodCall"] = "Expr_NullsafeMethodCall"; NodeType["Expr_NullsafePropertyFetch"] = "Expr_NullsafePropertyFetch"; NodeType["Expr_PostDec"] = "Expr_PostDec"; NodeType["Expr_PostInc"] = "Expr_PostInc"; NodeType["Expr_PreDec"] = "Expr_PreDec"; NodeType["Expr_PreInc"] = "Expr_PreInc"; NodeType["Expr_Print"] = "Expr_Print"; NodeType["Expr_PropertyFetch"] = "Expr_PropertyFetch"; NodeType["Expr_ShellExec"] = "Expr_ShellExec"; NodeType["Expr_StaticCall"] = "Expr_StaticCall"; NodeType["Expr_StaticPropertyFetch"] = "Expr_StaticPropertyFetch"; NodeType["Expr_Ternary"] = "Expr_Ternary"; NodeType["Expr_Throw"] = "Expr_Throw"; NodeType["Expr_UnaryMinus"] = "Expr_UnaryMinus"; NodeType["Expr_UnaryPlus"] = "Expr_UnaryPlus"; NodeType["Expr_Variable"] = "Expr_Variable"; NodeType["Expr_YieldFrom"] = "Expr_YieldFrom"; NodeType["Expr_Yield"] = "Expr_Yield"; NodeType["Identifier"] = "Identifier"; NodeType["InterpolatedStringPart"] = "InterpolatedStringPart"; NodeType["IntersectionType"] = "IntersectionType"; NodeType["MatchArm"] = "MatchArm"; NodeType["Name_FullyQualified"] = "Name_FullyQualified"; NodeType["Name"] = "Name"; NodeType["Name_Relative"] = "Name_Relative"; NodeType["NullableType"] = "NullableType"; NodeType["Param"] = "Param"; NodeType["PropertyHook"] = "PropertyHook"; NodeType["PropertyItem"] = "PropertyItem"; NodeType["Scalar_Float"] = "Scalar_Float"; NodeType["Scalar_Int"] = "Scalar_Int"; NodeType["Scalar_InterpolatedString"] = "Scalar_InterpolatedString"; NodeType["Scalar_MagicConst_Class"] = "Scalar_MagicConst_Class"; NodeType["Scalar_MagicConst_Dir"] = "Scalar_MagicConst_Dir"; NodeType["Scalar_MagicConst_File"] = "Scalar_MagicConst_File"; NodeType["Scalar_MagicConst_Function"] = "Scalar_MagicConst_Function"; NodeType["Scalar_MagicConst_Line"] = "Scalar_MagicConst_Line"; NodeType["Scalar_MagicConst_Method"] = "Scalar_MagicConst_Method"; NodeType["Scalar_MagicConst_Namespace"] = "Scalar_MagicConst_Namespace"; NodeType["Scalar_MagicConst_Property"] = "Scalar_MagicConst_Property"; NodeType["Scalar_MagicConst_Trait"] = "Scalar_MagicConst_Trait"; NodeType["Scalar_String"] = "Scalar_String"; NodeType["StaticVar"] = "StaticVar"; NodeType["Stmt_Block"] = "Stmt_Block"; NodeType["Stmt_Break"] = "Stmt_Break"; NodeType["Stmt_Case"] = "Stmt_Case"; NodeType["Stmt_Catch"] = "Stmt_Catch"; NodeType["Stmt_ClassConst"] = "Stmt_ClassConst"; NodeType["Stmt_ClassMethod"] = "Stmt_ClassMethod"; NodeType["Stmt_Class"] = "Stmt_Class"; NodeType["Stmt_Const"] = "Stmt_Const"; NodeType["Stmt_Continue"] = "Stmt_Continue"; NodeType["Stmt_Declare"] = "Stmt_Declare"; NodeType["Stmt_Do"] = "Stmt_Do"; NodeType["Stmt_Echo"] = "Stmt_Echo"; NodeType["Stmt_ElseIf"] = "Stmt_ElseIf"; NodeType["Stmt_Else"] = "Stmt_Else"; NodeType["Stmt_EnumCase"] = "Stmt_EnumCase"; NodeType["Stmt_Enum"] = "Stmt_Enum"; NodeType["Stmt_Expression"] = "Stmt_Expression"; NodeType["Stmt_Finally"] = "Stmt_Finally"; NodeType["Stmt_For"] = "Stmt_For"; NodeType["Stmt_Foreach"] = "Stmt_Foreach"; NodeType["Stmt_Function"] = "Stmt_Function"; NodeType["Stmt_Global"] = "Stmt_Global"; NodeType["Stmt_Goto"] = "Stmt_Goto"; NodeType["Stmt_GroupUse"] = "Stmt_GroupUse"; NodeType["Stmt_HaltCompiler"] = "Stmt_HaltCompiler"; NodeType["Stmt_If"] = "Stmt_If"; NodeType["Stmt_InlineHTML"] = "Stmt_InlineHTML"; NodeType["Stmt_Interface"] = "Stmt_Interface"; NodeType["Stmt_Label"] = "Stmt_Label"; NodeType["Stmt_Namespace"] = "Stmt_Namespace"; NodeType["Stmt_Nop"] = "Stmt_Nop"; NodeType["Stmt_Property"] = "Stmt_Property"; NodeType["Stmt_Return"] = "Stmt_Return"; NodeType["Stmt_Static"] = "Stmt_Static"; NodeType["Stmt_Switch"] = "Stmt_Switch"; NodeType["Stmt_TraitUse"] = "Stmt_TraitUse"; NodeType["Stmt_TraitUseAdaptation_Alias"] = "Stmt_TraitUseAdaptation_Alias"; NodeType["Stmt_TraitUseAdaptation_Precedence"] = "Stmt_TraitUseAdaptation_Precedence"; NodeType["Stmt_Trait"] = "Stmt_Trait"; NodeType["Stmt_TryCatch"] = "Stmt_TryCatch"; NodeType["Stmt_Unset"] = "Stmt_Unset"; NodeType["Stmt_Use"] = "Stmt_Use"; NodeType["Stmt_While"] = "Stmt_While"; NodeType["UnionType"] = "UnionType"; NodeType["UseItem"] = "UseItem"; NodeType["VarLikeIdentifier"] = "VarLikeIdentifier"; NodeType["VariadicPlaceholder"] = "VariadicPlaceholder"; })(NodeType || (exports.NodeType = NodeType = {})); ;