add_global ( name, value )
Add/update a global variable for rules evaluation
This creates a new globalDict attribute, so that rules
parsed before this global was added, will still be using
the globals that were in effect when the rule was parsed.
|
add_setting (
section,
name,
value,
lineInfo,
)
Define a configuration rule for 'section'+name = value
Note that when this method is called by the IIniParser itself,
section already has the prefix attribute added to it, and it
is already formatted as a property prefix. So, for a section like:
<a href="#foo">[foo]</a>
bar = baz
and a parser 'prefix' of '"some.prefix."', this method gets called
with '("some.prefix.foo.", "bar", "baz", ...)'.
|