Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/libxml2/usr/share/gtk-doc/html/libxml2/ drwxr-xr-x |
Viewing file: Select action/file-type:
xmlregexpxmlregexp - regular expressions handling basic API for libxml regular expressions handling used for XML Schemas and validation. Author(s): Daniel Veillard Synopsistypedef struct _xmlExpCtxt xmlExpCtxt; typedef xmlExpCtxt * xmlExpCtxtPtr; typedef struct _xmlExpNode xmlExpNode; typedef xmlExpNode * xmlExpNodePtr; typedef enum xmlExpNodeType; typedef struct _xmlRegExecCtxt xmlRegExecCtxt; typedef xmlRegExecCtxt * xmlRegExecCtxtPtr; typedef struct _xmlRegexp xmlRegexp; typedef xmlRegexp * xmlRegexpPtr; int xmlExpCtxtNbCons (xmlExpCtxtPtr ctxt); int xmlExpCtxtNbNodes (xmlExpCtxtPtr ctxt); void xmlExpDump (xmlBufferPtr buf, DescriptionDetailsStructure xmlExpCtxtstruct _xmlExpCtxt { The content of this structure is not made public by the API. } xmlExpCtxt; Typedef xmlExpCtxtPtrxmlExpCtxt * xmlExpCtxtPtr; Structure xmlExpNodestruct _xmlExpNode { The content of this structure is not made public by the API. } xmlExpNode; Typedef xmlExpNodePtrxmlExpNode * xmlExpNodePtr; Enum xmlExpNodeTypeenum xmlExpNodeType { XML_EXP_EMPTY = 0 XML_EXP_FORBID = 1 XML_EXP_ATOM = 2 XML_EXP_SEQ = 3 XML_EXP_OR = 4 XML_EXP_COUNT = 5 }; Structure xmlRegExecCtxtstruct _xmlRegExecCtxt { The content of this structure is not made public by the API. } xmlRegExecCtxt; Typedef xmlRegExecCtxtPtrxmlRegExecCtxt * xmlRegExecCtxtPtr; A libxml progressive regular expression evaluation context Structure xmlRegexpstruct _xmlRegexp { The content of this structure is not made public by the API. } xmlRegexp; Typedef xmlRegexpPtrxmlRegexp * xmlRegexpPtr; A libxml regular expression, they can actually be far more complex thank the POSIX regex expressions. Function type xmlRegExecCallbacksvoid xmlRegExecCallbacks (xmlRegExecCtxtPtr exec, Callback function when doing a transition in the automata
Variable emptyExpxmlExpNodePtr emptyExp; Variable forbiddenExpxmlExpNodePtr forbiddenExp; xmlExpCtxtNbCons ()int xmlExpCtxtNbCons (xmlExpCtxtPtr ctxt) Debugging facility provides the number of allocated nodes over lifetime
xmlExpCtxtNbNodes ()int xmlExpCtxtNbNodes (xmlExpCtxtPtr ctxt) Debugging facility provides the number of allocated nodes at a that point
xmlExpDump ()void xmlExpDump (xmlBufferPtr buf, Serialize the expression as compiled to the buffer
xmlExpExpDerive ()xmlExpNodePtr xmlExpExpDerive (xmlExpCtxtPtr ctxt, Evaluates the expression resulting from @exp consuming a sub expression @sub Based on algebraic derivation and sometimes direct Brzozowski derivation it usually takes less than linear time and can handle expressions generating infinite languages.
xmlExpFree ()void xmlExpFree (xmlExpCtxtPtr ctxt, Dereference the expression
xmlExpFreeCtxt ()void xmlExpFreeCtxt (xmlExpCtxtPtr ctxt) Free an expression context
xmlExpGetLanguage ()int xmlExpGetLanguage (xmlExpCtxtPtr ctxt, Find all the strings used in @exp and store them in @list
xmlExpGetStart ()int xmlExpGetStart (xmlExpCtxtPtr ctxt, Find all the strings that appears at the start of the languages accepted by @exp and store them in @list. E.g. for (a, b) | c it will return the list [a, c]
xmlExpIsNillable ()int xmlExpIsNillable (xmlExpNodePtr exp) Finds if the expression is nillable, i.e. if it accepts the empty sequence
xmlExpMaxToken ()int xmlExpMaxToken (xmlExpNodePtr expr) Indicate the maximum number of input a expression can accept
xmlExpNewAtom ()xmlExpNodePtr xmlExpNewAtom (xmlExpCtxtPtr ctxt, Get the atom associated to this name from that context
xmlExpNewCtxt ()xmlExpCtxtPtr xmlExpNewCtxt (int maxNodes, Creates a new context for manipulating expressions
xmlExpNewOr ()xmlExpNodePtr xmlExpNewOr (xmlExpCtxtPtr ctxt, Get the atom associated to the choice @left | @right Note that @left and @right are consumed in the operation, to keep an handle on them use xmlExpRef() and use xmlExpFree() to release them, this is true even in case of failure (unless ctxt == NULL).
xmlExpNewRange ()xmlExpNodePtr xmlExpNewRange (xmlExpCtxtPtr ctxt, Get the atom associated to the range (@subset){@min, @max} Note that @subset is consumed in the operation, to keep an handle on it use xmlExpRef() and use xmlExpFree() to release it, this is true even in case of failure (unless ctxt == NULL).
xmlExpNewSeq ()xmlExpNodePtr xmlExpNewSeq (xmlExpCtxtPtr ctxt, Get the atom associated to the sequence @left , @right Note that @left and @right are consumed in the operation, to keep an handle on them use xmlExpRef() and use xmlExpFree() to release them, this is true even in case of failure (unless ctxt == NULL).
xmlExpParse ()xmlExpNodePtr xmlExpParse (xmlExpCtxtPtr ctxt, Minimal parser for regexps, it understand the following constructs - string terminals - choice operator | - sequence operator , - subexpressions (...) - usual cardinality operators + * and ? - finite sequences { min, max } - infinite sequences { min, * } There is minimal checkings made especially no checking on strings values
xmlExpRef ()void xmlExpRef (xmlExpNodePtr exp) Increase the reference count of the expression
xmlExpStringDerive ()xmlExpNodePtr xmlExpStringDerive (xmlExpCtxtPtr ctxt, Do one step of Brzozowski derivation of the expression @exp with respect to the input string
xmlExpSubsume ()int xmlExpSubsume (xmlExpCtxtPtr ctxt, Check whether @exp accepts all the languages accepted by @sub the input being a subexpression.
xmlRegExecErrInfo ()int xmlRegExecErrInfo (xmlRegExecCtxtPtr exec, Extract error information from the regexp execution, the parameter @string will be updated with the value pushed and not accepted, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values
xmlRegExecNextValues ()int xmlRegExecNextValues (xmlRegExecCtxtPtr exec, Extract information from the regexp execution, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values
xmlRegExecPushString ()int xmlRegExecPushString (xmlRegExecCtxtPtr exec, Push one input token in the execution context
xmlRegExecPushString2 ()int xmlRegExecPushString2 (xmlRegExecCtxtPtr exec, Push one input token in the execution context
xmlRegFreeExecCtxt ()void xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec) Free the structures associated to a regular expression evaluation context.
xmlRegNewExecCtxt ()xmlRegExecCtxtPtr xmlRegNewExecCtxt (xmlRegexpPtr comp, Build a context used for progressive evaluation of a regexp.
xmlRegexpCompile ()xmlRegexpPtr xmlRegexpCompile (const xmlChar * regexp) Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and builds an automata suitable for testing strings against that regular expression
xmlRegexpExec ()int xmlRegexpExec (xmlRegexpPtr comp, Check if the regular expression generates the value
xmlRegexpIsDeterminist ()int xmlRegexpIsDeterminist (xmlRegexpPtr comp) Check if the regular expression is determinist
xmlRegexpPrint ()void xmlRegexpPrint (FILE * output, Print the content of the compiled regular expression
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0798 ]-- |