\doxysection{Parse Directives}
\hypertarget{parse_directives}{}\label{parse_directives}\index{Parse Directives@{Parse Directives}}
Qore supports the use of parse directives in order to set parsing options, load modules, control warnings, and include other files.

Parse directives that set parsing options can be used any time parse options have not been locked on a \doxylink{class_qore_1_1_program}{Program object}. They are used most often when it\textquotesingle{}s not possible or desirable to set the parse options in the qore command line.

The following are the recommended parse directives for Qore programming (note that Qore is moving toward establishing \doxysectlink{parse_directives_new-style}{\%new-\/style}{1} as the default syntax; all examples given in the Qore documentation are given assuming \doxysectlink{parse_directives_new-style}{\%new-\/style}{1})\+:
\begin{DoxyItemize}
\item \doxysectlink{parse_directives_new-style}{\%new-\/style}{1}
\item \doxysectlink{parse_directives_strict-args}{\%strict-\/args}{1}
\item \doxysectlink{parse_directives_require-types}{\%require-\/types}{1}
\item \doxysectlink{parse_directives_enable-all-warnings}{\%enable-\/all-\/warnings}{1}
\end{DoxyItemize}

{\bfseries{Parse Directives}}  \tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
{\bfseries{Directive}} &{\bfseries{Description}}  \\\cline{1-2}
\doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs}{1} &Prohibits the use of the {\ttfamily "{}\$"{}} character in variable names, method calls, and object member references. This makes Qore scripts appear superficially more like C++ or Java programs.~\newline
~\newline
This parse option is set by default with \doxysectlink{parse_directives_new-style}{\%new-\/style}{1}.~\newline
~\newline
Name resolution is made in the following order when this option is set\+: local variables, class constants and static class vars (when parsing in class code), global variables, and (non-\/class) constants.~\newline
~\newline
Note that \doxysectlink{expressions_implicit_arguments}{implicit arguments}{1} are still referenced with the {\ttfamily "{}\$"{}} character even when this parse option is set; see also \doxysectlink{parse_directives_require-dollar}{\%require-\/dollar}{1} ~\newline
~\newline
Since Qore 0.\+8.\+1  \\\cline{1-2}
\doxysectlink{parse_directives_allow-debugger}{\%allow-\/debugger}{1} &Allows debugging actions that could be insecure such as reading the thread local variable stack$<$br$>$~\newline
Since Qore 0.\+8.\+13  \\\cline{1-2}
\doxysectlink{parse_directives_allow-injection}{\%allow-\/injection}{1} &Allows code and dependency injections into the given \doxylink{class_qore_1_1_program}{Program} object  \\\cline{1-2}
\doxysectlink{parse_directives_allow-returns}{\%allow-\/returns}{1} &Allows the use of the deprecated {\ttfamily returns} keyword$<$br$>$~\newline
Since Qore 0.\+9.\+4  \\\cline{1-2}
\doxysectlink{parse_directives_allow-weak-references}{\%allow-\/weak-\/references}{1} &Allows the use of the \doxysectlink{operators_weak_assignment_operator}{weak assignment operator (\+:=)}{2}~\newline
~\newline
Since Qore 0.\+8.\+13  \\\cline{1-2}
\doxysectlink{parse_directives_append-include-path}{\%append-\/include-\/path}{1} &Appends the given directories to qore\textquotesingle{}s include path; also performs environment variable substitution  \\\cline{1-2}
\doxysectlink{parse_directives_append-module-path}{\%append-\/module-\/path}{1} &Appends the given directories to qore\textquotesingle{}s module path; also performs environment variable substitution ~\newline
~\newline
Since Qore 0.\+8.\+6  \\\cline{1-2}
\doxysectlink{parse_directives_assume-global}{\%assume-\/global}{1} &Resets the default Qore behavior of assuming global variable scope when variables are first referenced if no \doxysectlink{variables_my}{my}{2} or \doxysectlink{variables_our}{our}{2} is present; use after \doxysectlink{parse_directives_assume-local}{\%assume-\/local}{1} to reset the default parsing behavior.~\newline
~\newline
This parse option is also set with \doxysectlink{parse_directives_old-style}{\%old-\/style}{1} ~\newline
~\newline
Since Qore 0.\+8.\+4  \\\cline{1-2}
\doxysectlink{parse_directives_assume-local}{\%assume-\/local}{1} &Assume local variable scope when variables are first referenced if no \doxysectlink{variables_my}{my}{2} or \doxysectlink{variables_our}{our}{2} is present. When used with \doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs}{1}, local variables without \doxysectlink{variables_my}{my}{2} must be declared with a data type restriction (can be \doxysectlink{data_type_declarations_any_type}{any}{1}).~\newline
~\newline
This parse option is set by default with \doxysectlink{parse_directives_new-style}{\%new-\/style}{1}; see also \doxysectlink{parse_directives_assume-global}{\%assume-\/global}{1} ~\newline
~\newline
Since Qore 0.\+8.\+1  \\\cline{1-2}
\doxysectlink{parse_directives_broken-cast}{\%broken-\/cast}{1} &Use old pre-\/0.\+9.\+4 broken \doxysectlink{operators_cast}{cast\texorpdfstring{$<$}{<}\texorpdfstring{$>$}{>}}{2} operator handling where \doxysectlink{basic_data_types_nothing}{NOTHING}{1} would be accepted without an error  \\\cline{1-2}
\doxysectlink{parse_directives_broken-int-assignments}{\%broken-\/int-\/assignments}{1} &Use old pre-\/0.\+8.\+12 broken \doxysectlink{data_type_declarations_int_type}{int}{1} and \doxysectlink{data_type_declarations_softint_type}{softint}{1} runtime handling where type errors were ignored at runtime  \\\cline{1-2}
\doxysectlink{parse_directives_broken-list-parsing}{\%broken-\/list-\/parsing}{1} &Use old pre-\/0.\+8.\+12 broken list parsing where certain lists without parentheses would be rewritten to make top-\/level statements like {\ttfamily list l = 1, 2, 3;} valid  \\\cline{1-2}
\doxysectlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}{1} &Use old pre-\/0.\+8.\+12 precedence of logical and bitwise operators  \\\cline{1-2}
\doxysectlink{parse_directives_broken-loop-statement}{\%broken-\/loop-\/statement}{1} &Accept \doxysectlink{statements_break}{break}{1} and \doxysectlink{statements_continue}{continue}{1} outside of loops as with pre-\/0.\+8.\+13  \\\cline{1-2}
\doxysectlink{parse_directives_broken-operators}{\%broken-\/operators}{1} &Accept spaces in multi-\/character operators as with pre-\/0.\+8.\+12  \\\cline{1-2}
\doxysectlink{parse_directives_broken-range}{\%broken-\/range}{1} &Include the upper limit in \doxylink{group__list__functions_ga0bf214ec2c777032a6078bd979637e69}{range()} and \doxylink{group__range__functions_gad5b4d3ad3f6c36d2e714bc6ed757a507}{xrange()} as with pre-\/0.\+9.\+5  \\\cline{1-2}
\doxysectlink{parse_directives_broken-references}{\%broken-\/references}{1} &Do not enforce \doxysectlink{data_type_declarations_reference_type}{reference}{1} and \doxysectlink{data_type_declarations_reference_or_nothing_type}{\texorpdfstring{$\ast$}{*}reference}{1} type restrictions as with pre-\/0.\+8.\+13  \\\cline{1-2}
\doxysectlink{parse_directives_broken-sprintf}{\%broken-\/sprintf}{1} &Use pre-\/0.\+9 sprintf format handling where no argument is handled differently than \doxysectlink{basic_data_types_nothing}{NOTHING}{1}  \\\cline{1-2}
\doxysectlink{parse_directives_broken-varargs}{\%broken-\/varargs}{1} &Assume varargs for all \doxysectlink{qore_classes_abstract}{abstract}{2} methods as with pre-\/1.\+17  \\\cline{1-2}
\doxysectlink{parse_directives_correct-cast}{\%correct-\/cast}{1} &revert the effect of the \doxysectlink{parse_directives_broken-cast}{\%broken-\/cast}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-int-assignments}{\%correct-\/int-\/assignments}{1} &revert the effect of the \doxysectlink{parse_directives_broken-int-assignments}{\%broken-\/int-\/assignments}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-list-parsing}{\%correct-\/list-\/parsing}{1} &revert the effect of the \doxysectlink{parse_directives_broken-list-parsing}{\%broken-\/list-\/parsing}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-logic-precedence}{\%correct-\/logic-\/precedence}{1} &revert the effect of the \doxysectlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-loop-statement}{\%correct-\/loop-\/statement}{1} &revert the effect of the \doxysectlink{parse_directives_broken-loop-statement}{\%broken-\/loop-\/statement}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-operators}{\%correct-\/operators}{1} &revert the effect of the \doxysectlink{parse_directives_broken-operators}{\%broken-\/operators}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-range}{\%correct-\/range}{1} &revert the effect of the \doxysectlink{parse_directives_broken-range}{\%broken-\/range}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-references}{\%correct-\/references}{1} &revert the effect of the \doxysectlink{parse_directives_broken-references}{\%broken-\/references}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-sprintf}{\%correct-\/sprintf}{1} &revert the effect of the \doxysectlink{parse_directives_broken-sprintf}{\%broken-\/sprintf}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_correct-varargs}{\%correct-\/varargs}{1} &revert the effect of the \doxysectlink{parse_directives_broken-varargs}{\%broken-\/varargs}{1} parse option  \\\cline{1-2}
\doxysectlink{parse_directives_define}{\%define}{1} &Creates and optionally sets a value for a \doxylink{conditional_parsing}{parse define} ~\newline
~\newline
Since Qore 0.\+8.\+3  \\\cline{1-2}
\doxysectlink{parse_directives_disable-all-warnings}{\%disable-\/all-\/warnings}{1} &Turns off all \doxylink{warnings}{warnings}  \\\cline{1-2}
\doxysectlink{parse_directives_disable-warning}{\%disable-\/warning}{1} {\itshape \doxylink{warnings}{warning-\/code}} &Disables the named \doxylink{warnings}{warning} until \doxysectlink{parse_directives_enable-warning}{\%enable-\/warning}{1} is encountered with the same code or \doxysectlink{parse_directives_enable-all-warnings}{\%enable-\/all-\/warnings}{1} is encountered  \\\cline{1-2}
\doxysectlink{parse_directives_else}{\%else}{1} &Allows for parsing an alternate block when used with the \doxysectlink{parse_directives_ifdef}{\%ifdef}{1} or \doxysectlink{parse_directives_ifndef}{\%ifndef}{1} parse directives (for \doxylink{conditional_parsing}{conditional parsing based on parse defines}) ~\newline
~\newline
Since Qore 0.\+8.\+3  \\\cline{1-2}
\doxysectlink{parse_directives_enable-all-warnings}{\%enable-\/all-\/warnings}{1} &Turns on all \doxylink{warnings}{warnings}  \\\cline{1-2}
\doxysectlink{parse_directives_enable-warning}{\%enable-\/warning}{1} {\itshape \doxylink{warnings}{warning-\/code}} &Enables the named \doxylink{warnings}{warning}  \\\cline{1-2}
\doxysectlink{parse_directives_endif}{\%endif}{1} &Closes a \doxylink{conditional_parsing}{conditionally-\/parsed} block started by the \doxysectlink{parse_directives_ifdef}{\%ifdef}{1} or \doxysectlink{parse_directives_ifndef}{\%ifndef}{1} parse directives ~\newline
~\newline
Since Qore 0.\+8.\+3  \\\cline{1-2}
\doxysectlink{parse_directives_endtry}{\%endtry}{1} &Closes a \doxysectlink{parse_directives_try-module}{\%try-\/module}{1} or \doxysectlink{parse_directives_try-reexport-module}{\%try-\/reexport-\/module}{1} block ~\newline
~\newline
Since Qore 0.\+8.\+6  \\\cline{1-2}
\doxysectlink{parse_directives_exec-class}{\%exec-\/class}{1} {\itshape \doxylink{qore_classes}{class\+\_\+name}} &Instantiates the named class as the application class; also turns on \doxysectlink{parse_directives_no-top-level}{\%no-\/top-\/level}{1}. If the program is read from stdin or from the command line, an argument must be given specifying the class name. Any top level statements before this directive are silently ignored  \\\cline{1-2}
\doxysectlink{parse_directives_ifdef}{\%ifdef}{1} &Opens a \doxylink{conditional_parsing}{conditionally-\/parsed} block; if the given \doxylink{conditional_parsing}{parse define} is defined, then the block after the \doxysectlink{parse_directives_ifdef}{\%ifdef}{1} is parsed until either an \doxysectlink{parse_directives_else}{\%else}{1} or an \doxysectlink{parse_directives_endif}{\%endif}{1} ~\newline
~\newline
Since Qore 0.\+8.\+3  \\\cline{1-2}
\doxysectlink{parse_directives_ifndef}{\%ifndef}{1} &Opens a \doxylink{conditional_parsing}{conditionally-\/parsed} block; if the given \doxylink{conditional_parsing}{parse define} is not defined, then the block after the \doxysectlink{parse_directives_ifdef}{\%ifdef}{1} is parsed until either an \doxysectlink{parse_directives_else}{\%else}{1} or an \doxysectlink{parse_directives_endif}{\%endif}{1} ~\newline
~\newline
Since Qore 0.\+8.\+3  \\\cline{1-2}
\doxysectlink{parse_directives_include}{\%include}{1} {\itshape file\+\_\+name} &Starts parsing {\itshape file\+\_\+name} immediately. Parsing resumes with the current input after {\itshape file\+\_\+name} has been completely parsed  \\\cline{1-2}
\doxysectlink{parse_directives_lockdown}{\%lockdown}{1} &Made up of \doxysectlink{parse_directives_no-external-access}{\%no-\/external-\/access}{1}, \doxysectlink{parse_directives_no-threads}{\%no-\/threads}{1}, and \doxysectlink{parse_directives_no-io}{\%no-\/io}{1}; equivalent to parse option \doxylink{group__parse__options_ga32ca9503dd181920af97c058d9bd1164}{Qore\+::\+PO\+\_\+\+LOCKDOWN} and the {\ttfamily --lockdown} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_lock-options}{\%lock-\/options}{1} &Prohibits further changes to parse options (equivalent to the {\ttfamily -\/}{\ttfamily -\/lock-\/options} command line option)  \\\cline{1-2}
\doxysectlink{parse_directives_lock-warnings}{\%lock-\/warnings}{1} &Prohibits further changes to the warning mask (equivalent to the {\ttfamily -\/}{\ttfamily -\/lock-\/warnings} command line option)  \\\cline{1-2}
\doxysectlink{parse_directives_loose-args}{\%loose-\/args}{1} &reverts the effect of the \doxysectlink{parse_directives_strict-args}{\%strict-\/args}{1} parse options  \\\cline{1-2}
\doxysectlink{parse_directives_loose-types}{\%loose-\/types}{1} &reverts the effect of the \doxysectlink{parse_directives_strict-types}{\%strict-\/types}{1} parse options  \\\cline{1-2}
\doxysectlink{parse_directives_new-style}{\%new-\/style}{1} &Sets both \doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs}{1} and \doxysectlink{parse_directives_assume-local}{\%assume-\/local}{1}. These two options together make programming in Qore superficially more like programming in C++ or Java programs; use this if you dislike programming with the {\ttfamily "{}\$"{}} sign, for example; see also \doxysectlink{parse_directives_old-style}{\%old-\/style}{1} ~\newline
~\newline
Since Qore 0.\+8.\+1  \\\cline{1-2}
\doxysectlink{parse_directives_old-style}{\%old-\/style}{1} &Resets default Qore parsing behavior by setting \doxysectlink{parse_directives_require-dollar}{\%require-\/dollar}{1} and \doxysectlink{parse_directives_assume-global}{\%assume-\/global}{1}; this option is the opposite of \doxysectlink{parse_directives_new-style}{\%new-\/style}{1} ~\newline
~\newline
Since Qore 0.\+8.\+4  \\\cline{1-2}
\doxysectlink{parse_directives_no-debugging}{\%no-\/debugging}{1} &Forbids debugging of the current \doxylink{class_qore_1_1_program}{Program} object ~\newline
~\newline
Since Qore 0.\+8.\+13  \\\cline{1-2}
\doxysectlink{parse_directives_no-class-defs}{\%no-\/class-\/defs}{1} &Disallows \doxylink{qore_classes}{class definitions}; equivalent to \doxylink{group__parse__options_ga969ab84c1a550482cbc6d24e878172e9}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+CLASS\+\_\+\+DEFS} and the {\ttfamily -\/}{\ttfamily -\/no-\/class-\/defs} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-child-restrictions}{\%no-\/child-\/restrictions}{1} &Allows child program objects to have parse option restrictions that are not a strict subset of the parents\textquotesingle{}; equivalent to parse option \doxylink{group__parse__options_gaa567ec1170360b9ca111402c5179109f}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+CHILD\+\_\+\+PO\+\_\+\+RESTRICTIONS} and the {\ttfamily -\/}{\ttfamily -\/no-\/child-\/restrictions} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-constant-defs}{\%no-\/constant-\/defs}{1} &Disallows \doxylink{constants}{constant definitions}; equivalent to parse option \doxylink{group__parse__options_ga50a8caec03edae3600565a456c1f9c7e}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+CONSTANT\+\_\+\+DEFS} and the {\ttfamily -\/}{\ttfamily -\/no-\/constant-\/defs} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-database}{\%no-\/database}{1} &Disallows access to database functionality (for example the \doxylink{class_qore_1_1_s_q_l_1_1_datasource}{Datasource class}; equivalent to parse option \doxylink{group__parse__options_gac496a9d9bcf9d5c626c8c267c73a83bc}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+DATABASE} and the {\ttfamily -\/}{\ttfamily -\/no-\/database} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-external-access}{\%no-\/external-\/access}{1} &made up of \doxysectlink{parse_directives_no-process-control}{\%no-\/process-\/control}{1}, \doxysectlink{parse_directives_no-network}{\%no-\/network}{1}, \doxysectlink{parse_directives_no-filesystem}{\%no-\/filesystem}{1}, \doxysectlink{parse_directives_no-database}{\%no-\/database}{1}, \doxysectlink{parse_directives_no-external-info}{\%no-\/external-\/info}{1}, and \doxysectlink{parse_directives_no-modules}{\%no-\/modules}{1}; equivalent to parse option \doxylink{group__parse__options_ga10aefe54a313d86a87fedc46820ffb02}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+EXTERNAL\+\_\+\+ACCESS} and the {\ttfamily -\/}{\ttfamily -\/no-\/external-\/access} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-external-info}{\%no-\/external-\/info}{1} &Disallows any access to functionality that provides external information (see \doxysectlink{parse_directives_no-external-info}{\%no-\/external-\/info}{1} for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_ga213aab826b55076c29ffeecebbaea237}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+EXTERNAL\+\_\+\+INFO} and the {\ttfamily -\/}{\ttfamily -\/no-\/external-\/info} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-external-process}{\%no-\/external-\/process}{1} &Disallows any access to external processes (see \doxysectlink{parse_directives_no-external-process}{\%no-\/external-\/process}{1} for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_gaab2d8faa88f066837e100152187e6368}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+EXTERNAL\+\_\+\+PROCESS} and the {\ttfamily -\/}{\ttfamily -\/no-\/external-\/process} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-filesystem}{\%no-\/filesystem}{1} &Disallows access to the local filesystem; equivalent to parse option \doxylink{group__parse__options_ga5e466ed886222f0b57b0a399b455be71}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+FILESYSTEM} and the {\ttfamily -\/}{\ttfamily -\/no-\/filesystem} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-global-vars}{\%no-\/global-\/vars}{1} &Disallows the use of global variables; equivalent to parse option \doxylink{group__parse__options_ga00fcb14e17ebe9073cc0b768c276cf64}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+GLOBAL\+\_\+\+VARS} and the {\ttfamily -\/}{\ttfamily -\/no-\/global-\/vars} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-gui}{\%no-\/gui}{1} &Disallows functionality that draws graphics to the display; equivalent to parse option \doxylink{group__parse__options_ga005117c783de66a8635beead079f52bd}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+GUI} and the {\ttfamily -\/pno-\/gui} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-io}{\%no-\/io}{1} &Made up of \doxysectlink{parse_directives_no-gui}{\%no-\/gui}{1} $|$ \doxysectlink{parse_directives_no-terminal-io}{\%no-\/terminal-\/io}{1} $|$ \doxysectlink{parse_directives_no-filesystem}{\%no-\/filesystem}{1} $|$ \doxysectlink{parse_directives_no-network}{\%no-\/network}{1} $|$ \doxysectlink{parse_directives_no-database}{\%no-\/database}{1}; equivalent to parse option \doxylink{group__parse__options_gabcd4198285f25da13a5883006f06a2b7}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+IO} and the {\ttfamily --no-\/io} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-locale-control}{\%no-\/locale-\/control}{1} &Disallows access to functionality that changes locale information (see no-\/locale-\/control for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_ga99046cc8285fb26438508cdf29b5771e}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+LOCALE\+\_\+\+CONTROL} and the {\ttfamily -\/}{\ttfamily -\/no-\/locale-\/control} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-modules}{\%no-\/modules}{1} &Disallows loading \doxylink{qore_modules}{modules} with the \doxysectlink{parse_directives_requires}{\%requires}{1}, \doxysectlink{parse_directives_try-module}{\%try-\/module}{1}, and \doxysectlink{parse_directives_try-reexport-module}{\%try-\/reexport-\/module}{1} parse directive or at runtime with load\+\_\+module(); equivalent to \doxylink{group__parse__options_gaccf9af08f7acb25e66b777dcb4c4563b}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+MODULES} and the {\ttfamily -\/pno-\/modules} command line option ~\newline
~\newline
Since Qore 0.\+8.\+4  \\\cline{1-2}
\doxysectlink{parse_directives_no-namespace-defs}{\%no-\/namespace-\/defs}{1} &Disallows new \doxylink{qore_namespaces}{namespace definitions}; equivalent to \doxylink{group__parse__options_gaa5aaa3b96f4662b3c49bed1d1ab8ec88}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+NAMESPACE\+\_\+\+DEFS} and the {\ttfamily -\/}{\ttfamily -\/no-\/namespace-\/defs} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-network}{\%no-\/network}{1} &Disallows access to the network; equivalent to parse option \doxylink{group__parse__options_ga20400e83c6271a294a48b15a8f952efa}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+NETWORK} and the {\ttfamily -\/}{\ttfamily -\/no-\/network} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-new}{\%no-\/new}{1} &Disallows use of the \doxysectlink{operators_new}{new operator}{2}; equivalent to parse option \doxylink{group__parse__options_ga9736251c76726706da64426d899b4033}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+NEW} and the {\ttfamily -\/}{\ttfamily -\/no-\/new} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-process-control}{\%no-\/process-\/control}{1} &Disallows access to functions that would affect the current process (see \doxysectlink{parse_directives_no-process-control}{\%no-\/process-\/control}{1} for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_ga10d8e3f76c427b0f974529de572dd0ec}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+PROCESS\+\_\+\+CONTROL} and the {\ttfamily -\/}{\ttfamily -\/no-\/process-\/control} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-reflection}{\%no-\/reflection}{1} &Disallows access to the reflection API provided by the \href{../../modules/reflection/html/index.html}{\texttt{ reflection}} module; equivalent to parse option \doxylink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+REFLECTION~\newline
}~\newline
Since Qore 0.\+9  \\\cline{1-2}
\doxysectlink{parse_directives_no-subroutine-defs}{\%no-\/subroutine-\/defs}{1} &Disallows subroutine (function) definitions; equivalent to parse option \doxylink{group__parse__options_ga750cc2b2d325184242990c6ab60ea736}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+SUBROUTINE\+\_\+\+DEFS} and the {\ttfamily -\/}{\ttfamily -\/no-\/subroutine-\/defs} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-terminal-io}{\%no-\/terminal-\/io}{1} &Disallows access to terminal I/O (see \doxysectlink{parse_directives_no-terminal-io}{\%no-\/terminal-\/io}{1} for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_gaa92bf6eafb76a4ccf1a0d0df45b13363}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+TERMINAL\+\_\+\+IO} and the {\ttfamily -\/pno-\/terminal-\/io} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-thread-classes}{\%no-\/thread-\/classes}{1} &Disallows access to thread classes (see \doxysectlink{parse_directives_no-thread-classes}{\%no-\/thread-\/classes}{1} for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_gade963e1fbbd1f5b2c777df7221512a1b}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREAD\+\_\+\+CLASSES} and the {\ttfamily -\/}{\ttfamily -\/no-\/thread-\/classes} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-thread-control}{\%no-\/thread-\/control}{1} &Disallows access to thread control operations (see \doxysectlink{parse_directives_no-thread-control}{\%no-\/thread-\/control}{1} for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_ga16d8c2b85171b6673b60b5f7d0eaf5eb}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREAD\+\_\+\+CONTROL} and the {\ttfamily -\/}{\ttfamily -\/no-\/thread-\/control} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-thread-info}{\%no-\/thread-\/info}{1} &Disallows any access to functionality that provides threading information (see \doxysectlink{parse_directives_no-thread-info}{\%no-\/thread-\/info}{1} for a list of features not available with this parse option); equivalent to parse option \doxylink{group__parse__options_gac379d98e62c57231c2efb7ea87c75a3a}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREAD\+\_\+\+INFO} and the {\ttfamily -\/}{\ttfamily -\/no-\/thread-\/info} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-threads}{\%no-\/threads}{1} &Disallows access to all thread control operations and thread classes (equivalent to {\ttfamily -\/}{\ttfamily -\/no-\/thread-\/control} and {\ttfamily -\/}{\ttfamily -\/no-\/thread-\/classes} together); equivalent to parse option \doxylink{group__parse__options_ga76f3b2a173e5f06aec64ea04fc1ed515}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREADS} and the {\ttfamily -\/}{\ttfamily -\/no-\/threads} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-top-level}{\%no-\/top-\/level}{1} &Disallows any further top level code; equivalent to parse option \doxylink{group__parse__options_ga3a99f2973e97f3986630d8204d7b91fd}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+TOP\+\_\+\+LEVEL\+\_\+\+STATEMENTS} and the {\ttfamily -\/}{\ttfamily -\/no-\/top-\/level} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_no-transient}{\%no-\/transient}{1} &Removes the \doxysectlink{qore_classes_transient}{Transient Members}{2} keyword for backwards-\/compatibility; equivalent to parse option \doxylink{group__parse__options_ga4d9e69dc24ed1eed0ea11f4947cceca2}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+TRANSIENT}  \\\cline{1-2}
\doxysectlink{parse_directives_no-uncontrolled-apis}{\%no-\/uncontrolled-\/apis}{1} &Disallows access to uncontrolled APIs such as external language bindings or direct generic system call APIs that could bypass Qore\textquotesingle{}s sandboxing controls  \\\cline{1-2}
\doxysectlink{parse_directives_perl-bool-eval}{\%perl-\/bool-\/eval}{1} &Set to mimic perl\textquotesingle{}s boolean evaluation; this is the default with qore \texorpdfstring{$>$}{>}= 0.\+8.\+6; prior to this version, by default qore used strict mathematic boolean evaluation, where any value converted to 0 is \doxysectlink{basic_data_types_False}{False}{2} and otherwise it\textquotesingle{}s is \doxysectlink{basic_data_types_True}{True}{2}. ~\newline
~\newline
As of Qore 0.\+8.\+6+, this parse option is only needed if \doxysectlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}{1} is set. ~\newline
~\newline
When this option is set, boolean evaluation follows the same rules as \doxylink{class_qore_1_1zzz8valuezzz9_a3a66486cee14aa073cf90fbed5a23edd}{Qore\+::zzz8valuezzz9\+::val()}; see also \doxysectlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}{1}~\newline
~\newline
Since Qore 0.\+8.\+6  \\\cline{1-2}
\doxysectlink{parse_directives_push-parse-options}{\%push-\/parse-\/options}{1} &Stores parse options so that they will be restored when the current file is done parsing; use in include files to ensure parse options are set appropriately for the file being parsed  \\\cline{1-2}
\doxysectlink{parse_directives_require-dollar}{\%require-\/dollar}{1} &Resets the default Qore behavior where the use of the {\ttfamily "{}\$"{}} character in variable names, method calls, and object member references is required; use after \doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs}{1} to reset the default parsing behavior ~\newline
~\newline
Since Qore 0.\+8.\+4  \\\cline{1-2}
\doxysectlink{parse_directives_require-our}{\%require-\/our}{1} &Requires global variables to be declared with \doxysectlink{variables_our}{our}{2} prior to use (like perl\textquotesingle{}s {\ttfamily use strict vars} pragma); equivalent to parse option \doxylink{group__parse__options_ga77d54a192aeae13bac95700ab5bbb190}{Qore\+::\+PO\+\_\+\+REQUIRE\+\_\+\+OUR} and the {\ttfamily -\/}{\ttfamily -\/require-\/our} command line option  \\\cline{1-2}
\doxysectlink{parse_directives_require-prototypes}{\%require-\/prototypes}{1} &Requires type declarations for all function and method parameters and return types. Variables and object members do not need to have type declarations; equivalent to parse option \doxylink{group__parse__options_ga196e048def21cb147b21a4871c4e9b29}{Qore\+::\+PO\+\_\+\+REQUIRE\+\_\+\+PROTOTYPES} and the {\ttfamily -\/}{\ttfamily -\/require-\/prototypes} command line option ~\newline
~\newline
Since Qore 0.\+8.\+0  \\\cline{1-2}
\doxysectlink{parse_directives_require-types}{\%require-\/types}{1} &Requires type declarations for all function and method parameters, return types, variables, and object members; equivalent to parse option \doxylink{group__parse__options_ga66847391bb96dac88c3fee210720bbb3}{Qore\+::\+PO\+\_\+\+REQUIRE\+\_\+\+TYPES} and the {\ttfamily -\/}{\ttfamily -\/require-\/types} command line option; also implies \doxysectlink{parse_directives_strict-args}{\%strict-\/args}{1} ~\newline
~\newline
Since Qore 0.\+8.\+0  \\\cline{1-2}
\doxysectlink{parse_directives_requires}{\%requires}{1}{\ttfamily \mbox{[}(reexport)\mbox{]} {\itshape feature} \mbox{[}\texorpdfstring{$<$}{<}$|$\texorpdfstring{$<$}{<}=$|$=$|$\texorpdfstring{$>$}{>}=$|$\texorpdfstring{$>$}{>} {\itshape version}\mbox{]}} &If the named feature is not already present in Qore, then the {\ttfamily QORE\+\_\+\+MODULE\+\_\+\+DIR} environment variable is used to provide a list of directories to seach for a module with the same name ({\itshape feature}{\ttfamily \mbox{[}-\/api-\/}{\itshape x}{\ttfamily .}{\itshape y}{\ttfamily \mbox{]}.qmod} for binary modules or {\itshape feature}{\ttfamily .qm} for user modules). If the module is not found, then the qore default module directory is checked.~\newline
~\newline
This directive must be used to load modules providing parse support (i.\+e. modules providing classes, constants, functions, etc that are resolved at parse time).~\newline
~\newline
If version information is provided, then it is compared with the module\textquotesingle{}s version information, and if it does not match a parse exception is raised. ~\newline
~\newline
See also \doxylink{group__misc__functions_ga366da9b19ed9b6fb4936f5e5a2ff3663}{Qore\+::load\+\_\+module()} for a function providing run-\/time module loading and \doxysectlink{parse_directives_try-module}{\%try-\/module}{1} and \doxysectlink{parse_directives_try-reexport-module}{\%try-\/reexport-\/module}{1} for a similar parse directive that allows module loading errors to be handled at runtime  \\\cline{1-2}
\doxysectlink{parse_directives_set-time-zone}{\%set-\/time-\/zone}{1} &Sets the time zone for the current program from a UTC offset (with format {\ttfamily "{}+/-\/\mbox{[}00\mbox{[}\+:00\mbox{[}\+:00\mbox{]}\mbox{]}"{}}; {\ttfamily "{}\+:"{}} characters are optional) or a time zone region name (ex\+: {\ttfamily "{}\+Europe/\+Prague"{}}) ~\newline
~\newline
Since Qore 0.\+8.\+3  \\\cline{1-2}
\doxysectlink{parse_directives_strict-args}{\%strict-\/args}{1} &Prohibits access to builtin functions and methods flagged with \doxysectlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}{1} and also causes errors to be raised if excess arguments are given to functions that do not access excess arguments and if a non-\/list lvalue is passed to the \doxysectlink{operators_push}{Push Operator (push)}{2}, \doxysectlink{operators_pop}{Pop Operator (pop)}{2}, or \doxysectlink{operators_shift}{Shift Operator (shift)}{2} ~\newline
~\newline
Since Qore 0.\+8.\+0  \\\cline{1-2}
\doxysectlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}{1} &Sets qore\textquotesingle{}s default strict mathematic boolean evaluation mode, where any value converted to 0 is \doxysectlink{basic_data_types_False}{False}{2} and otherwise it\textquotesingle{}s is \doxysectlink{basic_data_types_True}{True}{2}; this was how qore behaved by default prior to v0.\+8.\+6. ~\newline
~\newline
Equivalent to parse option \doxylink{group__parse__options_ga2fbe2a73849bb0139d8d228df0e49ea6}{Qore\+::\+PO\+\_\+\+STRICT\+\_\+\+BOOLEAN\+\_\+\+EVAL} and the {\ttfamily -\/pstrict-\/bool-\/eval} command line option. ~\newline
~\newline
See also \doxysectlink{parse_directives_perl-bool-eval}{\%perl-\/bool-\/eval}{1}~\newline
~\newline
Since Qore 0.\+8.\+6  \\\cline{1-2}
\doxysectlink{parse_directives_strict-types}{\%strict-\/types}{1} &Sets strict type checking and automatically sets default values for lvalues with type restrictions that have default values  \\\cline{1-2}
\doxysectlink{parse_directives_strong-encapsulation}{\%strong-\/encapsulation}{1} &Disallows out-\/of-\/line class and namespace declarations. ~\newline
~\newline
Since Qore 0.\+8.\+13  \\\cline{1-2}
\doxysectlink{parse_directives_try-module}{\%try-\/module}{1} \mbox{[}(\doxysectlink{variables_variable_declarations}{var\+\_\+decl}{1})\mbox{]} {\itshape feature} {\ttfamily \mbox{[}\texorpdfstring{$<$}{<}$|$\texorpdfstring{$<$}{<}=$|$=$|$\texorpdfstring{$>$}{>}=$|$\texorpdfstring{$>$}{>}} {\itshape version}{\ttfamily \mbox{]}} &If the named feature is not already present in Qore, then the {\ttfamily QORE\+\_\+\+MODULE\+\_\+\+DIR} environment variable is used to provide a list of directories to seach for a module with the same name ({\itshape feature}{\ttfamily \mbox{[}-\/api-\/}{\itshape x}{\ttfamily .}{\itshape y}{\ttfamily \mbox{]}.qmod} for binary modules or {\itshape feature}{\ttfamily .qm} for user modules). If the module is not found, then the qore default module directory is checked.~\newline
~\newline
If an error occurs loading the module, then the \doxysectlink{variables_variable_declarations}{variable}{1} declared after {\ttfamily \%try-\/module} is instantiated with the exception information, and the code up to the \doxysectlink{parse_directives_endtry}{\%endtry}{1} parse declaration is parsed into the program, allowing for the qore script/program to handle module loading errors at parse time for modules that must be loaded at parse time.~\newline
~\newline
If version information is provided, then it is compared with the module\textquotesingle{}s version information, and if it does not match a parse exception is raised that is handled like any other load error.~\newline
~\newline
See also \doxylink{group__misc__functions_ga366da9b19ed9b6fb4936f5e5a2ff3663}{Qore\+::load\+\_\+module()} for a function providing run-\/time module loading and \doxysectlink{parse_directives_requires}{\%requires}{1} for a similar declaration that does not allow for parse-\/time module loading error handling.~\newline
~\newline
Since Qore 0.\+8.\+6  \\\cline{1-2}
\doxysectlink{parse_directives_try-reexport-module}{\%try-\/reexport-\/module}{1} \mbox{[}(\doxysectlink{variables_variable_declarations}{var\+\_\+decl}{1})\mbox{]} {\itshape feature} {\ttfamily \mbox{[}\texorpdfstring{$<$}{<}$|$\texorpdfstring{$<$}{<}=$|$=$|$\texorpdfstring{$>$}{>}=$|$\texorpdfstring{$>$}{>}} {\itshape version}{\ttfamily \mbox{]}} &The same as \doxysectlink{parse_directives_try-module}{\%try-\/module}{1} except that if used in a \doxysectlink{qore_modules_user_modules}{user module}{1}, the module is reexported to the importing code$<$br$>$~\newline
Since Qore 0.\+8.\+13  \\\cline{1-2}
\end{longtabu}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_allow-bare-refs}{}\doxysubsection{\texorpdfstring{\%allow-\/bare-\/refs}{\%allow-bare-refs}}\label{parse_directives_allow-bare-refs}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%allow-\/bare-\/refs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily --allow-\/bare-\/refs, -\/B}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaa980dd723754782db7b8be9abe77615a}{Qore\+::\+PO\+\_\+\+ALLOW\+\_\+\+BARE\+\_\+\+REFS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Prohibits the use of the {\ttfamily "{}\$"{}} character in variable names, method calls, and object member references. This makes Qore scripts appear superficially more like C++ or Java programs. This parse option is set by default with \doxysectlink{parse_directives_new-style}{\%new-\/style}{1} and is the opposite of \doxysectlink{parse_directives_require-dollar}{\%require-\/dollar}{1}.~\newline
~\newline
 Name resolution is made in the following order when this option is set\+:
\begin{DoxyItemize}
\item \doxysectlink{variables_variable_declarations}{local variables}{1}
\item \doxysectlink{qore_classes_class_constants}{class constants}{2} (when parsing in class code)
\item \doxysectlink{qore_classes_static_class_variables}{static class variables}{2} (when parsing in class code)
\item \doxysectlink{variables_variable_declarations}{global variables}{1}
\item (non-\/class) \doxylink{constants}{constants} ~\newline
~\newline
 
\end{DoxyItemize}
\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item when using this option (or \doxysectlink{parse_directives_new-style}{\%new-\/style) the lack of {\ttfamily } \$}{1} characters in variable names makes it necessary to declare local variables before using them
\item ref implicit\+\_\+arguments "{}implicit arguments"{} are still referenced with the {\ttfamily "{}\$"{}} character even when this parse option is set.
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+1
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_require-dollar}{\%require-\/dollar}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_allow-debugger}{}\doxysubsection{\texorpdfstring{\%allow-\/debugger}{\%allow-debugger}}\label{parse_directives_allow-debugger}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%allow-\/debugger}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gad0d38cd46f08bf4210d4010204269cc9}{Qore\+::\+PO\+\_\+\+ALLOW\+\_\+\+DEBUGGER}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Allows access to functionality that can be used to debug other \doxylink{class_qore_1_1_program}{Program} containers. Mainly related to classes\+:
\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_breakpoint}{Qore\+::\+Breakpoint}
\item \doxylink{class_qore_1_1_debug_program}{Qore\+::\+Debug\+Program}
\item \doxylink{class_qore_1_1_program_control}{Qore\+::\+Program\+Control}
\end{DoxyItemize}
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_allow-injection}{}\doxysubsection{\texorpdfstring{\%allow-\/injection}{\%allow-injection}}\label{parse_directives_allow-injection}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%allow-\/injection}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pallow-\/injection}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga1c78ca9bda4b8f5b2ad669c48fe0368d}{Qore\+::\+PO\+\_\+\+ALLOW\+\_\+\+INJECTION}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Allows for code and dependency injections in the given \doxylink{class_qore_1_1_program}{Program} object.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_program_abf634534cb29157d05aab5ff3ffd6bea}{Qore\+::\+Program\+::import\+Class()}
\item \doxylink{class_qore_1_1_program_a9a2e3da4029c50643169cbb72e57f494}{Qore\+::\+Program\+::import\+Function()}
\item \doxylink{class_qore_1_1_program_a300ffe0abd0b09cc39feb637a9bab9ba}{Qore\+::\+Program\+::load\+Apply\+To\+User\+Module()}
\item \doxylink{class_qore_1_1_program_a88ead6a191a58736b49e794f3220869f}{Qore\+::\+Program\+::load\+User\+Module\+With\+Program()}
\item \doxylink{group__misc__functions_ga59d94b7cc4dfcc6e39030097458b8afe}{Qore\+::load\+\_\+user\+\_\+module\+\_\+with\+\_\+program()}
\end{DoxyItemize}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_allow-returns}{}\doxysubsection{\texorpdfstring{\%allow-\/returns}{\%allow-returns}}\label{parse_directives_allow-returns}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%allow-\/returns}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pallow-\/returns}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga740012ab51f05f39efc31eab365138e8}{Qore\+::\+PO\+\_\+\+ALLOW\+\_\+\+RETURNS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Allows the use of the deprecated {\ttfamily returns} keyword.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+9.\+4
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_allow-weak-references}{}\doxysubsection{\texorpdfstring{\%allow-\/weak-\/references}{\%allow-weak-references}}\label{parse_directives_allow-weak-references}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%allow-\/weak-\/references}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pallow-\/weak-\/references}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga7cbf296853bb3a9d7cd1cf3a3e9556a5}{Qore\+::\+PO\+\_\+\+ALLOW\+\_\+\+WEAK\+\_\+\+REFERENCES}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Allows the use of the \doxysectlink{operators_weak_assignment_operator}{weak assignment operator (\+:=)}{2}.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxysectlink{operators_weak_assignment_operator}{Weak Reference Assignment Operator (\+:=)}{2}
\end{DoxyItemize}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_append-include-path}{}\doxysubsection{\texorpdfstring{\%append-\/include-\/path}{\%append-include-path}}\label{parse_directives_append-include-path}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%append-\/include-\/path} {\itshape dir1\mbox{[}\+:dir2...\mbox{]}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Appends the given directories to qore\textquotesingle{}s include path; also performs environment variable substitution. Only directories that exist and are readable are added to the include path.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_append-module-path}{\%append-\/module-\/path}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_append-module-path}{}\doxysubsection{\texorpdfstring{\%append-\/module-\/path}{\%append-module-path}}\label{parse_directives_append-module-path}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%append-\/module-\/path} {\itshape dir1\mbox{[}\+:dir2...\mbox{]}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Appends the given directories to qore\textquotesingle{}s module path; also performs environment variable substitution. Only directories that exist and are readable are added to the module path.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_append-include-path}{\%append-\/include-\/path}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_assume-global}{}\doxysubsection{\texorpdfstring{\%assume-\/global}{\%assume-global}}\label{parse_directives_assume-global}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%assume-\/global}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Resets the default Qore behavior of assuming global variable scope when variables are first referenced if no \doxysectlink{variables_my}{my}{2} or \doxysectlink{variables_our}{our}{2} is present; use after \doxysectlink{parse_directives_assume-local}{\%assume-\/local}{1} to reset the default parsing behavior. This parse option is also set with \doxysectlink{parse_directives_old-style}{\%old-\/style}{1}
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+4
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_assume-local}{\%assume-\/local}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_assume-local}{}\doxysubsection{\texorpdfstring{\%assume-\/local}{\%assume-local}}\label{parse_directives_assume-local}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%assume-\/local}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/assume-\/local}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gac68aaa1c322a68a213b5101265aea716}{Qore\+::\+PO\+\_\+\+ASSUME\+\_\+\+LOCAL}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Assume local variable scope when variables are first referenced if no \doxysectlink{variables_my}{my}{2} or \doxysectlink{variables_our}{our}{2} is present. When used with \doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs}{1}, local variables without \doxysectlink{variables_my}{my}{2} must be declared with a data type restriction (can be any). This parse option is set by default with \doxysectlink{parse_directives_new-style}{\%new-\/style}{1} and is the opposite of \doxysectlink{parse_directives_assume-global}{\%assume-\/global}{1}
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+1
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_assume-global}{\%assume-\/global}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-cast}{}\doxysubsection{\texorpdfstring{\%broken-\/cast}{\%broken-cast}}\label{parse_directives_broken-cast}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/cast}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pbroken-\/cast}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaad25cc6a2b8ede564839d12622d90398}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+CAST}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Use old pre-\/0.\+9.\+4 broken \doxysectlink{operators_cast}{cast\texorpdfstring{$<$}{<}\texorpdfstring{$>$}{>}}{2} operator handling where \doxysectlink{basic_data_types_nothing}{NOTHING}{1} would be accepted without an error
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-cast}{\%correct-\/cast}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9.\+4
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-int-assignments}{}\doxysubsection{\texorpdfstring{\%broken-\/int-\/assignments}{\%broken-int-assignments}}\label{parse_directives_broken-int-assignments}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/int-\/assignments}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pbroken-\/int-\/assignments}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga54b775d7caa51bc86591ff0bb9454463}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+INT\+\_\+\+ASSIGNMENTS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Use old pre-\/0.\+8.\+12 broken \doxysectlink{data_type_declarations_int_type}{int}{1} and \doxysectlink{data_type_declarations_softint_type}{softint}{1} runtime handling where type errors were ignored at runtime.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-int-assignments}{\%correct-\/int-\/assignments}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-list-parsing}{}\doxysubsection{\texorpdfstring{\%broken-\/list-\/parsing}{\%broken-list-parsing}}\label{parse_directives_broken-list-parsing}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/list-\/parsing}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pbroken-\/list-\/parsing}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga0d64d3a06cb049d7a50bdeaefb236245}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+LIST\+\_\+\+PARSING}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Use old pre-\/0.\+8.\+12 broken list parsing where certain lists without parentheses would be rewritten to make top-\/level statements like {\ttfamily list l = 1, 2, 3;} valid.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-list-parsing}{\%correct-\/list-\/parsing}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-logic-precedence}{}\doxysubsection{\texorpdfstring{\%broken-\/logic-\/precedence}{\%broken-logic-precedence}}\label{parse_directives_broken-logic-precedence}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/logic-\/precedence}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pbroken-\/logic-\/precedence}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga83f83114a31c6c0367370557650f4ae2}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+LOGIC\+\_\+\+PRECEDENCE}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Use old pre-\/0.\+8.\+12 precedence where the \doxysectlink{operators_logical_and_operator}{\&\&}{2} had the same precedence as \doxysectlink{operators_logical_or_operator}{\texorpdfstring{$\vert$}{|}\texorpdfstring{$\vert$}{|}}{2} and all three bitwise operators ( \doxysectlink{operators_bitwise_and_operator}{\&}{2}, \doxysectlink{operators_bitwise_or_operator}{\texorpdfstring{$\vert$}{|}}{2}, \doxysectlink{operators_bitwise_xor_operator}{\texorpdfstring{$^\wedge$}{\string^}}{2}) shared the same precedence.
\end{DoxyParagraph}
An example of impact of \doxysectlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}{1} directive\+:


