Qore astparser Module  1.8.0
astparser Namespace Reference

astparser namespace More...

Classes

class  AstParser
 AstParser class. More...
 
class  AstTree
 AstTree class. More...
 
class  AstTreeSearcher
 AstParser class. More...
 

Variables

const ANT_Declaration = ANT_Declaration
 Declaration node type constant.
 
const ANT_Expression = ANT_Expression
 Expression node type constant.
 
const ANT_Name = ANT_Name
 Name node type constant.
 
const ANT_None = ANT_None
 None/null node type constant.
 
const ANT_ParseError = ANT_ParseError
 Parse error node type constant.
 
const ANT_ParseOption = ANT_ParseOption
 Parse option node type constant.
 
const ANT_Statement = ANT_Statement
 Statement node type constant.
 
const ADK_Class = ADK_Class
 Class declaration kind.
 
const ADK_Closure = ADK_Closure
 Closure declaration kind.
 
const ADK_Constant = ADK_Constant
 Constant declaration kind.
 
const ADK_Function = ADK_Function
 Function declaration kind.
 
const ADK_Hash = ADK_Hash
 Hash declaration kind.
 
const ADK_HashMember = ADK_HashMember
 Hash member declaration kind.
 
const ADK_MemberGroup = ADK_MemberGroup
 Member group declaration kind.
 
const ADK_Namespace = ADK_Namespace
 Namespace declaration kind.
 
const ADK_Superclass = ADK_Superclass
 Superclass declaration kind.
 
const ADK_VarList = ADK_VarList
 Variable list declaration kind.
 
const ADK_Variable = ADK_Variable
 Variable declaration kind.
 
const AEK_Access = AEK_Access
 Variable access (dot operator) expression kind.
 
const AEK_Assignment = AEK_Assignment
 Assignment expression kind.
 
const AEK_Backquote = AEK_Backquote
 Backquote expression kind.
 
const AEK_Binary = AEK_Binary
 Binary expression kind.
 
const AEK_Call = AEK_Call
 Call expression kind.
 
const AEK_Case = AEK_Case
 Case expression kind.
 
const AEK_Cast = AEK_Cast
 Cast expression kind.
 
const AEK_Closure = AEK_Closure
 Closure expression kind.
 
const AEK_ConstrInit = AEK_ConstrInit
 Constructor initialization expression kind.
 
const AEK_ContextMod = AEK_ContextMod
 Context mod expression kind.
 
const AEK_ContextRow = AEK_ContextRow
 Context row expression kind.
 
const AEK_Decl = AEK_Decl
 Declaration expression kind.
 
const AEK_Find = AEK_Find
 Find expression kind.
 
const AEK_Hash = AEK_Hash
 Hash expression kind.
 
const AEK_HashElement = AEK_HashElement
 Hash element expression kind.
 
const AEK_HashdeclHash = AEK_HashdeclHash
 Hashdecl hash expression kind.
 
const AEK_ImplicitArg = AEK_ImplicitArg
 Implicit argument expression kind.
 
const AEK_ImplicitElem = AEK_ImplicitElem
 Implicit element expression kind.
 
const AEK_Index = AEK_Index
 Index access expression kind.
 
const AEK_List = AEK_List
 List expression kind.
 
const AEK_Literal = AEK_Literal
 Literal expression kind.
 
const AEK_Name = AEK_Name
 Name expression kind.
 
const AEK_Range = AEK_Range
 Regex expression kind.
 
const AEK_Regex = AEK_Regex
 Regex expression kind.
 
const AEK_RegexSubst = AEK_RegexSubst
 Regex substitution expression kind.
 
const AEK_RegexTrans = AEK_RegexTrans
 Regex transliteration expression kind.
 
const AEK_Returns = AEK_Returns
 Returns expression kind.
 
const AEK_SwitchBody = AEK_SwitchBody
 Switch body expression kind.
 
const AEK_Ternary = AEK_Ternary
 Ternary conditional expression kind.
 
const AEK_Unary = AEK_Unary
 Unary expression kind.
 
const ASK_Block = ASK_Block
 Statement block statement kind.
 
const ASK_Break = ASK_Break
 Break statement kind.
 
const ASK_Call = ASK_Call
 Call statement kind.
 
const ASK_Context = ASK_Context
 Context statement kind.
 
const ASK_Continue = ASK_Continue
 Continue statement kind.
 
const ASK_DoWhile = ASK_DoWhile
 Do-while statement kind.
 
const ASK_Expression = ASK_Expression
 Expression statement kind.
 
