Qore Programming Language Reference Manual 2.0.0
|
Variables | |
const | Qore::DomainCodeMap = qore(pomaps.getDomainToStringMap()) |
Maps from functional domain bitfield code values (as string keys) to functional domain names. | |
const | Qore::DomainStringMap = qore(pomaps.getStringToDomainMap()) |
Maps from functional domain strings to functional domain bitfield integer codes. | |
const | Qore::PO_ALLOW_BARE_REFS = PO_ALLOW_BARE_REFS |
Prohibits the use of the '$' character in variable names, method calls, and object member references. | |
const | Qore::PO_ALLOW_DEBUGGER = PO_ALLOW_DEBUGGER |
Allows the use of functionality required to implement a debugger, mainly via DebugProgram. | |
const | Qore::PO_ALLOW_INJECTION = PO_ALLOW_INJECTION |
Allows code/dependency injections in the contained Program object. | |
const | Qore::PO_ALLOW_RETURNS = PO_ALLOW_RETURNS |
Allows the use of the deprecated returns keyword. | |
const | Qore::PO_ALLOW_STATEMENT_NO_EFFECT = PO_ALLOW_STATEMENT_NO_EFFECT |
Allows for old pre-Qore 0.9 top-level statements having no effect. | |
const | Qore::PO_ALLOW_WEAK_REFERENCES = PO_ALLOW_WEAK_REFERENCES |
Allows the use of the weak assignment operator (:=). | |
const | Qore::PO_ASSUME_LOCAL = PO_ASSUME_LOCAL |
Assume local variable scope when variables are first referenced if no my or our is present. | |
const | Qore::PO_BROKEN_CAST = PO_BROKEN_CAST |
Allows for old pre-Qore 0.9.4 broken cast<> operator behavior where NOTHING was silently accepted. | |
const | Qore::PO_BROKEN_INT_ASSIGNMENTS = PO_BROKEN_INT_ASSIGNMENTS |
allows for old pre-Qore 0.8.12 broken runtime int assignments where runtime type errors were ignored | |
const | Qore::PO_BROKEN_LIST_PARSING = PO_BROKEN_LIST_PARSING |
allows for old pre-Qore 0.8.12 broken list rewriting in the parser | |
const | Qore::PO_BROKEN_LOGIC_PRECEDENCE = PO_BROKEN_LOGIC_PRECEDENCE |
allows for old pre-Qore 0.8.12 precedence of logical and bitwise operators | |
const | Qore::PO_BROKEN_LOOP_STATEMENT = PO_BROKEN_LOOP_STATEMENT |
allows for old pre-Qore 0.8.13 handling of break and continue | |
const | Qore::PO_BROKEN_OPERATORS = PO_BROKEN_OPERATORS |
allows for old pre-Qore 0.8.12 broken runtime parsing of multi-character operators with spaces | |
const | Qore::PO_BROKEN_RANGE = PO_BROKEN_RANGE |
allows for old pre-Qore 0.9.5 handling of range() and xrange() | |
const | Qore::PO_BROKEN_REFERENCES = PO_BROKEN_REFERENCES |
allows for old pre-Qore 0.8.13 handling of reference and *reference | |
const | Qore::PO_BROKEN_SPRINTF = PO_BROKEN_SPRINTF |
Enables broken sprintf() handling where no argument is treated diffferently than NOTHING. | |
const | Qore::PO_BROKEN_VARARGS = PO_BROKEN_VARARGS |
allows for old pre-Qore 1.17 handling of varargs | |
const | Qore::PO_DEFAULT = PO_DEFAULT |
This option is the empty option, meaning no options are set. | |
const | Qore::PO_FREE_OPTIONS = PO_FREE_OPTIONS |
mask of options that have no effect on code access or code safety but just affect programming style | |
const | Qore::PO_IN_MODULE = PO_IN_MODULE |
Only set by the system when in a user module Program. | |
const | Qore::PO_LOCKDOWN = PO_LOCKDOWN |
Sets very restrictive access; this restriction is designed to allow code to only execute logic, no I/O, no threading, no external access. | |
const | Qore::PO_LOCK_WARNINGS = PO_LOCK_WARNINGS |
Disallows changes to the warning mask. | |
const | Qore::PO_NEW_STYLE = PO_NEW_STYLE |
Set a more C++ or Java type programming style; prohibits usage of the "$" character and also assumes local variable scope without my. | |
const | Qore::PO_NO_API = PO_NO_API |
Prohibits any code from being inherited into the Program object, including the system API. | |
const | Qore::PO_NO_CHILD_PO_RESTRICTIONS = PO_NO_CHILD_PO_RESTRICTIONS |
Allows child program objects to have fewer parse restrictions (i.e. more capabilies) than the parent object. | |
const | Qore::PO_NO_CLASS_DEFS = PO_NO_CLASS_DEFS |
Disallows class definitions. | |
const | Qore::PO_NO_CONSTANT_DEFS = PO_NO_CONSTANT_DEFS |
Disallows constant definitions. | |
const | Qore::PO_NO_DATABASE = PO_NO_DATABASE |
Disallows access to database functionality. | |
const | Qore::PO_NO_DEBUGGING = PO_NO_DEBUGGING |
Forbids debugging of the current Program object; when this option is set, debuggers cannot attach to the Program object. | |
const | Qore::PO_NO_EMBEDDED_LOGIC = PO_NO_EMBEDDED_LOGIC |
Prohibits embedded logic from being used. | |
const | Qore::PO_NO_EXTERNAL_ACCESS = PO_NO_EXTERNAL_ACCESS |
Prohibits any external access. | |
const | Qore::PO_NO_EXTERNAL_INFO = PO_NO_EXTERNAL_INFO |
Disallows access to functionality that provides information about the computing environment. | |
const | Qore::PO_NO_EXTERNAL_PROCESS = PO_NO_EXTERNAL_PROCESS |
Disallows any access to external processes (with system(), backquote(), exec(), etc) | |
const | Qore::PO_NO_FILESYSTEM = PO_NO_FILESYSTEM |
Disallows access to the filesystem. | |
const | Qore::PO_NO_GLOBAL_VARS = PO_NO_GLOBAL_VARS |
Disallows the use of global variables. | |
const | Qore::PO_NO_GUI = PO_NO_GUI |
Disallows access to functionality that draws graphics to the display. | |
const | Qore::PO_NO_INHERIT_GLOBAL_VARS = PO_NO_INHERIT_GLOBAL_VARS |
Precludes global variables from being inherited into the new Program object. | |
const | Qore::PO_NO_INHERIT_PROGRAM_DATA = PO_NO_INHERIT_PROGRAM_DATA |
Do not inherit module-specific Program data from the parent. | |
const | Qore::PO_NO_INHERIT_SYSTEM_CLASSES = PO_NO_INHERIT_SYSTEM_CLASSES |
Prohibits system classes from being imported into the new Program object. | |
const | Qore::PO_NO_INHERIT_SYSTEM_CONSTANTS = PO_NO_INHERIT_SYSTEM_CONSTANTS |
Prohibits system constants from being imported into the new Program object. | |
const | Qore::PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS = PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS |
Prohibits builtin/system function variants from being imported into the new Program object. | |
const | Qore::PO_NO_INHERIT_SYSTEM_HASHDECLS = PO_NO_INHERIT_SYSTEM_HASHDECLS |
Prohibits system hashdecls from being imported into the new Program object. | |
const | Qore::PO_NO_INHERIT_USER_CLASSES = PO_NO_INHERIT_USER_CLASSES |
Prohibits user classes from being imported into the new Program object. | |
const | Qore::PO_NO_INHERIT_USER_CONSTANTS = PO_NO_INHERIT_USER_CONSTANTS |
Prohibits user constants from being imported into the new Program object. | |
const | Qore::PO_NO_INHERIT_USER_FUNC_VARIANTS = PO_NO_INHERIT_USER_FUNC_VARIANTS |
Precludes public user function variants from being inherited into the new Program object. | |
const | Qore::PO_NO_INHERIT_USER_HASHDECLS = PO_NO_INHERIT_USER_HASHDECLS |
Prohibits user hashdecls from being imported into the new Program object. | |
const | Qore::PO_NO_IO = PO_NO_IO |
Prohibits all terminal and file I/O and GUI operations. | |
const | Qore::PO_NO_LOCALE_CONTROL = PO_NO_LOCALE_CONTROL |
Disallows access to functionality that can change locale parameters. | |
const | Qore::PO_NO_MODULES = PO_NO_MODULES |
Disallows loading modules with the %requires directive or at runtime with load_module() | |
const | Qore::PO_NO_NAMESPACE_DEFS = PO_NO_NAMESPACE_DEFS |
Disallows new namespace definitions. | |
const | Qore::PO_NO_NETWORK = PO_NO_NETWORK |
Disallows access to network functionality. | |
const | Qore::PO_NO_NEW = PO_NO_NEW |
Disallows use of the new operator. | |
const | Qore::PO_NO_PROCESS_CONTROL = PO_NO_PROCESS_CONTROL |
Disallows access to functions that would affect the current process (exit(), exec(), fork(), etc) | |
const | Qore::PO_NO_REFLECTION = PO_NO_REFLECTION |
Disallows access to reflection. | |
const | Qore::PO_NO_SUBROUTINE_DEFS = PO_NO_SUBROUTINE_DEFS |
Disallows subroutine (function) definitions. | |
const | Qore::PO_NO_SYSTEM_API = PO_NO_SYSTEM_API |
Prohibits any code from being inherited into the Program object, including the system API. | |
const | Qore::PO_NO_SYSTEM_CLASSES = PO_NO_INHERIT_SYSTEM_CLASSES |
Prohibits system classes from being imported into the new Program object. | |
const | Qore::PO_NO_SYSTEM_FUNC_VARIANTS = PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS |
Prohibits builtin/system function variants from being imported into the new Program object. | |
const | Qore::PO_NO_TERMINAL_IO = PO_NO_TERMINAL_IO |
Disallows access to reading from and/or writing to the terminal. | |
const | Qore::PO_NO_THREADS = PO_NO_THREADS |
Prohibits access to all threading information. | |
const | Qore::PO_NO_THREAD_CLASSES = PO_NO_THREAD_CLASSES |
Disallows access to any thread classes. | |
const | Qore::PO_NO_THREAD_CONTROL = PO_NO_THREAD_CONTROL |
Disallows access to any thread-control functions and thread-relevant statements and operators (for example the background operator and the thread_exit statement) | |
const | Qore::PO_NO_THREAD_INFO = PO_NO_THREAD_INFO |
Disallows access to functionality that provides information about threading. | |
const | Qore::PO_NO_TOP_LEVEL_STATEMENTS = PO_NO_TOP_LEVEL_STATEMENTS |
Disallows top level code. | |
const | Qore::PO_NO_TRANSIENT = PO_NO_TRANSIENT |
Disallows the transient. | |
const | Qore::PO_NO_UNCONTROLLED_APIS = PO_NO_UNCONTROLLED_APIS |
disallow access to "uncontrolled APIs" like external language bindings or direct generic system call APIs that could bypass Qore's sandboxing controls | |
const | Qore::PO_NO_USER_API = PO_NO_USER_API |
Prohibits any user code from being inherited into the Program object. | |
const | Qore::PO_NO_USER_CLASSES = PO_NO_INHERIT_USER_CLASSES |
Prohibits user classes from being imported into the new Program object. | |
const | Qore::PO_POSITIVE_OPTIONS = PO_POSITIVE_OPTIONS |
mask of all parse options allowing for more freedom (instead of less) | |
const | Qore::PO_REQUIRE_OUR = PO_REQUIRE_OUR |
Requires global variables to be declared with our before use. | |
const | Qore::PO_REQUIRE_PROTOTYPES = PO_REQUIRE_PROTOTYPES |
Requires all function and method parameters and return types to have type declarations. | |
const | Qore::PO_REQUIRE_TYPES = PO_REQUIRE_TYPES |
Requires all function and method parameters, return types, variables, and object members to have type declarations. | |
const | Qore::PO_STRICT_ARGS = PO_STRICT_ARGS |
Prohibits access to builtin functions and methods flagged with RT_NOOP and also causes errors to be raised if excess arguments are given to functions that do not access excess arguments. | |
const | Qore::PO_STRICT_BOOLEAN_EVAL = PO_STRICT_BOOLEAN_EVAL |
Sets strict mathematical boolean evaluation runtime mode (the qore default prior to v0.8.6) | |
const | Qore::PO_STRICT_TYPES = PO_STRICT_TYPES |
Sets strict type checking and automatically sets default values for lvalues with type restrictions for types with default values. | |
const | Qore::PO_STRONG_ENCAPSULATION = PO_STRONG_ENCAPSULATION |
disallows out-of-line class and namespace declarations | |
const | Qore::ParseOptionCmdCodeMap = qore(ParseOptionMap::getCodeToStringMap()) |
Maps from parse option code values (as string keys) to parse option names. Names are in form used in script or on command line, e.g. new-style. | |
const | Qore::ParseOptionCmdStringMap = qore(ParseOptionMap::getStringToCodeMap()) |
Maps from parse option strings to parse option integer codes. Names are in form used in script or on command line, e.g. new-style. | |
const | Qore::ParseOptionCodeMap = qore(pomaps.getCodeToStringMap()) |
Maps from parse option code values (as string keys) to parse option names. | |
const | Qore::ParseOptionStringMap = qore(pomaps.getStringToCodeMap()) |
Maps from parse option strings to parse option bitfield integer codes. | |
These are the possible values that can be or'ed together to set Program parse options
Maps from functional domain bitfield code values (as string keys) to functional domain names.
Maps from functional domain strings to functional domain bitfield integer codes.
Maps from parse option code values (as string keys) to parse option names. Names are in form used in script or on command line, e.g. new-style.
Maps from parse option strings to parse option integer codes. Names are in form used in script or on command line, e.g. new-style.
Maps from parse option code values (as string keys) to parse option names.
Maps from parse option strings to parse option bitfield integer codes.
const Qore::PO_ALLOW_BARE_REFS = PO_ALLOW_BARE_REFS |
Prohibits the use of the '$' character in variable names, method calls, and object member references.
This option should probably be named "PO_REQUIRE_BARE_REFS"
as it is an error to use the "$"
character when this option is set
const Qore::PO_ALLOW_DEBUGGER = PO_ALLOW_DEBUGGER |
Allows the use of functionality required to implement a debugger, mainly via DebugProgram.
const Qore::PO_ALLOW_INJECTION = PO_ALLOW_INJECTION |
Allows code/dependency injections in the contained Program object.
const Qore::PO_ALLOW_RETURNS = PO_ALLOW_RETURNS |
const Qore::PO_ALLOW_STATEMENT_NO_EFFECT = PO_ALLOW_STATEMENT_NO_EFFECT |
Allows for old pre-Qore 0.9 top-level statements having no effect.
const Qore::PO_ALLOW_WEAK_REFERENCES = PO_ALLOW_WEAK_REFERENCES |
Allows the use of the weak assignment operator (:=).
const Qore::PO_ASSUME_LOCAL = PO_ASSUME_LOCAL |
Assume local variable scope when variables are first referenced if no my or
our is
present.
This option is set implicitly with PO_NEW_STYLE
const Qore::PO_BROKEN_CAST = PO_BROKEN_CAST |
Allows for old pre-Qore 0.9.4 broken cast<> operator behavior where NOTHING was silently accepted.
const Qore::PO_BROKEN_INT_ASSIGNMENTS = PO_BROKEN_INT_ASSIGNMENTS |
allows for old pre-Qore 0.8.12 broken runtime int assignments where runtime type errors were ignored
const Qore::PO_BROKEN_LIST_PARSING = PO_BROKEN_LIST_PARSING |
allows for old pre-Qore 0.8.12 broken list rewriting in the parser
const Qore::PO_BROKEN_LOGIC_PRECEDENCE = PO_BROKEN_LOGIC_PRECEDENCE |
allows for old pre-Qore 0.8.12 precedence of logical and bitwise operators
const Qore::PO_BROKEN_LOOP_STATEMENT = PO_BROKEN_LOOP_STATEMENT |
allows for old pre-Qore 0.8.13 handling of break and continue
const Qore::PO_BROKEN_OPERATORS = PO_BROKEN_OPERATORS |
allows for old pre-Qore 0.8.12 broken runtime parsing of multi-character operators with spaces
const Qore::PO_BROKEN_RANGE = PO_BROKEN_RANGE |
allows for old pre-Qore 0.9.5 handling of range() and xrange()
const Qore::PO_BROKEN_REFERENCES = PO_BROKEN_REFERENCES |
allows for old pre-Qore 0.8.13 handling of reference and *reference
const Qore::PO_BROKEN_SPRINTF = PO_BROKEN_SPRINTF |
const Qore::PO_BROKEN_VARARGS = PO_BROKEN_VARARGS |
const Qore::PO_FREE_OPTIONS = PO_FREE_OPTIONS |
mask of options that have no effect on code access or code safety but just affect programming style
made up of PO_ALLOW_BARE_REFS | PO_ASSUME_LOCAL
const Qore::PO_IN_MODULE = PO_IN_MODULE |
Only set by the system when in a user module Program.
const Qore::PO_LOCK_WARNINGS = PO_LOCK_WARNINGS |
Disallows changes to the warning mask.
const Qore::PO_LOCKDOWN = PO_LOCKDOWN |
Sets very restrictive access; this restriction is designed to allow code to only execute logic, no I/O, no threading, no external access.
made up of PO_NO_EXTERNAL_ACCESS | PO_NO_THREADS | PO_NO_IO
const Qore::PO_NEW_STYLE = PO_NEW_STYLE |
Set a more C++ or Java type programming style; prohibits usage of the "$"
character and also assumes local variable scope without my.
made up of PO_ALLOW_BARE_REFS | PO_ASSUME_LOCAL
const Qore::PO_NO_API = PO_NO_API |
Prohibits any code from being inherited into the Program object, including the system API.
made up of:
const Qore::PO_NO_CHILD_PO_RESTRICTIONS = PO_NO_CHILD_PO_RESTRICTIONS |
Allows child program objects to have fewer parse restrictions (i.e. more capabilies) than the parent object.
const Qore::PO_NO_CLASS_DEFS = PO_NO_CLASS_DEFS |
Disallows class definitions.
const Qore::PO_NO_CONSTANT_DEFS = PO_NO_CONSTANT_DEFS |
Disallows constant definitions.
const Qore::PO_NO_DATABASE = PO_NO_DATABASE |
Disallows access to database functionality.
const Qore::PO_NO_DEBUGGING = PO_NO_DEBUGGING |
Forbids debugging of the current Program object; when this option is set, debuggers cannot attach to the Program object.
const Qore::PO_NO_EXTERNAL_ACCESS = PO_NO_EXTERNAL_ACCESS |
Prohibits any external access.
made up of PO_NO_PROCESS_CONTROL | PO_NO_NETWORK | PO_NO_FILESYSTEM | PO_NO_DATABASE | PO_NO_EXTERNAL_INFO | PO_NO_EXTERNAL_PROCESS | PO_NO_UNCONTROLLED_APIS
const Qore::PO_NO_EXTERNAL_INFO = PO_NO_EXTERNAL_INFO |
Disallows access to functionality that provides information about the computing environment.
const Qore::PO_NO_EXTERNAL_PROCESS = PO_NO_EXTERNAL_PROCESS |
Disallows any access to external processes (with system(), backquote(), exec(), etc)
const Qore::PO_NO_FILESYSTEM = PO_NO_FILESYSTEM |
Disallows access to the filesystem.
const Qore::PO_NO_GLOBAL_VARS = PO_NO_GLOBAL_VARS |
Disallows the use of global variables.
const Qore::PO_NO_GUI = PO_NO_GUI |
Disallows access to functionality that draws graphics to the display.
const Qore::PO_NO_INHERIT_PROGRAM_DATA = PO_NO_INHERIT_PROGRAM_DATA |
Do not inherit module-specific Program data from the parent.
const Qore::PO_NO_INHERIT_SYSTEM_CLASSES = PO_NO_INHERIT_SYSTEM_CLASSES |
Prohibits system classes from being imported into the new Program object.
const Qore::PO_NO_INHERIT_SYSTEM_CONSTANTS = PO_NO_INHERIT_SYSTEM_CONSTANTS |
Prohibits system constants from being imported into the new Program object.
const Qore::PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS = PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS |
Prohibits builtin/system function variants from being imported into the new Program object.
const Qore::PO_NO_INHERIT_SYSTEM_HASHDECLS = PO_NO_INHERIT_SYSTEM_HASHDECLS |
Prohibits system hashdecls from being imported into the new Program object.
const Qore::PO_NO_INHERIT_USER_CLASSES = PO_NO_INHERIT_USER_CLASSES |
Prohibits user classes from being imported into the new Program object.
const Qore::PO_NO_INHERIT_USER_CONSTANTS = PO_NO_INHERIT_USER_CONSTANTS |
Prohibits user constants from being imported into the new Program object.
const Qore::PO_NO_INHERIT_USER_HASHDECLS = PO_NO_INHERIT_USER_HASHDECLS |
Prohibits user hashdecls from being imported into the new Program object.
const Qore::PO_NO_IO = PO_NO_IO |
Prohibits all terminal and file I/O and GUI operations.
made up of PO_NO_GUI | PO_NO_TERMINAL_IO | PO_NO_FILESYSTEM | PO_NO_NETWORK | PO_NO_DATABASE | PO_NO_UNCONTROLLED_APIS
const Qore::PO_NO_LOCALE_CONTROL = PO_NO_LOCALE_CONTROL |
Disallows access to functionality that can change locale parameters.
const Qore::PO_NO_MODULES = PO_NO_MODULES |
Disallows loading modules with the %requires directive or at runtime with load_module()
const Qore::PO_NO_NAMESPACE_DEFS = PO_NO_NAMESPACE_DEFS |
Disallows new namespace definitions.
const Qore::PO_NO_NETWORK = PO_NO_NETWORK |
Disallows access to network functionality.
const Qore::PO_NO_NEW = PO_NO_NEW |
Disallows use of the new operator.
Note that objects can still be instantiated with syntax like:
const Qore::PO_NO_PROCESS_CONTROL = PO_NO_PROCESS_CONTROL |
Disallows access to functions that would affect the current process (exit(), exec(), fork(), etc)
const Qore::PO_NO_REFLECTION = PO_NO_REFLECTION |
Disallows access to reflection.
const Qore::PO_NO_SUBROUTINE_DEFS = PO_NO_SUBROUTINE_DEFS |
Disallows subroutine (function) definitions.
const Qore::PO_NO_SYSTEM_API = PO_NO_SYSTEM_API |
Prohibits any code from being inherited into the Program object, including the system API.
made up of:
const Qore::PO_NO_SYSTEM_CLASSES = PO_NO_INHERIT_SYSTEM_CLASSES |
Prohibits system classes from being imported into the new Program object.
const Qore::PO_NO_SYSTEM_FUNC_VARIANTS = PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS |
Prohibits builtin/system function variants from being imported into the new Program object.
const Qore::PO_NO_TERMINAL_IO = PO_NO_TERMINAL_IO |
Disallows access to reading from and/or writing to the terminal.
const Qore::PO_NO_THREAD_CLASSES = PO_NO_THREAD_CLASSES |
Disallows access to any thread classes.
const Qore::PO_NO_THREAD_CONTROL = PO_NO_THREAD_CONTROL |
Disallows access to any thread-control functions and thread-relevant statements and operators (for example the background operator and the thread_exit statement)
const Qore::PO_NO_THREAD_INFO = PO_NO_THREAD_INFO |
Disallows access to functionality that provides information about threading.
const Qore::PO_NO_THREADS = PO_NO_THREADS |
Prohibits access to all threading information.
made up of PO_NO_THREAD_CONTROL | PO_NO_THREAD_CLASSES | PO_NO_THREAD_INFO
const Qore::PO_NO_TOP_LEVEL_STATEMENTS = PO_NO_TOP_LEVEL_STATEMENTS |
Disallows top level code.
const Qore::PO_NO_UNCONTROLLED_APIS = PO_NO_UNCONTROLLED_APIS |
disallow access to "uncontrolled APIs" like external language bindings or direct generic system call APIs that could bypass Qore's sandboxing controls
const Qore::PO_NO_USER_API = PO_NO_USER_API |
Prohibits any user code from being inherited into the Program object.
made up of:
const Qore::PO_NO_USER_CLASSES = PO_NO_INHERIT_USER_CLASSES |
Prohibits user classes from being imported into the new Program object.
const Qore::PO_POSITIVE_OPTIONS = PO_POSITIVE_OPTIONS |
mask of all parse options allowing for more freedom (instead of less)
made up of a binary-or'ed combination of:
const Qore::PO_REQUIRE_OUR = PO_REQUIRE_OUR |
Requires global variables to be declared with our before use.
const Qore::PO_REQUIRE_PROTOTYPES = PO_REQUIRE_PROTOTYPES |
Requires all function and method parameters and return types to have type declarations.
However, variable declarations and object members are not required to have type declarations
const Qore::PO_REQUIRE_TYPES = PO_REQUIRE_TYPES |
Requires all function and method parameters, return types, variables, and object members to have type declarations.
const Qore::PO_STRICT_ARGS = PO_STRICT_ARGS |
Prohibits access to builtin functions and methods flagged with RT_NOOP and also causes errors to be raised if excess arguments are given to functions that do not access excess arguments.
This option is set implicitly with PO_REQUIRE_TYPES
const Qore::PO_STRICT_BOOLEAN_EVAL = PO_STRICT_BOOLEAN_EVAL |
Sets strict mathematical boolean evaluation runtime mode (the qore default prior to v0.8.6)
const Qore::PO_STRICT_TYPES = PO_STRICT_TYPES |
Sets strict type checking and automatically sets default values for lvalues with type restrictions for types with default values.
const Qore::PO_STRONG_ENCAPSULATION = PO_STRONG_ENCAPSULATION |
disallows out-of-line class and namespace declarations