\begin{DoxyItemize}
\item with \doxysectlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}{1}\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__boolean__constants_ga3ba2df91713a6249449347131ea526c3}{True}}\ \(\backslash\)|\(\backslash\)|\ \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}}\ \&\&\ \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}}\ =\ \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}}}
\DoxyCodeLine{1\ \(\backslash\)|\ 2\ \string^\ 3\ \&\ 5\ =\ 0}

\end{DoxyCode}

\item without \doxysectlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}{1} (or with \doxysectlink{parse_directives_correct-logic-precedence}{\%correct-\/logic-\/precedence}{1})\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__boolean__constants_ga3ba2df91713a6249449347131ea526c3}{True}}\ \(\backslash\)|\(\backslash\)|\ \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}}\ \&\&\ \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}}\ =\ \mbox{\hyperlink{group__boolean__constants_ga3ba2df91713a6249449347131ea526c3}{True}}}
\DoxyCodeLine{1\ \(\backslash\)|\ 2\ \string^\ 3\ \&\ 5\ =\ 3}

\end{DoxyCode}

\end{DoxyItemize}

\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-logic-precedence}{\%correct-\/logic-\/precedence}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-loop-statement}{}\doxysubsection{\texorpdfstring{\%broken-\/loop-\/statement}{\%broken-loop-statement}}\label{parse_directives_broken-loop-statement}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/loop-\/statement}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/broken-\/loop-\/statement}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga80bef77e62dead678bbb426794f5f337}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+LOOP\+\_\+\+STATEMENT}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Use old pre-\/0.\+8.\+13 handling of break/continue\+: continue statements in a switch behave like a break statement, both \doxysectlink{statements_break}{break}{1} and \doxysectlink{statements_continue}{continue}{1} behave like \doxysectlink{statements_return}{return}{1} when used outside of a loop.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-operators}{}\doxysubsection{\texorpdfstring{\%broken-\/operators}{\%broken-operators}}\label{parse_directives_broken-operators}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/operators}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pbroken-\/operators}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga6647f2e40ae673ba85d42f9df6199472}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+OPERATORS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Accept spaces in the following multi-\/character operators for backwards compatibility with Qore before 0.\+8.\+12\+:
\begin{DoxyItemize}
\item \doxysectlink{operators_logical_less_than_or_equals_operator}{\texorpdfstring{$<$}{<}=}{2}
\item \doxysectlink{operators_logical_greater_than_or_equals_operator}{\texorpdfstring{$>$}{>}=}{2}
\item \doxysectlink{operators_logical_comparison_operator}{\texorpdfstring{$<$}{<}=\texorpdfstring{$>$}{>}}{2}
\item \doxysectlink{operators_logical_absolute_equality_operator}{===}{2}
\item \doxysectlink{operators_logical_absolute_inequality_operator}{!==}{2}
\item \doxysectlink{operators_logical_and_operator}{\&\&}{2}
\item \doxysectlink{operators_logical_or_operator}{\texorpdfstring{$\vert$}{|}\texorpdfstring{$\vert$}{|}}{2}
\item \doxysectlink{operators_plus_equals_operator}{+=}{2}
\item \doxysectlink{operators_minus_equals_operator}{-\/=}{2}
\item \doxysectlink{operators_and_equals_operator}{\&=}{2}
\item \doxysectlink{operators_or_equals_operator}{\texorpdfstring{$\vert$}{|}=}{2}
\item \doxysectlink{operators_modulo_equals_operator}{\%=}{2}
\item \doxysectlink{operators_multiply_equals_operator}{\texorpdfstring{$\ast$}{*}=}{2}
\item \doxysectlink{operators_divide_equals_operator}{/=}{2}
\item \doxysectlink{operators_xor_equals_operator}{\texorpdfstring{$^\wedge$}{\string^}=}{2}
\item \doxysectlink{operators_shift_left_equals_operator}{\texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<}=}{2}
\item \doxysectlink{operators_shift_right_equals_operator}{\texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>}=}{2}
\item \doxysectlink{operators_logical_inequality_operator}{!=}{2}
\item \doxysectlink{operators_shift_right_operator}{\texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>}}{2}
\item \doxysectlink{operators_shift_left_operator}{\texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<}}{2}
\end{DoxyItemize}For example, when this parse directive is not set, the following is a bug\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{int\ i\ =\ 1;}
\DoxyCodeLine{i+\ =4;}