const ASK_For = ASK_For
 For statement kind.
 
const ASK_Foreach = ASK_Foreach
 Foreach statement kind.
 
const ASK_If = ASK_If
 If statement kind.
 
const ASK_OnBlockExit = ASK_OnBlockExit
 On block exit (on_exit, on_success, on_error) statement kind.
 
const ASK_Rethrow = ASK_Rethrow
 Rethrow statement kind.
 
const ASK_Return = ASK_Return
 Return statement kind.
 
const ASK_Summarize = ASK_Summarize
 Summarize statement kind.
 
const ASK_Switch = ASK_Switch
 Switch statement kind.
 
const ASK_ThreadExit = ASK_ThreadExit
 Thread exit statement kind.
 
const ASK_Throw = ASK_Throw
 Throw statement kind.
 
const ASK_Try = ASK_Try
 Try statement kind.
 
const ASK_While = ASK_While
 While statement kind.
 
const ASYK_Array = ASYK_Array
 Symbol kind constant for arrays.
 
const ASYK_Boolean = ASYK_Boolean
 Symbol kind constant for booleans.
 
const ASYK_Class = ASYK_Class
 Symbol kind constant for classes.
 
const ASYK_Constant = ASYK_Constant
 Symbol kind constant for constants.
 
const ASYK_Constructor = ASYK_Constructor
 Symbol kind constant for constructor.
 
const ASYK_Enum = ASYK_Enum
 Symbol kind constant for enums.
 
const ASYK_Field = ASYK_Field
 Symbol kind constant for field (used for hash members in Qore context).
 
const ASYK_File = ASYK_File
 Symbol kind constant for files.
 
const ASYK_Function = ASYK_Function
 Symbol kind constant for functions.
 
const ASYK_Interface = ASYK_Interface
 Symbol kind constant for interface (used for hashdecls in Qore context).
 
const ASYK_Method = ASYK_Method
 Symbol kind constant for class methods.
 
const ASYK_Module = ASYK_Module
 Symbol kind constant for modules.
 
const ASYK_Namespace = ASYK_Namespace
 Symbol kind constant for namespaces.
 
const ASYK_None = ASYK_None
 None/null symbol kind (default).
 
const ASYK_Number = ASYK_Number
 Symbol kind constant for numbers.
 
const ASYK_Package = ASYK_Package
 Symbol kind constant for packages.
 
const ASYK_Property = ASYK_Property
 Symbol kind constant for properties.
 
const ASYK_String = ASYK_String
 Symbol kind constant for strings.
 
const ASYK_Variable = ASYK_Variable
 Symbol kind constant for variables.
 
const ASUK_AccessMember = ASUK_AccessMember
 Symbol usage kind for members accessed by the dot operator.
 
const ASUK_AccessVariable = ASUK_AccessVariable
 Symbol usage kind for variables whose members are accessed by the dot operator.
 
const ASUK_AssignmentLeft = ASUK_AssignmentLeft
 Symbol usage kind for left-values in assignments.
 
const ASUK_AssignmentRight = ASUK_AssignmentRight
 Symbol usage kind for right-values in assignments.
 
const ASUK_BinaryLeft = ASUK_BinaryLeft
 Symbol usage kind for left values in binary expressions.
 
const ASUK_BinaryRight = ASUK_BinaryRight
 Symbol usage kind for right values in binary expressions.
 
const ASUK_CallArgs = ASUK_CallArgs
 Symbol usage kind for call arguments expressions.
 
const ASUK_CallTarget = ASUK_CallTarget
 Symbol usage kind for call target expressions.
 
const ASUK_CaseExpr = ASUK_CaseExpr
 Symbol usage kind for case constant expressions.
 
const ASUK_CastObject = ASUK_CastObject
 Symbol usage kind for casted objects in cast expressions.
 
const ASUK_CastType = ASUK_CastType
 Symbol usage kind for types used in cast expressions.
 
const ASUK_ClassDeclName = ASUK_ClassDeclName
 Symbol usage kind for class names in declarations.
 
const ASUK_ConstantDeclName = ASUK_ConstantDeclName
 Symbol usage kind for constant names in declarations.
 
const ASUK_ContextStmtData = ASUK_ContextStmtData
 Symbol usage kind for data in context statements.
 
const ASUK_ContextStmtName = ASUK_ContextStmtName
 Symbol usage kind for names in context statements.
 
const ASUK_DoWhileStmtCond = ASUK_DoWhileStmtCond
 Symbol usage kind for conditions in do-while statements.
 
