Module Expr Str Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases body Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad Dict Num body Expr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body Assign NameStore ListLoad NameLoad orelse Assign NameStore ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict If NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad body ClassDef bases body Pass decorator_list Assign NameStore Call NameLoad If BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice Num orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad kwarg body Expr Str If BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareEq Call NameLoad NameLoad Call NameLoad TupleLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Return If BoolOpOr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str For NameStore NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body If UnaryOpNot CompareIs AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad TryFinally body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad Dict NameLoad finalbody If NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index Num Delete SubscriptDel NameLoad Index Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad BinOpAdd AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body TryExcept body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass For NameStore AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr TryExcept body TryExcept body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Str TryFinally body For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body TryExcept body Expr Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise ExceptHandler body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass finalbody Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam NameParam defaults NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults ListLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults NameLoad CompareNotEq NameLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return BinOpMod AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad orelse Return BinOpMod AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A engine.SCons.Variables

This file defines the Variables class that is used to add user-friendly
customizable variables to an SCons build.
 N/A __revision__ src/engine/SCons/Variables/__init__.py 3897 2009/01/13 06:45:54 scons N/A os.path N/A string N/A sys N/A SCons.Environment N/A SCons.Errors N/A SCons.Util N/A SCons.Warnings BoolVariable BoolVariable EnumVariable EnumVariable ListVariable ListVariable PackageVariable PackageVariable PathVariable PathVariable Variables N/A N/A N/A instance None N/A 
    Holds all the options, updates the environment with the variables,
    and renders the help text.
     __init__ N/A N/A self files args is_global N/A N/A N/A 1 N/A N/A 
        files - [optional] List of option configuration files to load
            (backward compatibility) If a single string is passed it is
                                     automatically placed in a file list
         N/A N/A self options N/A N/A N/A self args args N/A N/A N/A N/A N/A SCons Util is_List files N/A N/A files N/A N/A files N/A files N/A N/A files N/A N/A N/A self files files N/A N/A self unknown N/A N/A is_global N/A N/A self N/A Variables instance N/A N/A N/A Variables instance N/A N/A N/A Variables instance self N/A _do_add N/A N/A self key help default validator converter N/A None None None N/A Variable N/A N/A N/A N/A N/A option N/A Variable N/A N/A N/A N/A N/A SCons Util is_List key N/A N/A N/A SCons Util is_Tuple key N/A N/A N/A option key N/A key N/A 0 N/A N/A option aliases N/A key N/A 1 N/A N/A N/A option key key N/A N/A option aliases N/A key N/A N/A option help help N/A N/A option default default N/A N/A option validator validator N/A N/A option converter converter N/A N/A N/A N/A self options append option N/A keys N/A N/A self N/A N/A N/A 
        Returns the keywords for the options
         N/A N/A map N/A N/A N/A o N/A N/A o key N/A self options N/A Add N/A N/A self key help default validator converter N/A None None None kw N/A N/A 
        Add an option.

        key - the name of the variable, or a list or tuple of arguments
        help - optional help text for the options
        default - optional default value
        validator - optional function that is called to validate the option's value
                    Called with (key, value, environment)
        converter - optional function that is called to convert the option's value before
                    putting it in the environment.
         N/A N/A N/A N/A N/A SCons Util is_List key N/A N/A type key N/A type N/A N/A N/A N/A apply N/A self _do_add key N/A N/A N/A N/A N/A N/A N/A SCons Util is_String key N/A N/A N/A N/A SCons Environment is_valid_construction_var key N/A N/A N/A N/A SCons Errors UserError N/A Illegal Variables.Add() key `%s' N/A str key N/A N/A N/A self _do_add key help default validator converter N/A AddVariables N/A N/A self N/A optlist N/A N/A 
        Add a list of options.

        Each list element is a tuple/list of arguments to be passed on
        to the underlying method for adding options.

        Example:
          opt.AddVariables(
            ('debug', '', 0),
            ('CC', 'The C compiler'),
            ('VALIDATE', 'An option for testing validation', 'notset',
             validator, None),
            )
         N/A o optlist N/A N/A N/A apply N/A self _do_add o N/A Update N/A N/A self env args N/A None N/A N/A 
        Update an environment with the option variables.

        env - the environment to update.
         N/A values N/A N/A option N/A self options N/A N/A N/A N/A N/A option default None N/A N/A N/A values N/A N/A option key N/A option default N/A filename N/A self files N/A N/A N/A N/A N/A os path exists filename N/A N/A dir N/A N/A N/A N/A os path split N/A N/A N/A os path abspath filename N/A 0 N/A dir N/A N/A N/A N/A N/A sys path insert 0 dir N/A N/A N/A N/A values N/A __name__ filename N/A N/A execfile filename N/A values N/A N/A dir N/A N/A N/A N/A sys path N/A 0 N/A N/A values N/A __name__ N/A N/A args None N/A N/A args N/A self args N/A N/A arg value N/A N/A args items N/A N/A added False N/A option N/A self options N/A N/A N/A arg N/A N/A option aliases N/A N/A option key N/A N/A N/A values N/A N/A option key value N/A added True N/A N/A added N/A N/A N/A N/A self unknown N/A arg value N/A option N/A self options N/A N/A N/A N/A N/A env N/A N/A option key N/A values N/A N/A option key N/A N/A N/A KeyError N/A N/A N/A option N/A self options N/A N/A N/A N/A option converter N/A N/A values has_key N/A option key N/A N/A value N/A N/A env subst N/A ${%s} N/A option key N/A N/A N/A N/A N/A N/A env N/A N/A option key N/A N/A option converter value N/A N/A N/A TypeError N/A N/A N/A env N/A N/A option key N/A N/A option converter value env N/A N/A N/A ValueError N/A x N/A N/A N/A N/A SCons Errors UserError N/A Error converting option: %s
%s N/A N/A option key x N/A option N/A self options N/A N/A N/A N/A option validator N/A N/A values has_key N/A option key N/A N/A N/A N/A option validator N/A option key N/A N/A env subst N/A ${%s} N/A option key env N/A UnknownVariables N/A N/A self N/A N/A N/A 
        Returns any options in the specified arguments lists that
        were not known, declared options in this object.
         N/A N/A self unknown N/A Save N/A N/A self filename env N/A N/A N/A 
        Saves all the options in the given file.  This file can
        then be used to load the options next run.  This can be used
        to create an option cache file.

        filename - Name of the file to save into
        env - the environment get the option values from
         N/A N/A N/A fh N/A open filename w N/A N/A N/A option N/A self options N/A N/A N/A N/A value N/A env N/A N/A option key N/A N/A N/A prepare N/A value prepare_to_store N/A N/A N/A AttributeError N/A N/A N/A N/A N/A eval N/A repr value N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A value N/A N/A N/A SCons Util to_String value N/A N/A value N/A prepare N/A defaultVal N/A N/A env subst N/A N/A N/A SCons Util to_String N/A option default N/A N/A option converter N/A N/A defaultVal N/A N/A option converter defaultVal N/A N/A N/A str N/A N/A env subst N/A ${%s} N/A option key N/A str defaultVal N/A N/A N/A N/A fh write N/A %s = %s
 N/A N/A option key N/A repr value N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A fh close N/A N/A N/A IOError N/A x N/A N/A N/A N/A SCons Errors UserError N/A Error writing options to file: %s
%s N/A filename x N/A GenerateHelpText N/A N/A self env sort N/A None N/A N/A 
        Generate the help text for the options.

        env - an environment that is used to get the current values
              of the options.
         N/A sort N/A N/A options N/A N/A self options N/A N/A N/A N/A options sort N/A N/A N/A x y func N/A sort N/A func N/A x key N/A y key N/A N/A options N/A self options format N/A N/A opt self env N/A self env N/A N/A N/A N/A env has_key N/A opt key N/A N/A actual N/A N/A env subst N/A ${%s} N/A opt key N/A N/A actual None N/A N/A N/A self FormatVariableHelpText env N/A opt key N/A opt help N/A opt default actual N/A opt aliases N/A N/A lines N/A filter None N/A map format options N/A N/A N/A string join lines N/A N/A format 
%s: %s
    default: %s
    actual: %s
 N/A format_ 
%s: %s
    default: %s
    actual: %s
    aliases: %s
 FormatVariableHelpText N/A N/A self env key help default actual aliases N/A N/A N/A N/A aliases N/A filter N/A N/A N/A a k N/A key N/A a k aliases N/A N/A N/A len aliases 0 N/A N/A N/A N/A self format N/A key help default actual N/A N/A N/A N/A self format_ N/A key help default actual aliases N/A N/A