\end{DoxyCode}
 When this parse directive is set; the above code is accepted.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-operators}{\%correct-\/operators}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-range}{}\doxysubsection{\texorpdfstring{\%broken-\/range}{\%broken-range}}\label{parse_directives_broken-range}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/range}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/pbroken-\/range}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga2366150e3caff6cacf79d83d77cee113}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+RANGE}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Include the upper limit in \doxylink{group__list__functions_ga0bf214ec2c777032a6078bd979637e69}{range()} and \doxylink{group__range__functions_gad5b4d3ad3f6c36d2e714bc6ed757a507}{xrange()} as with Qore before 0.\+9.\+5
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-range}{\%correct-\/range}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9.\+5
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-references}{}\doxysubsection{\texorpdfstring{\%broken-\/references}{\%broken-references}}\label{parse_directives_broken-references}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/references}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/pbroken-\/references}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga889aa80f8ab33266c165478b5fe3c279}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+REFERENCES}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Do not enforce \doxysectlink{data_type_declarations_reference_type}{reference}{1} and \doxysectlink{data_type_declarations_reference_or_nothing_type}{\texorpdfstring{$\ast$}{*}reference}{1} type restrictions as with pre-\/0.\+8.\+13; when this option is in effect, the \doxysectlink{data_type_declarations_reference_type}{reference}{1} and \doxysectlink{data_type_declarations_reference_or_nothing_type}{\texorpdfstring{$\ast$}{*}reference}{1} type restrictions are ignored and have no type restrictions.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+3
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-sprintf}{}\doxysubsection{\texorpdfstring{\%broken-\/sprintf}{\%broken-sprintf}}\label{parse_directives_broken-sprintf}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/sprintf}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/pbroken-\/sprintf}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga46fa5284de5681ab4c8e8cb842f35fff}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+SPRINTF}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Use pre-\/0.\+9 sprintf format handling where no argument is handled differently than \doxysectlink{basic_data_types_nothing}{NOTHING}{1}
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-sprintf}{\%correct-\/sprintf}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_broken-varargs}{}\doxysubsection{\texorpdfstring{\%broken-\/varargs}{\%broken-varargs}}\label{parse_directives_broken-varargs}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%broken-\/varargs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/pbroken-\/varargs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gab411cf5b5da7fcf026064adf5e082b4e}{Qore\+::\+PO\+\_\+\+BROKEN\+\_\+\+VARARGS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Use pre-\/1.\+17 varargs handling where varargs are detected based on the function or method body, and the vararg flag is set by default on all \doxysectlink{qore_classes_abstract}{abstract}{2} methods.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_correct-varargs}{\%correct-\/varargs}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 1.\+17
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-cast}{}\doxysubsection{\texorpdfstring{\%correct-\/cast}{\%correct-cast}}\label{parse_directives_correct-cast}
\begin{DoxyParagraph}{Parse Directive\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-cast}{\%broken-\/cast}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-cast}{\%broken-\/cast}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9.\+4
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-int-assignments}{}\doxysubsection{\texorpdfstring{\%correct-\/int-\/assignments}{\%correct-int-assignments}}\label{parse_directives_correct-int-assignments}
\begin{DoxyParagraph}{Parse Directive\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-int-assignments}{\%broken-\/int-\/assignments}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-int-assignments}{\%broken-\/int-\/assignments}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12.\+10
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-list-parsing}{}\doxysubsection{\texorpdfstring{\%correct-\/list-\/parsing}{\%correct-list-parsing}}\label{parse_directives_correct-list-parsing}
\begin{DoxyParagraph}{Parse Directive\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-list-parsing}{\%broken-\/list-\/parsing}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-list-parsing}{\%broken-\/list-\/parsing}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12.\+10
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-logic-precedence}{}\doxysubsection{\texorpdfstring{\%correct-\/logic-\/precedence}{\%correct-logic-precedence}}\label{parse_directives_correct-logic-precedence}
\begin{DoxyParagraph}{Parse Directive\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12.\+10
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-loop-statement}{}\doxysubsection{\texorpdfstring{\%correct-\/loop-\/statement}{\%correct-loop-statement}}\label{parse_directives_correct-loop-statement}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%correct-\/loop-\/statement}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-loop-statement}{\%broken-\/loop-\/statement}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-loop-statement}{\%broken-\/loop-\/statement}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-operators}{}\doxysubsection{\texorpdfstring{\%correct-\/operators}{\%correct-operators}}\label{parse_directives_correct-operators}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%correct-\/operators}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-operators}{\%broken-\/operators}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-operators}{\%broken-\/operators}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12.\+10
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-range}{}\doxysubsection{\texorpdfstring{\%correct-\/range}{\%correct-range}}\label{parse_directives_correct-range}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%correct-\/range}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-range}{\%broken-\/range}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-range}{\%broken-\/range}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9.\+5
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-references}{}\doxysubsection{\texorpdfstring{\%correct-\/references}{\%correct-references}}\label{parse_directives_correct-references}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%correct-\/references}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-references}{\%broken-\/references}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-references}{\%broken-\/references}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-sprintf}{}\doxysubsection{\texorpdfstring{\%correct-\/sprintf}{\%correct-sprintf}}\label{parse_directives_correct-sprintf}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%correct-\/sprintf}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-sprintf}{\%broken-\/sprintf}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-sprintf}{\%broken-\/sprintf}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_correct-varargs}{}\doxysubsection{\texorpdfstring{\%correct-\/varargs}{\%correct-varargs}}\label{parse_directives_correct-varargs}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%correct-\/varargs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_broken-varargs}{\%broken-\/varargs}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_broken-varargs}{\%broken-\/varargs}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 1.\+17
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_define}{}\doxysubsection{\texorpdfstring{\%define}{\%define}}\label{parse_directives_define}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%define}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/define, -\/D}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Creates and optionally sets a value for a \doxylink{conditional_parsing}{parse define}
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+3
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_disable-all-warnings}{}\doxysubsection{\texorpdfstring{\%disable-\/all-\/warnings}{\%disable-all-warnings}}\label{parse_directives_disable-all-warnings}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%disable-\/all-\/warnings}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a, warnings are disabled by default
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disables all warnings while parsing. See \doxylink{warnings}{Warnings} for more information.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_disable-warning}{}\doxysubsection{\texorpdfstring{\%disable-\/warning}{\%disable-warning}}\label{parse_directives_disable-warning}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%disable-\/warning}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a, warnings are disabled by default
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disables the named warning while parsing. See \doxylink{warnings}{Warnings} for more information.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_else}{}\doxysubsection{\texorpdfstring{\%else}{\%else}}\label{parse_directives_else}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%else}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Allows for parsing an alternate block when used with the \doxysectlink{parse_directives_ifdef}{\%ifdef}{1} or \doxysectlink{parse_directives_ifndef}{\%ifndef}{1} parse directives (for \doxylink{conditional_parsing}{conditional parsing} based on parse defines)
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+3
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_enable-all-warnings}{}\doxysubsection{\texorpdfstring{\%enable-\/all-\/warnings}{\%enable-all-warnings}}\label{parse_directives_enable-all-warnings}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%enable-\/all-\/warnings}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/enable-\/all-\/warnings, -\/W}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Enables all warnings while parsing. See \doxylink{warnings}{Warnings} for more information.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_enable-warning}{}\doxysubsection{\texorpdfstring{\%enable-\/warning}{\%enable-warning}}\label{parse_directives_enable-warning}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%enable-\/warning}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/enable-\/warning, -\/w}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Enables the named warning while parsing. See \doxylink{warnings}{Warnings} for more information.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_endif}{}\doxysubsection{\texorpdfstring{\%endif}{\%endif}}\label{parse_directives_endif}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%endif}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Closes a conditionally-\/parsed block started by the \doxysectlink{parse_directives_ifdef}{\%ifdef}{1} or \doxysectlink{parse_directives_ifndef}{\%ifndef}{1} parse directives (for \doxylink{conditional_parsing}{conditional parsing} based on parse defines)
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+3
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_endtry}{}\doxysubsection{\texorpdfstring{\%endtry}{\%endtry}}\label{parse_directives_endtry}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%endtry}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Closes a \doxysectlink{parse_directives_try-module}{\%try-\/module}{1} or \doxysectlink{parse_directives_try-reexport-module}{\%try-\/reexport-\/module}{1} block
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_exec-class}{}\doxysubsection{\texorpdfstring{\%exec-\/class}{\%exec-class}}\label{parse_directives_exec-class}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%exec-\/class}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/exec-\/class, -\/x}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Executes the named class as the application class and turns on \doxysectlink{parse_directives_no-top-level}{\%no-\/top-\/level}{1} as well. Any top level statements before this directive are silently ignored.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxylink{group__misc__functions_ga51444e624e7ba2b2ecfb45dd49e6db42}{Qore\+::set\+\_\+return\+\_\+value()}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_ifdef}{}\doxysubsection{\texorpdfstring{\%ifdef}{\%ifdef}}\label{parse_directives_ifdef}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%ifdef}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Opens a conditionally-\/parsed block; if the given \doxylink{conditional_parsing}{parse define} is defined, then the block after the {\ttfamily \%ifdef} is parsed until either an \doxysectlink{parse_directives_else}{\%else}{1} or an \doxysectlink{parse_directives_endif}{\%endif}{1}
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+3
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_ifndef}{}\doxysubsection{\texorpdfstring{\%ifndef}{\%ifndef}}\label{parse_directives_ifndef}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%ifndef}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Opens a conditionally-\/parsed block; if the given \doxylink{conditional_parsing}{parse define} is not defined, then the block after the {\ttfamily \%ifndef} is parsed until either an \doxysectlink{parse_directives_else}{\%else}{1} or an \doxysectlink{parse_directives_endif}{\%endif}{1}
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+3
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_include}{}\doxysubsection{\texorpdfstring{\%include}{\%include}}\label{parse_directives_include}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%include}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Includes a file to be parsed. If the path is not absolute (i.\+e. starting with {\ttfamily "{}/"{}}), then files are searched first in the directory of the currently-\/executing script (if known), then in each path in the environment variable {\ttfamily QORE\+\_\+\+INCLUDE\+\_\+\+DIR}.~\newline
 If the first character of the include target is {\ttfamily \textquotesingle{}\$\textquotesingle{}}, then environment variable substitution is performed on the leading environment variable
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+9 added environment variable substitution
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_lockdown}{}\doxysubsection{\texorpdfstring{\%lockdown}{\%lockdown}}\label{parse_directives_lockdown}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%lockdown}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/lockdown}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga32ca9503dd181920af97c058d9bd1164}{Qore\+::\+PO\+\_\+\+LOCKDOWN}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
The most restrictive parse restriction, making any external access, threading, i/o, etc illegal. Made up of \doxysectlink{parse_directives_no-external-access}{\%no-\/external-\/access}{1}, \doxysectlink{parse_directives_no-threads}{\%no-\/threads}{1}, and \doxysectlink{parse_directives_no-io}{\%no-\/io}{1}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_lock-options}{}\doxysubsection{\texorpdfstring{\%lock-\/options}{\%lock-options}}\label{parse_directives_lock-options}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%lock-\/options}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/lock-\/options, -\/K}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Prohibits further changes to parse options.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_lock-warnings}{}\doxysubsection{\texorpdfstring{\%lock-\/warnings}{\%lock-warnings}}\label{parse_directives_lock-warnings}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%lock-\/warnings}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/lock-\/warnings, -\/A}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga1d039ccd02b93ddb1d5c8a7c1470167b}{Qore\+::\+PO\+\_\+\+LOCK\+\_\+\+WARNINGS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Prohibits further changes to the warning mask.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_loose-args}{}\doxysubsection{\texorpdfstring{\%loose-\/args}{\%loose-args}}\label{parse_directives_loose-args}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%loose-\/args}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_strict-args}{\%strict-\/args}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_loose-args}{\%loose-\/args}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_loose-types}{}\doxysubsection{\texorpdfstring{\%loose-\/types}{\%loose-types}}\label{parse_directives_loose-types}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%loose-\/types}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Reverts the effect of the \doxysectlink{parse_directives_strict-types}{\%strict-\/types}{1} parse option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
strict-\/types "{}\%strict-\/types"{}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9.\+4
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_new-style}{}\doxysubsection{\texorpdfstring{\%new-\/style}{\%new-style}}\label{parse_directives_new-style}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%new-\/style}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/new-\/style, -\/n}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga2d794c7a304d97cae92a819b1aa21e15}{Qore\+::\+PO\+\_\+\+NEW\+\_\+\+STYLE}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Sets both \doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs}{1} and \doxysectlink{parse_directives_assume-local}{\%assume-\/local}{1}. These two options together make programming in Qore superficially more like programming in C++ or Java programs; use this if you dislike programming with the {\ttfamily "{}\$"{}} sign, for example.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_old-style}{\%old-\/style}{1}
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item Qore is moving toward establishing \doxysectlink{parse_directives_new-style}{\%new-\/style}{1} as the default syntax; all examples given in the Qore documentation are given assuming \doxysectlink{parse_directives_new-style}{\%new-\/style}{1}.
\item when using this option (or \doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs) the lack of {\ttfamily } \$}{1} characters in variable names makes it necessary to declare local variables before using them
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+1
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_old-style}{}\doxysubsection{\texorpdfstring{\%old-\/style}{\%old-style}}\label{parse_directives_old-style}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%old-\/style}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Resets default Qore parsing behavior by setting \doxysectlink{parse_directives_require-dollar}{\%require-\/dollar}{1} and \doxysectlink{parse_directives_assume-global}{\%assume-\/global}{1}; this option has the opposite effect of \doxysectlink{parse_directives_new-style}{\%new-\/style}{1}
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_new-style}{\%new-\/style}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+4
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-debugging}{}\doxysubsection{\texorpdfstring{\%no-\/debugging}{\%no-debugging}}\label{parse_directives_no-debugging}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/debugging}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga36ecb26e0659608fc8d35bf9c9a3b5b2}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+DEBUGGING}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Forbids debugging of the current \doxylink{class_qore_1_1_program}{Program} object; when this parse option is set, debuggers cannot attach to the \doxylink{class_qore_1_1_program}{Program} object.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-child-restrictions}{}\doxysubsection{\texorpdfstring{\%no-\/child-\/restrictions}{\%no-child-restrictions}}\label{parse_directives_no-child-restrictions}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/child-\/restrictions}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/child-\/restrictions, -\/I}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaa567ec1170360b9ca111402c5179109f}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+CHILD\+\_\+\+PO\+\_\+\+RESTRICTIONS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Allows child program objects to have parse option restrictions that are not a strict subset of the parents\textquotesingle{}.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-class-defs}{}\doxysubsection{\texorpdfstring{\%no-\/class-\/defs}{\%no-class-defs}}\label{parse_directives_no-class-defs}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/class-\/defs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/class-\/defs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga969ab84c1a550482cbc6d24e878172e9}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+CLASS\+\_\+\+DEFS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows new class definitions. Any use of the reserved word {\ttfamily class} will result in a parse exception.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-constant-defs}{}\doxysubsection{\texorpdfstring{\%no-\/constant-\/defs}{\%no-constant-defs}}\label{parse_directives_no-constant-defs}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/constant-\/defs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/constant-\/defs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga50a8caec03edae3600565a456c1f9c7e}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+CONSTANT\+\_\+\+DEFS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows new constant definitions. Any use of the reserved word {\ttfamily const} will result in a parse exception.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-database}{}\doxysubsection{\texorpdfstring{\%no-\/database}{\%no-database}}\label{parse_directives_no-database}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/database}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/database}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gac496a9d9bcf9d5c626c8c267c73a83bc}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+DATABASE}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to database functionality. Currently this means that access to the following classes is restricted\+:
\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_s_q_l_1_1_datasource}{Qore\+::\+SQL\+::\+Datasource}
\item \doxylink{class_qore_1_1_s_q_l_1_1_datasource_pool}{Qore\+::\+SQL\+::\+Datasource\+Pool}
\item \doxylink{class_qore_1_1_s_q_l_1_1_s_q_l_statement}{Qore\+::\+SQL\+::\+SQLStatement}
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-external-access}{}\doxysubsection{\texorpdfstring{\%no-\/external-\/access}{\%no-external-access}}\label{parse_directives_no-external-access}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/external-\/access}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/external-\/access}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga10aefe54a313d86a87fedc46820ffb02}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+EXTERNAL\+\_\+\+ACCESS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
This option is made up of \doxysectlink{parse_directives_no-process-control}{\%no-\/process-\/control}{1}, \doxysectlink{parse_directives_no-network}{\%no-\/network}{1}, \doxysectlink{parse_directives_no-filesystem}{\%no-\/filesystem}{1}, \doxysectlink{parse_directives_no-database}{\%no-\/database}{1}, \doxysectlink{parse_directives_no-external-info}{\%no-\/external-\/info}{1}, \doxysectlink{parse_directives_no-modules}{\%no-\/modules}{1}, and \doxysectlink{parse_directives_no-uncontrolled-apis}{\%no-\/uncontrolled-\/apis}{1}
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_lockdown}{\%lockdown}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-external-info}{}\doxysubsection{\texorpdfstring{\%no-\/external-\/info}{\%no-external-info}}\label{parse_directives_no-external-info}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/external-\/info}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/external-\/info}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga213aab826b55076c29ffeecebbaea237}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+EXTERNAL\+\_\+\+INFO}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows any access to functionality that provides external information. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item getaddrinfo()
\item getegid()
\item getenv()
\item geteuid()
\item getgid()
\item getgrgid()
\item getgrgid2()
\item getgrnam()
\item getgrnam2()
\item getgroups()
\item gethostbyaddr()
\item gethostbyaddr\+\_\+long()
\item gethostbyname()
\item gethostbyname\+\_\+long()
\item gethostname()
\item getpid()
\item getppid()
\item getpwnam()
\item getpwnam2()
\item getpwuid()
\item getpwuid2()
\item getuid()
\item unsetenv()
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-external-process}{}\doxysubsection{\texorpdfstring{\%no-\/external-\/process}{\%no-external-process}}\label{parse_directives_no-external-process}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/external-\/process}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/external-\/process, -\/E}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaab2d8faa88f066837e100152187e6368}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+EXTERNAL\+\_\+\+PROCESS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows any access to external processes. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item \doxysectlink{operators_backquote_operator}{backquote operator}{2}
\item system()
\item kill()
\item exec()
\item backquote()
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-filesystem}{}\doxysubsection{\texorpdfstring{\%no-\/filesystem}{\%no-filesystem}}\label{parse_directives_no-filesystem}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/filesystem}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/filesystem, -\/F}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga5e466ed886222f0b57b0a399b455be71}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+FILESYSTEM}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows any access to the external filesystem. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_dir}{Qore\+::\+Dir}
\item \doxylink{class_qore_1_1_file}{Qore\+::\+File}
\item \doxylink{class_qore_1_1_read_only_file_a2b383f3c0d576ca17ec907f2e6cda43d}{Qore\+::\+File\+::hstat(string)}
\item \doxylink{class_qore_1_1_read_only_file_acc4469d7f06423f58d9bf4bee20765b4}{Qore\+::\+File\+::hlstat(string)}
\item \doxylink{class_qore_1_1_read_only_file_aebe2680d90eac6f78773106cac9e3aff}{Qore\+::\+File\+::lstat(string)}
\item \doxylink{class_qore_1_1_read_only_file_a770673d2a8a03471ae184e45d41b8264}{Qore\+::\+File\+::stat(string)}
\item \doxylink{class_qore_1_1_read_only_file_aebe7a731a705ffc50c869873d13fc650}{Qore\+::\+File\+::statvfs(string)}
\item \doxylink{class_qore_1_1_ftp_client_a2b06a66db173df6bac61b1af48c7a11c}{Qore\+::\+Ftp\+Client\+::get()}
\item \doxylink{class_qore_1_1_ftp_client_a835c52e32ee089773d48574f297e7965}{Qore\+::\+Ftp\+Client\+::put()}
\item chdir()
\item chmod()
\item chown()
\item getcwd()
\item getcwd2()
\item glob()
\item hlstat()
\item hstat()
\item is\+\_\+bdev()
\item is\+\_\+cdev()
\item is\+\_\+dev()
\item is\+\_\+dir()
\item is\+\_\+executable()
\item is\+\_\+file()
\item is\+\_\+link()
\item is\+\_\+pipe()
\item is\+\_\+readable()
\item is\+\_\+socket()
\item is\+\_\+writable()
\item is\+\_\+writeable()
\item lchown()
\item lstat()
\item mkdir()
\item mkfifo()
\item readlink()
\item rename()
\item rmdir()
\item stat()
\item statvfs()
\item unlink()
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-global-vars}{}\doxysubsection{\texorpdfstring{\%no-\/global-\/vars}{\%no-global-vars}}\label{parse_directives_no-global-vars}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/global-\/vars}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/global-\/vars, -\/G}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga00fcb14e17ebe9073cc0b768c276cf64}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+GLOBAL\+\_\+\+VARS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows the use of global variables.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-gui}{}\doxysubsection{\texorpdfstring{\%no-\/gui}{\%no-gui}}\label{parse_directives_no-gui}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/gui}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/gui, --set-\/parse-\/option=no-\/gui, -\/pno-\/gui}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga005117c783de66a8635beead079f52bd}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+GUI}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows the use of functionality that draws graphics to the display (this functionality is not implemented in the qore library; only implemented in modules).
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-io}{}\doxysubsection{\texorpdfstring{\%no-\/io}{\%no-io}}\label{parse_directives_no-io}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/io}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/io, --set-\/parse-\/option=no-\/io, -\/pno-\/io}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gabcd4198285f25da13a5883006f06a2b7}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+IO}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Made up of \doxysectlink{parse_directives_no-gui}{\%no-\/gui}{1} \texorpdfstring{$\vert$}{|} \doxysectlink{parse_directives_no-terminal-io}{\%no-\/terminal-\/io}{1} \texorpdfstring{$\vert$}{|} \doxysectlink{parse_directives_no-filesystem}{\%no-\/filesystem}{1} \texorpdfstring{$\vert$}{|} \doxysectlink{parse_directives_no-network}{\%no-\/network}{1} \texorpdfstring{$\vert$}{|} \doxysectlink{parse_directives_no-database}{\%no-\/database}{1} \texorpdfstring{$\vert$}{|} \doxysectlink{parse_directives_no-uncontrolled-apis}{\%no-\/uncontrolled-\/apis}{1}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-locale-control}{}\doxysubsection{\texorpdfstring{\%no-\/locale-\/control}{\%no-locale-control}}\label{parse_directives_no-locale-control}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/locale-\/control}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/locale-\/control, -\/P}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga99046cc8285fb26438508cdf29b5771e}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+LOCALE\+\_\+\+CONTROL}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to functions that would affect the locale settings of the current program. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_time_zone_a7e12da4b71bf101c397f06123474403f}{Qore\+::\+Time\+Zone\+::set()}
\item \doxylink{class_qore_1_1_time_zone_ad9b04e2df42c21fd1d67ad7b2a1e7f3f}{Qore\+::\+Time\+Zone\+::set\+UTCOffset()}
\item \doxylink{class_qore_1_1_time_zone_a48adb2099dca02f0484925935e044220}{Qore\+::\+Time\+Zone\+::set\+Region()}
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-modules}{}\doxysubsection{\texorpdfstring{\%no-\/modules}{\%no-modules}}\label{parse_directives_no-modules}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/modules}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pno-\/modules}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaccf9af08f7acb25e66b777dcb4c4563b}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+MODULES}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows loading \doxylink{qore_modules}{modules} with the \doxysectlink{parse_directives_requires}{\%requires}{1}, \doxysectlink{parse_directives_try-module}{\%try-\/module}{1}, or \doxysectlink{parse_directives_try-reexport-module}{\%try-\/reexport-\/module}{1} directives or at runtime with load\+\_\+module()
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+4
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-namespace-defs}{}\doxysubsection{\texorpdfstring{\%no-\/namespace-\/defs}{\%no-namespace-defs}}\label{parse_directives_no-namespace-defs}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/namespace-\/defs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/namespace-\/defs, -\/M}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaa5aaa3b96f4662b3c49bed1d1ab8ec88}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+NAMESPACE\+\_\+\+DEFS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows new \doxylink{qore_namespaces}{namespace definitions}.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-network}{}\doxysubsection{\texorpdfstring{\%no-\/network}{\%no-network}}\label{parse_directives_no-network}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/network}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/network, -\/Y}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga20400e83c6271a294a48b15a8f952efa}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+NETWORK}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows any access to the network. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_ftp_client}{Qore\+::\+Ftp\+Client}
\item \doxylink{class_qore_1_1_h_t_t_p_client}{Qore\+::\+HTTPClient}
\item \doxylink{class_qore_1_1_socket}{Qore\+::\+Socket}
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-new}{}\doxysubsection{\texorpdfstring{\%no-\/new}{\%no-new}}\label{parse_directives_no-new}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/new}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/new, -\/N}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga9736251c76726706da64426d899b4033}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+NEW}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows use of the \doxysectlink{operators_new}{new operator}{2}.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-process-control}{}\doxysubsection{\texorpdfstring{\%no-\/process-\/control}{\%no-process-control}}\label{parse_directives_no-process-control}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/process-\/control}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/process-\/control, -\/P}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga10d8e3f76c427b0f974529de572dd0ec}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+PROCESS\+\_\+\+CONTROL}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to functions that would affect the current process. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item abort()
\item chdir()
\item exit()
\item fork()
\item get\+\_\+module\+\_\+option()
\item load\+\_\+module()
\item remove\+\_\+signal\+\_\+handler()
\item setegid()
\item setenv()
\item seteuid()
\item setgid()
\item setgroups()
\item setsid()
\item set\+\_\+module\+\_\+option()
\item set\+\_\+signal\+\_\+handler()
\item setuid()
\item sleep()
\item srand()
\item thread\+\_\+yield()
\item umask()
\item unsetenv()
\item usleep()
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-reflection}{}\doxysubsection{\texorpdfstring{\%no-\/reflection}{\%no-reflection}}\label{parse_directives_no-reflection}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/reflection}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/pno-\/reflection}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga454fabf3a392b8fec9ee587e97a2d8e8}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+REFLECTION}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to the reflection API provided by the \href{../../modules/reflection/html/index.html}{\texttt{ reflection}} module.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+9
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-subroutine-defs}{}\doxysubsection{\texorpdfstring{\%no-\/subroutine-\/defs}{\%no-subroutine-defs}}\label{parse_directives_no-subroutine-defs}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/subroutine-\/defs}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/subroutine-\/defs, -\/S}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga750cc2b2d325184242990c6ab60ea736}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+SUBROUTINE\+\_\+\+DEFS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows subroutine (function) definitions.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-terminal-io}{}\doxysubsection{\texorpdfstring{\%no-\/terminal-\/io}{\%no-terminal-io}}\label{parse_directives_no-terminal-io}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/terminal-\/io}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/terminal-\/io,-\/}{\ttfamily -\/set-\/parse-\/option=no-\/terminal-\/io, -\/pno-\/terminal-\/io}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaa92bf6eafb76a4ccf1a0d0df45b13363}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+TERMINAL\+\_\+\+IO}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to terminal input and output. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_term_i_o_s}{Qore\+::\+Term\+IOS}
\item \doxylink{class_qore_1_1_term_i_o_s_a5374031d9a2784ca2653a36088f0a0c8}{Qore\+::\+Term\+IOS\+::get\+Window\+Size()}
\item \doxylink{group__io__constants_ga0cfa7aea34f3c921036623600e42b21f}{Qore\+::stdin}
\item \doxylink{group__io__constants_ga44ab38fe66ed7aa87731a2de976017c6}{Qore\+::stdout}
\item \doxylink{group__io__constants_ga697e4968984d273562f14bfed155b4a8}{Qore\+::stderr}
\item f\+\_\+printf()
\item f\+\_\+vprintf()
\item flush()
\item print()
\item printf()
\item vprintf()
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-thread-classes}{}\doxysubsection{\texorpdfstring{\%no-\/thread-\/classes}{\%no-thread-classes}}\label{parse_directives_no-thread-classes}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/thread-\/classes}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/thread-\/classes}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gade963e1fbbd1f5b2c777df7221512a1b}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREAD\+\_\+\+CLASSES}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to thread classes. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item \doxylink{class_qore_1_1_thread_1_1_abstract_smart_lock}{Qore\+::\+Thread\+::\+Abstract\+Smart\+Lock} class
\item \doxylink{class_qore_1_1_thread_1_1_auto_gate}{Qore\+::\+Thread\+::\+Auto\+Gate} class
\item \doxylink{class_qore_1_1_thread_1_1_auto_lock}{Qore\+::\+Thread\+::\+Auto\+Lock} class
\item \doxylink{class_qore_1_1_thread_1_1_auto_read_lock}{Qore\+::\+Thread\+::\+Auto\+Read\+Lock} class
\item \doxylink{class_qore_1_1_thread_1_1_auto_write_lock}{Qore\+::\+Thread\+::\+Auto\+Write\+Lock} class
\item \doxylink{class_qore_1_1_thread_1_1_condition}{Qore\+::\+Thread\+::\+Condition} class
\item \doxylink{class_qore_1_1_thread_1_1_counter}{Qore\+::\+Thread\+::\+Counter} class
\item \doxylink{class_qore_1_1_thread_1_1_gate}{Qore\+::\+Thread\+::\+Gate} class
\item \doxylink{class_qore_1_1_thread_1_1_mutex}{Qore\+::\+Thread\+::\+Mutex} class
\item \doxylink{class_qore_1_1_thread_1_1_queue}{Qore\+::\+Thread\+::\+Queue} class
\item \doxylink{class_qore_1_1_thread_1_1_r_w_lock}{Qore\+::\+Thread\+::\+RWLock} class
\item \doxylink{class_qore_1_1_thread_1_1_thread_pool}{Qore\+::\+Thread\+::\+Thread\+Pool} class
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-thread-control}{}\doxysubsection{\texorpdfstring{\%no-\/thread-\/control}{\%no-thread-control}}\label{parse_directives_no-thread-control}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/thread-\/control}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/thread-\/control, -\/R}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga16d8c2b85171b6673b60b5f7d0eaf5eb}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREAD\+\_\+\+CONTROL}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to thread control operations. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item \doxysectlink{operators_background}{background operator}{2}
\item \doxysectlink{statements_thread_exit}{thread\+\_\+exit statement}{1}
\item delete\+\_\+all\+\_\+thread\+\_\+data()
\item delete\+\_\+thread\+\_\+data()
\item get\+\_\+all\+\_\+thread\+\_\+data()
\item get\+\_\+thread\+\_\+data()
\item mark\+\_\+thread\+\_\+resources()
\item remove\+\_\+thread\+\_\+data()
\item remove\+\_\+thread\+\_\+resource()
\item save\+\_\+thread\+\_\+data()
\item set\+\_\+default\+\_\+thread\+\_\+stack\+\_\+size()
\item set\+\_\+thread\+\_\+name()
\item set\+\_\+thread\+\_\+resource()
\item throw\+\_\+thread\+\_\+resource\+\_\+exceptions()
\item throw\+\_\+thread\+\_\+resource\+\_\+exceptions\+\_\+to\+\_\+mark() The following deprecated functions are also unavailable\+:
\item throw\+Thread\+Resource\+Exceptions()
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-thread-info}{}\doxysubsection{\texorpdfstring{\%no-\/thread-\/info}{\%no-thread-info}}\label{parse_directives_no-thread-info}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/thread-\/info}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/thread-\/info}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gac379d98e62c57231c2efb7ea87c75a3a}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREAD\+\_\+\+INFO}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to functionality that provides information about threading. The following features are unavailable with this option\+:
\begin{DoxyItemize}
\item get\+\_\+all\+\_\+thread\+\_\+call\+\_\+stacks()
\item get\+\_\+all\+\_\+thread\+\_\+data()
\item get\+\_\+default\+\_\+thread\+\_\+stack\+\_\+size()
\item get\+\_\+stack\+\_\+size()
\item get\+\_\+thread\+\_\+call\+\_\+stack()
\item get\+\_\+thread\+\_\+data()
\item get\+\_\+thread\+\_\+name()
\item gettid()
\item num\+\_\+threads()
\item thread\+\_\+list() The following deprecated functions are also unavailable\+:
\item get\+All\+Thread\+Call\+Stacks()
\end{DoxyItemize}
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-threads}{}\doxysubsection{\texorpdfstring{\%no-\/threads}{\%no-threads}}\label{parse_directives_no-threads}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/threads}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/threads, -\/T}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga76f3b2a173e5f06aec64ea04fc1ed515}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+THREADS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to all thread control operations and thread classes (equivalent to \doxysectlink{parse_directives_no-thread-control}{\%no-\/thread-\/control}{1} and \doxysectlink{parse_directives_no-thread-classes}{\%no-\/thread-\/classes}{1} together).
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-top-level}{}\doxysubsection{\texorpdfstring{\%no-\/top-\/level}{\%no-top-level}}\label{parse_directives_no-top-level}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/top-\/level}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/no-\/top-\/level, -\/L}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga3a99f2973e97f3986630d8204d7b91fd}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+TOP\+\_\+\+LEVEL\+\_\+\+STATEMENTS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows top level code from this point on, any top level statements before this directive are still allowed and become part of the \doxylink{class_qore_1_1_program}{Program} context.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-transient}{}\doxysubsection{\texorpdfstring{\%no-\/transient}{\%no-transient}}\label{parse_directives_no-transient}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%no-\/transient}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/pno-\/transient}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga4d9e69dc24ed1eed0ea11f4947cceca2}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+TRANSIENT}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Removes the \doxysectlink{qore_classes_transient}{Transient Members}{2} keyword for backwards-\/compatibility.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+9
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_no-uncontrolled-apis}{}\doxysubsection{\texorpdfstring{\%no-\/uncontrolled-\/apis}{\%no-uncontrolled-apis}}\label{parse_directives_no-uncontrolled-apis}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily no-\/uncontrolled-\/apis}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/p=no-\/uncontrolled-\/apis}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga88a927479c495b99209a6397ef67c240}{Qore\+::\+PO\+\_\+\+NO\+\_\+\+UNCONTROLLED\+\_\+\+APIS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows access to uncontrolled APIs such as external language bindings or direct generic system call APIs that could bypass Qore\textquotesingle{}s sandboxing controls.
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_perl-bool-eval}{}\doxysubsection{\texorpdfstring{\%perl-\/bool-\/eval}{\%perl-bool-eval}}\label{parse_directives_perl-bool-eval}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%perl-\/bool-\/eval}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Set to mimic perl\textquotesingle{}s (and Python\textquotesingle{}s) boolean evaluation; this is now the default (as of qore version 0.\+8.\+6); prior to this version, by default qore used \doxysectlink{parse_directives_strict-bool-eval}{strict mathematic boolean evaluation}{1}, where any value converted to 0 is \doxysectlink{basic_data_types_False}{False}{2} and otherwise it\textquotesingle{}s is \doxysectlink{basic_data_types_True}{True}{2}.~\newline
~\newline
 As of Qore 0.\+8.\+6+, {\ttfamily \%perl-\/bool-\/eval} is the default behavior and therefore only needs to be set if \doxysectlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}{1} was set first.~\newline
