Package SCons :: Package Script :: Module Main :: Class FakeOptionParser
[hide private]
[frames] | no frames]

Class FakeOptionParser

source code

A do-nothing option parser, used for the initial OptionsParser variable.

During normal SCons operation, the OptionsParser is created right
away by the main() function.  Certain tests scripts however, can
introspect on different Tool modules, the initialization of which
can try to add a new, local option to an otherwise uninitialized
OptionsParser object.  This allows that introspection to happen
without blowing up.

Nested Classes [hide private]
Instance Methods [hide private]
add_local_option(self, *args, **kw) source code
Class Variables [hide private]
  values = FakeOptionValues()