const ASUK_ExprStmtExpr = ASUK_ExprStmtExpr
 Symbol usage kind for expressions in expression statements.
 
const ASUK_FindData = ASUK_FindData
 Symbol usage kind for data expressions in find expressions.
 
const ASUK_ForStmtCond = ASUK_ForStmtCond
 Symbol usage kind for conditions in for statements.
 
const ASUK_ForStmtInit = ASUK_ForStmtInit
 Symbol usage kind for initialization expressions in for statements.
 
const ASUK_ForStmtIter = ASUK_ForStmtIter
 Symbol usage kind for iteration expressions in for statements.
 
const ASUK_ForeachStmtSrc = ASUK_ForeachStmtSrc
 Symbol usage kind for source variables in foreach statements.
 
const ASUK_ForeachStmtVal = ASUK_ForeachStmtVal
 Symbol usage kind for value variables in foreach statements.
 
const ASUK_FuncDeclName = ASUK_FuncDeclName
 Symbol usage kind for function names in declarations.
 
const ASUK_FuncReturnType = ASUK_FuncReturnType
 Symbol usage kind for function return types.
 
const ASUK_HashDeclName = ASUK_HashDeclName
 Symbol usage kind for hashdecl names in declarations.
 
const ASUK_HashElement = ASUK_HashElement
 Symbol usage kind for hash elements in hash expressions.
 
const ASUK_HashMemberName = ASUK_HashMemberName
 Symbol usage kind for hash members in declarations.
 
const ASUK_HashdeclHashHashdecl = ASUK_HashdeclHashHashdecl
 Symbol usage kind for hashdecl names in hashdecl hash expressions.
 
const ASUK_IfStmtCond = ASUK_IfStmtCond
 Symbol usage kind for conditions in if statements.
 
const ASUK_IndexIndex = ASUK_IndexIndex
 Symbol usage kind for indices in index access expressions.
 
const ASUK_IndexVariable = ASUK_IndexVariable
 Symbol usage kind for accessed variables in index access expressions.
 
const ASUK_ListElement = ASUK_ListElement
 Symbol usage kind for list elements in list expressions.
 
const ASUK_NamespaceDeclName = ASUK_NamespaceDeclName
 Symbol usage kind for namespace names in declarations.
 
const ASUK_None = ASUK_None
 None/null symbol usage kind (default).
 
const ASUK_RangeLeft = ASUK_RangeLeft
 Symbol usage kind for left values in range expressions.
 
const ASUK_RangeRight = ASUK_RangeRight
 Symbol usage kind for right values in range expressions.
 
const ASUK_ReturnStmtVal = ASUK_ReturnStmtVal
 Symbol usage kind for returned values in return statements.
 
const ASUK_ReturnsType = ASUK_ReturnsType
 Symbol usage kind for return type in returns expression.
 
const ASUK_SummarizeStmtData = ASUK_SummarizeStmtData
 Symbol usage kind for data in summarize statements.
 
const ASUK_SummarizeStmtName = ASUK_SummarizeStmtName
 Symbol usage kind for names in summarize statements.
 
const ASUK_SuperclassDeclName = ASUK_SuperclassDeclName
 Symbol usage kind for superclass names in declarations.
 
const ASUK_SwitchStmtVar = ASUK_SwitchStmtVar
 Symbol usage kind for condition variables in switch statements.
 
const ASUK_TernaryCond = ASUK_TernaryCond
 Symbol usage kind for conditions in ternary conditional operator expressions.
 
const ASUK_TernaryFalse = ASUK_TernaryFalse
 Symbol usage kind for "false" options in ternary conditional operator expressions.
 
const ASUK_TernaryTrue = ASUK_TernaryTrue
 Symbol usage kind for "true" options in ternary conditional operator expressions.
 
const ASUK_ThrowStmtExpr = ASUK_ThrowStmtExpr
 Symbol usage kind for expressions in throw statements.
 
const ASUK_TryStmtCatchVar = ASUK_TryStmtCatchVar
 Symbol usage kind for catched variables in try-catch statements.
 
const ASUK_Unary = ASUK_Unary
 Symbol usage kind for operands in unary operator expressions.
 
const ASUK_VarDeclName = ASUK_VarDeclName
 Symbol usage kind for variable names in declarations.
 
const ASUK_VarDeclTypeName = ASUK_VarDeclTypeName
 Symbol usage kind for variable types.
 
const ASUK_WhileStmtCond = ASUK_WhileStmtCond
 Symbol usage kind for conditions in while statements.
 

Detailed Description

astparser namespace