~\newline
 When this option is set, boolean evaluation follows the same rules as \doxylink{class_qore_1_1zzz8valuezzz9_a3a66486cee14aa073cf90fbed5a23edd}{Qore\+::zzz8valuezzz9\+::val()}; for example\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{string\ str\ =\ \textcolor{stringliteral}{"{}hello"{}};}
\DoxyCodeLine{\textcolor{keywordflow}{if}\ (str)}
\DoxyCodeLine{\ \ \ \ printf(\textcolor{stringliteral}{"{}string\ is:\ \%y\(\backslash\)n"{}},\ str);}

\end{DoxyCode}
 ~\newline
 With this option set (the default), the above prints out\+: \begin{DoxyVerb}string is: "hello"\end{DoxyVerb}
 When it\textquotesingle{}s not set (i.\+e. \doxysectlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}{1} is set), nothing is printed out as the string expression evaluates to \doxysectlink{basic_data_types_False}{False}{2} due to qore\textquotesingle{}s old strict mathematical boolean evaluation.~\newline
~\newline
 Basically with this option set, qore\textquotesingle{}s boolean evaluation becomes like perl\textquotesingle{}s and Python\textquotesingle{}s, whereas any expression that has the following values is \doxysectlink{basic_data_types_False}{False}{2}\+: \doxysectlink{basic_data_types_nothing}{NOTHING}{1}, \doxysectlink{basic_data_types_string}{string}{1} {\ttfamily "{}0"{}} and \doxysectlink{basic_data_types_string}{empty strings}{1}, \doxysectlink{basic_data_types_integer}{integer}{1}, \doxysectlink{basic_data_types_float}{float}{1}, and \doxysectlink{basic_data_types_number}{number}{1} {\ttfamily 0} (zero), \doxysectlink{basic_data_types_absolute_dates}{absolute date}{2} {\ttfamily 1970-\/01-\/01Z} (ie the start of the epoch with an offset of 0), \doxysectlink{basic_data_types_relative_dates}{relative date}{2} {\ttfamily PT0H} (ie any \doxysectlink{basic_data_types_relative_dates}{relative date}{2} with a 0 duration), \doxysectlink{basic_data_types_null}{NULL}{1}, \doxysectlink{basic_data_types_binary}{empty binary objects}{1}, \doxysectlink{container_data_types_hash}{empty hashes}{1}, and \doxysectlink{container_data_types_list}{empty lists}{1}. All other values are \doxysectlink{basic_data_types_True}{True}{2}.
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
also affects the \doxylink{group__type__conversion__functions_ga22c89291d4105fcb558f49fe49aeae44}{boolean(any)} function
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_push-parse-options}{}\doxysubsection{\texorpdfstring{\%push-\/parse-\/options}{\%push-parse-options}}\label{parse_directives_push-parse-options}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%push-\/parse-\/options}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Stores parse options so that they will be restored when the current file is done parsing; use in include files to ensure parse options are set appropriately for the file being parsed.~\newline
~\newline
 For example\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{\%push-\/parse-\/options}
