extras.py
Go to the documentation of this file.
00001 """ @package antlr3.dottreegenerator
00002 @brief ANTLR3 runtime package, tree module
00003 
00004 This module contains all support classes for AST construction and tree parsers.
00005 
00006 """
00007 
00008 # begin[licence]
00009 #
00010 # [The "BSD licence"]
00011 # Copyright (c) 2005-2008 Terence Parr
00012 # All rights reserved.
00013 #
00014 # Redistribution and use in source and binary forms, with or without
00015 # modification, are permitted provided that the following conditions
00016 # are met:
00017 # 1. Redistributions of source code must retain the above copyright
00018 #    notice, this list of conditions and the following disclaimer.
00019 # 2. Redistributions in binary form must reproduce the above copyright
00020 #    notice, this list of conditions and the following disclaimer in the
00021 #    documentation and/or other materials provided with the distribution.
00022 # 3. The name of the author may not be used to endorse or promote products
00023 #    derived from this software without specific prior written permission.
00024 #
00025 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
00026 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00027 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
00028 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
00029 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
00030 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00031 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00032 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00033 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00034 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00035 #
00036 # end[licence]
00037 
00038 # lot's of docstrings are missing, don't complain for now...
00039 # pylint: disable-msg=C0111
00040 
00041 from treewizard import TreeWizard
00042 
00043 try:
00044     from dottreegen import toDOT
00045 except ImportError, exc:
00046     def toDOT(*args, **kwargs):
00047         raise exc


rve_interface_gen
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:00