\DoxyCodeLine{\%new-\/style}

\end{DoxyCode}

\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_require-dollar}{}\doxysubsection{\texorpdfstring{\%require-\/dollar}{\%require-dollar}}\label{parse_directives_require-dollar}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%require-\/dollar}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Resets the default Qore behavior where the use of the {\ttfamily "{}\$"{}} character in variable names, method calls, and object member references is required; use after \doxysectlink{parse_directives_allow-bare-refs}{\%allow-\/bare-\/refs}{1} to reset the default parsing behavior
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+4
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_require-our}{}\doxysubsection{\texorpdfstring{\%require-\/our}{\%require-our}}\label{parse_directives_require-our}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%require-\/our}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/require-\/our, -\/O}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga77d54a192aeae13bac95700ab5bbb190}{Qore\+::\+PO\+\_\+\+REQUIRE\+\_\+\+OUR}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Requires global variables to be declared with \doxysectlink{variables_our}{our}{2} prior to use (recommended to use for all larger scripts/programs).
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_require-prototypes}{}\doxysubsection{\texorpdfstring{\%require-\/prototypes}{\%require-prototypes}}\label{parse_directives_require-prototypes}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%require-\/prototypes}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/require-\/prototypes}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga196e048def21cb147b21a4871c4e9b29}{Qore\+::\+PO\+\_\+\+REQUIRE\+\_\+\+PROTOTYPES}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Requires type declarations for all function and method parameters and return types. Variables and object members do not need to have type declarations with this option.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_require-types}{\%require-\/types}{1}, which is a superset of this option.
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_require-types}{}\doxysubsection{\texorpdfstring{\%require-\/types}{\%require-types}}\label{parse_directives_require-types}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%require-\/types}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/require-\/types}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga66847391bb96dac88c3fee210720bbb3}{Qore\+::\+PO\+\_\+\+REQUIRE\+\_\+\+TYPES}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Requires type declarations for all function and method parameters, return types, variables, and object members. Additionally causes {\ttfamily CALL-\/\+WITH-\/\+TYPE-\/\+ERRORS} exceptions to be thrown if a function, method, or \doxysectlink{data_type_declarations_code_type}{code}{1} call is made with excess arguments not handled by the target. In case calls are made to user code over a \doxylink{class_qore_1_1_program}{Program} barrier, the parse options of the target code determine if this exception is raised;
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_require-prototypes}{\%require-\/prototypes}{1}, which is a subset of this option.
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_requires}{}\doxysubsection{\texorpdfstring{\%requires}{\%requires}}\label{parse_directives_requires}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%requires\mbox{[}(reexport)\mbox{]} {\itshape feature} \mbox{[}\texorpdfstring{$<$}{<}$|$\texorpdfstring{$<$}{<}=$|$=$|$\texorpdfstring{$>$}{>}=$|$\texorpdfstring{$>$}{>} {\itshape version}\mbox{]}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/load, -\/l}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Loads a Qore module immediately. The parse directive can be used to load a module during parsing, and the command line version can be used to load a module before parsing. If the optional {\ttfamily {\itshape (reexport)}} option is used in a \doxysectlink{qore_modules_user_modules}{user module}{1}, then any modules loaded with this form of the {\ttfamily \%requires} parse directive will also be imported into the importing \doxylink{class_qore_1_1_program}{Program}.~\newline
~\newline
 From Qore 0.\+7.\+1, you can specify a comparison operator (one of {\ttfamily \texorpdfstring{$<$}{<}, \texorpdfstring{$<$}{<}=, =, \texorpdfstring{$>$}{>}=, or \texorpdfstring{$>$}{>}}) and version information after the module name as well. Version numbers are compared via integer comparisons of each element, where elements are separated by a {\ttfamily "{}."{}}. If one of the versions does not have as many elements as another, the missing elements are assumed to be {\ttfamily "{}0"{}} (i.\+e. version {\ttfamily "{}1.\+0"{}} compared with version {\ttfamily "{}1.\+0.\+1"{}} will be extended to {\ttfamily "{}1.\+0.\+0"{}}).~\newline
~\newline
 For example\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{\%requires\ oracle\ >=\ 1.0.1}

\end{DoxyCode}
 ~\newline
 This will load the oracle module if it is at least version 1.\+0.\+1.~\newline
~\newline
 For example\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{\%requires(reexport)\ Mime}

\end{DoxyCode}
 ~\newline
 If this form is used in a \doxysectlink{qore_modules_user_modules}{user module}{1}, all public definitions from the \href{../../modules/Mime/html/index.html}{\texttt{ Mime}} module would also be loaded into any \doxylink{class_qore_1_1_program}{Program} that requires the user module.~\newline
~\newline
 Note that there is one special feature name\+: {\ttfamily "{}qore"{}}. This pseudo-\/feature can be used to check the minimum Qore version; if this feature is requested with version information, then the Qore library\textquotesingle{}s version information is used for the version number comparison.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_try-module}{\%try-\/module}{1} and \doxysectlink{parse_directives_try-reexport-module}{\%try-\/reexport-\/module}{1} for similar parse directives that allows module loading errors to be caught and handled at parse-\/time
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_set-time-zone}{}\doxysubsection{\texorpdfstring{\%set-\/time-\/zone}{\%set-time-zone}}\label{parse_directives_set-time-zone}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%set-\/time-\/zone}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/time-\/zone, -\/z}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
none; this is set by calling \doxylink{class_qore_1_1_time_zone_a48adb2099dca02f0484925935e044220}{Qore\+::\+Time\+Zone\+::set\+Region()} or \doxylink{class_qore_1_1_time_zone_ad9b04e2df42c21fd1d67ad7b2a1e7f3f}{Qore\+::\+Time\+Zone\+::set\+UTCOffset()}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Sets the time zone for the current program from a UTC offset (with format {\ttfamily "{}+/-\/00\mbox{[}\+:00\mbox{[}\+:00\mbox{]}\mbox{]}"{}}; {\ttfamily "{}\+:"{}} characters are optional) or a time zone region name (ex\+: {\ttfamily "{}\+Europe/\+Prague"{}}).
\end{DoxyParagraph}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_strict-args}{}\doxysubsection{\texorpdfstring{\%strict-\/args}{\%strict-args}}\label{parse_directives_strict-args}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%strict-\/args}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/}{\ttfamily -\/strict-\/args}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gac7875c0c85a64fa8b0d66fc634734957}{Qore\+::\+PO\+\_\+\+STRICT\+\_\+\+ARGS}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Prohibits access to builtin functions and methods flagged with \doxysectlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}{1} and also causes errors to be raised if excess arguments are given to functions that do not access excess arguments and if a non-\/list lvalue is passed to the \doxysectlink{operators_push}{Push Operator (push)}{2}, \doxysectlink{operators_pop}{Pop Operator (pop)}{2}, or \doxysectlink{operators_shift}{Shift Operator (shift)}{2}. Additionally, If a function, method, or \doxysectlink{data_type_declarations_code_type}{code}{1} call is made with excess arguments not handled by the target, a {\ttfamily CALL-\/\+WITH-\/\+TYPE-\/\+ERRORS} exception is thrown. In case calls are made to user code over a \doxylink{class_qore_1_1_program}{Program} barrier, the parse options of the target code determine if this exception is raised;
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_loose-args}{\%loose-\/args}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_strict-bool-eval}{}\doxysubsection{\texorpdfstring{\%strict-\/bool-\/eval}{\%strict-bool-eval}}\label{parse_directives_strict-bool-eval}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%strict-\/bool-\/eval}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pstrict-\/bool-\/eval}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga2fbe2a73849bb0139d8d228df0e49ea6}{Qore\+::\+PO\+\_\+\+STRICT\+\_\+\+BOOLEAN\+\_\+\+EVAL}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
When set, this option enables qore\textquotesingle{}s default strict mathematic boolean evaluation, where any value converted to 0 is \doxysectlink{basic_data_types_False}{False}{2} and otherwise it\textquotesingle{}s is \doxysectlink{basic_data_types_True}{True}{2}.~\newline
~\newline
 This option takes effect at runtime.~\newline
~\newline
 For example\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{string\ str\ =\ \textcolor{stringliteral}{"{}hello"{}};}
\DoxyCodeLine{\textcolor{keywordflow}{if}\ (str)}
\DoxyCodeLine{\ \ \ \ printf(\textcolor{stringliteral}{"{}string\ is:\ \%y\(\backslash\)n"{}},\ str);}

\end{DoxyCode}
 ~\newline
 If {\ttfamily \%strict-\/bool-\/eval} is set, then Qore\textquotesingle{}s boolean evaluation will evaluate {\ttfamily "{}hello"{}} in a strict mathematical sense and convert it to 0, which is \doxysectlink{basic_data_types_False}{False}{2}, so nothing would be printed out, but when {\ttfamily \%perl-\/bool-\/eval} is enabled, this will be \doxysectlink{basic_data_types_True}{True}{2} (following the rules for \doxylink{class_qore_1_1zzz8stringzzz9_a6b280ef6ed27ec08d444123d6fecb38b}{Qore\+::zzz8stringzzz9\+::val()}).~\newline
~\newline
 Qore\textquotesingle{}s strict mathematical boolean evaluation was the default prior to Qore 0.\+8.\+6, however it was considered non-\/intuitive and a design bug, and therefore the default behavior of the language was changed to a more intuitive form of boolean evaluation as documented in \doxysectlink{parse_directives_perl-bool-eval}{\%perl-\/bool-\/eval}{1}.
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
also affects the \doxylink{group__type__conversion__functions_ga22c89291d4105fcb558f49fe49aeae44}{boolean(any)} function
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_perl-bool-eval}{perl-\/bool-\/eval}{1}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_strict-types}{}\doxysubsection{\texorpdfstring{\%strict-\/types}{\%strict-types}}\label{parse_directives_strict-types}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%strict-\/types}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pstrict-\/types}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_ga6faa558bfb68cd290e785653e24525de}{Qore\+::\+PO\+\_\+\+STRICT\+\_\+\+TYPES}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Sets strict type checking and automatically sets default values for lvalues with type restrictions that have default values.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
loose-\/types "{}\%loose-\/types"{}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+9.\+4
\end{DoxySince}
\begin{DoxyNote}{Note}
This parse option is experimental; do not use it for code where forwards compatibility is important until its semantics have been finalized
\end{DoxyNote}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_strong-encapsulation}{}\doxysubsection{\texorpdfstring{\%strong-\/encapsulation}{\%strong-encapsulation}}\label{parse_directives_strong-encapsulation}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%strong-\/encapsulation}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
{\ttfamily -\/pstrong-\/encapsulation}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
\doxylink{group__parse__options_gaa8259d8e3b4c908f9d09c6987c8c6167}{Qore\+::\+PO\+\_\+\+STRONG\+\_\+\+ENCAPSULATION}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Disallows out-\/of-\/line namespace and class declarations which break encapsulation by allowing changes to existing namespaces and classes by external code.
\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_try-module}{}\doxysubsection{\texorpdfstring{\%try-\/module}{\%try-module}}\label{parse_directives_try-module}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%try-\/module} \mbox{[}(\doxysectlink{variables_variable_declarations}{var\+\_\+decl}{1})\mbox{]} {\itshape feature} {\ttfamily \mbox{[}\texorpdfstring{$<$}{<}$|$\texorpdfstring{$<$}{<}=$|$=$|$\texorpdfstring{$>$}{>}=$|$\texorpdfstring{$>$}{>}} {\itshape version}{\ttfamily \mbox{]}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Loads a Qore module immediately; if an error occurs loading the module, then the \doxysectlink{variables_variable_declarations}{variable}{1} declared in parentheses after {\ttfamily \%try-\/module} is instantiated with the exception information, and the code up to the \doxysectlink{parse_directives_endtry}{\%endtry}{1} parse declaration is parsed into the program, allowing for the qore script/program to handle module loading errors at parse time for modules that must be loaded at parse time.~\newline
~\newline
 A comparison operator (one of {\ttfamily \texorpdfstring{$<$}{<}, \texorpdfstring{$<$}{<}=, =, \texorpdfstring{$>$}{>}=, or \texorpdfstring{$>$}{>}}) and version information can be optionally given after the module name as well. Version numbers are compared via integer comparisons of each element, where elements are separated by a {\ttfamily "{}."{}}. If one of the versions does not have as many elements as another, the missing elements are assumed to be {\ttfamily "{}0"{}} (i.\+e. version {\ttfamily "{}1.\+0"{}} compared with version {\ttfamily "{}1.\+0.\+1"{}} will be extended to {\ttfamily "{}1.\+0.\+0"{}}). Version errors are handled in the same was as any other module loading error.~\newline
~\newline
 For example\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{\%new-\/style}
\DoxyCodeLine{\%\textcolor{keywordflow}{try}-\/module\ (ex)\ some\_module\ >\ 2.0}
\DoxyCodeLine{\%define\ DontHaveSomeModule}
\DoxyCodeLine{\ \ \ \ printf(\textcolor{stringliteral}{"{}error\ loading\ module\ \%y:\ \%s:\ \%s\(\backslash\)n"{}},\ ex.arg,\ ex.err,\ ex.desc);}
\DoxyCodeLine{\ \ \ \ exit(1);}
\DoxyCodeLine{\%endtry}
\DoxyCodeLine{}
\DoxyCodeLine{\%ifndef\ DontHaveSomeModule}
\DoxyCodeLine{\ \ \ \ some\_module\_api();}
\DoxyCodeLine{\%endif}

\end{DoxyCode}
 ~\newline
 This will load the {\ttfamily "{}some\+\_\+module"{}} module if it is at least version 2.\+0, and print an error message and exit gracefully if it cannot be loaded. Note that in order for the \doxylink{namespace_qore}{Qore} script to be executable and exit gracefully in case the given module cannot be loaded, a parse define must be set in the {\ttfamily \%try-\/module} block and any code that accesses definitions provided by that module must be wrapped in {\ttfamily \%ifndef} blocks as in the above example.~\newline
~\newline
 The \doxysectlink{variables_variable_declarations}{variable declaration}{1} in parentheses is optional; use the variant without the exception variable in code where parse option \doxylink{group__parse__options_ga3a99f2973e97f3986630d8204d7b91fd}{PO\+\_\+\+NO\+\_\+\+TOP\+\_\+\+LEVEL\+\_\+\+STATEMENTS} is set, for example. In this case, for example, other parse options can be set before the \doxysectlink{parse_directives_endtry}{\%endtry}{1} directive.~\newline
~\newline
 Here is an example without a \doxysectlink{variables_variable_declarations}{variable declaration}{1} in parentheses\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{\%new-\/style}
\DoxyCodeLine{\%\textcolor{keywordflow}{try}-\/module\ some\_module\ >\ 2.0}
\DoxyCodeLine{\%define\ DontHaveSomeModule}
\DoxyCodeLine{\%endtry}

\end{DoxyCode}
 ~\newline
 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item There is one special feature name\+: {\ttfamily "{}qore"{}}. This pseudo-\/feature can be used to check the minimum Qore version; if this feature is requested with version information, then the Qore library\textquotesingle{}s version information is used for the version number comparison.
\item No type can be given with the {\ttfamily \%try-\/module} variable declaration; the value assigned to the variable will be a \doxysectlink{data_type_declarations_hash_type}{hash}{1}.
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\doxysectlink{parse_directives_requires}{\%requires}{1} for a similar parse directive where errors are handled with the default parse exception handler
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6; the variant without the \doxysectlink{variables_variable_declarations}{variable declaration}{1} was introduced in Qore 0.\+8.\+6.\+1
\end{DoxySince}
\DoxyHorRuler{0}
 \hypertarget{parse_directives_try-reexport-module}{}\doxysubsection{\texorpdfstring{\%try-\/reexport-\/module}{\%try-reexport-module}}\label{parse_directives_try-reexport-module}
\begin{DoxyParagraph}{Parse Directive\+:}
{\ttfamily \%try-\/reexport-\/module} \mbox{[}(\doxysectlink{variables_variable_declarations}{var\+\_\+decl}{1})\mbox{]} {\itshape feature} {\ttfamily \mbox{[}\texorpdfstring{$<$}{<}$|$\texorpdfstring{$<$}{<}=$|$=$|$\texorpdfstring{$>$}{>}=$|$\texorpdfstring{$>$}{>}} {\itshape version}{\ttfamily \mbox{]}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Command Line\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Parse Option Constant\+:}
n/a
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description\+:}
Loads a Qore module immediately; if an error occurs loading the module, then the \doxysectlink{variables_variable_declarations}{variable}{1} declared in parentheses after {\ttfamily \%try-\/module} is instantiated with the exception information, and the code up to the \doxysectlink{parse_directives_endtry}{\%endtry}{1} parse declaration is parsed into the program, allowing for the qore script/program to handle module loading errors at parse time for modules that must be loaded at parse time.~\newline
~\newline
 A comparison operator (one of {\ttfamily \texorpdfstring{$<$}{<}, \texorpdfstring{$<$}{<}=, =, \texorpdfstring{$>$}{>}=, or \texorpdfstring{$>$}{>}}) and version information can be optionally given after the module name as well. Version numbers are compared via integer comparisons of each element, where elements are separated by a {\ttfamily "{}."{}}. If one of the versions does not have as many elements as another, the missing elements are assumed to be {\ttfamily "{}0"{}} (i.\+e. version {\ttfamily "{}1.\+0"{}} compared with version {\ttfamily "{}1.\+0.\+1"{}} will be extended to {\ttfamily "{}1.\+0.\+0"{}}). Version errors are handled in the same was as any other module loading error.~\newline
~\newline
 If the module is successfully loaded in a \doxysectlink{qore_modules_user_modules}{user module}{1}, then the module is also reexported to any code that requires the importing module.~\newline
~\newline
 For example\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{\%new-\/style}
\DoxyCodeLine{\%\textcolor{keywordflow}{try}-\/reexport-\/module\ (ex)\ some\_module\ >\ 2.0}
\DoxyCodeLine{\%define\ DontHaveSomeModule}
\DoxyCodeLine{\ \ \ \ printf(\textcolor{stringliteral}{"{}error\ loading\ module\ \%y:\ \%s:\ \%s\(\backslash\)n"{}},\ ex.arg,\ ex.err,\ ex.desc);}
\DoxyCodeLine{\ \ \ \ exit(1);}
\DoxyCodeLine{\%endtry}
\DoxyCodeLine{}
\DoxyCodeLine{\%ifndef\ DontHaveSomeModule}
\DoxyCodeLine{\ \ \ \ some\_module\_api();}
\DoxyCodeLine{\%endif}

\end{DoxyCode}
 ~\newline
 This will load the {\ttfamily "{}some\+\_\+module"{}} module if it is at least version 2.\+0, and print an error message and exit gracefully if it cannot be loaded. Note that in order for the \doxylink{namespace_qore}{Qore} script to be executable and exit gracefully in case the given module cannot be loaded, a parse define must be set in the {\ttfamily \%try-\/module} block and any code that accesses definitions provided by that module must be wrapped in {\ttfamily \%ifndef} blocks as in the above example.~\newline
~\newline
 The \doxysectlink{variables_variable_declarations}{variable declaration}{1} in parentheses is optional; use the variant without the exception variable in code where parse option \doxylink{group__parse__options_ga3a99f2973e97f3986630d8204d7b91fd}{PO\+\_\+\+NO\+\_\+\+TOP\+\_\+\+LEVEL\+\_\+\+STATEMENTS} is set, for example. In this case, for example, other parse options can be set before the \doxysectlink{parse_directives_endtry}{\%endtry}{1} directive.~\newline
~\newline
 Here is an example without a \doxysectlink{variables_variable_declarations}{variable declaration}{1} in parentheses\+:~\newline
 
\begin{DoxyCode}{0}
\DoxyCodeLine{\%new-\/style}
\DoxyCodeLine{\%\textcolor{keywordflow}{try}-\/reexport-\/module\ some\_module\ >\ 2.0}
\DoxyCodeLine{\%define\ DontHaveSomeModule}
\DoxyCodeLine{\%endtry}

\end{DoxyCode}
 ~\newline
 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item There is one special feature name\+: {\ttfamily "{}qore"{}}. This pseudo-\/feature can be used to check the minimum Qore version; if this feature is requested with version information, then the Qore library\textquotesingle{}s version information is used for the version number comparison.
\item No type can be given with the {\ttfamily \%try-\/module} variable declaration; the value assigned to the variable will be a \doxysectlink{data_type_declarations_hash_type}{hash}{1}.
\end{DoxyItemize}
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \doxysectlink{parse_directives_try-module}{\%try-\/module}{1}
\item \doxysectlink{parse_directives_requires}{\%requires}{1} for a similar parse directive where errors are handled with the default parse exception handler
\end{DoxyItemize}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 
\end{DoxySince}
