# Path: godot/parsing_util.py
# class ToBoolean(TokenConverter):
# class ToInteger(TokenConverter):
# class ToFloat(TokenConverter):
# class ToTuple(TokenConverter):
# class ToList(TokenConverter):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
# def make_unique_name(base, existing=[], format="%s_%s"):
# def nsplit(seq, n=2):
# def windows(iterable, length=2, overlap=0, padding=True):
# 
# Path: godot/component/api.py



from enthought.enable.api import Component
from pyparsing import __version__ as pyparsing_version
from colorsys import hsv_to_rgb
from pyparsing import \
    Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore, Forward, \
    NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums, \
    restOfLine, cppStyleComment, nums, alphanums, printables, empty, \
    quotedString, CharsNotIn, _noncomma, Suppress, nestedExpr, Suppress, Or
from godot.parsing_util import \
    real, integer, minus, quote, equals, colour, nsplit, ToInteger
from godot.component.api import \
    Pen, Ellipse, Polygon, Polyline, BSpline, Text
        # Set font. The font size is s points. The font name consists of the
        # n bytes following '-'.
        font = (Literal("F").suppress() + real.setResultsName("s") +
            n_bytes).setResultsName("font")

        # Set style attribute. The style value consists of the n bytes
        # following '-'. The syntax of the value is the same as specified for
        # a styleItem in style.
        style = (Literal("S").suppress() + n_bytes).setResultsName("style")

        # Shapes --------------------------------------------------------------

        # Filled ellipse ((x-x0)/w)^2 + ((y-y0)/h)^2 = 1
        filled_ellipse = (Literal("E").suppress() +
            integer.setResultsName("x0") + integer.setResultsName("y0") +
            integer.setResultsName("w") + integer.setResultsName("h")
        ).setResultsName("filled_ellipse")

        # Unfilled ellipse ((x-x0)/w)^2 + ((y-y0)/h)^2 = 1
        ellipse = (Literal("e").suppress() +
            integer.setResultsName("x0") + integer.setResultsName("y0") +
            integer.setResultsName("w") + integer.setResultsName("h")
        ).setResultsName("ellipse")

        # Filled polygon using the given n points.
        filled_polygon = (Literal("P").suppress() +
            n_points).setResultsName("filled_polygon")

        # Unfilled polygon using the given n points.
        polygon = (Literal("p").suppress() +

# Path: godot/parsing_util.py
# class ToBoolean(TokenConverter):
# class ToInteger(TokenConverter):
# class ToFloat(TokenConverter):
# class ToTuple(TokenConverter):
# class ToList(TokenConverter):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
#     def postParse(self, instring, loc, tokenlist):
# def make_unique_name(base, existing=[], format="%s_%s"):
# def nsplit(seq, n=2):
# def windows(iterable, length=2, overlap=0, padding=True):
# 
# Path: godot/component/api.py



# Path: godot/xdot_parser.py
from enthought.enable.api import Component
from pyparsing import __version__ as pyparsing_version
from colorsys import hsv_to_rgb
from pyparsing import \
    Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore, Forward, \
    NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums, \
    restOfLine, cppStyleComment, nums, alphanums, printables, empty, \
    quotedString, CharsNotIn, _noncomma, Suppress, nestedExpr, Suppress, Or
from godot.parsing_util import \
    real, integer, minus, quote, equals, colour, nsplit, ToInteger
from godot.component.api import \
    Pen, Ellipse, Polygon, Polyline, BSpline, Text

        # Set font. The font size is s points. The font name consists of the
        # n bytes following '-'.
        font = (Literal("F").suppress() + real.setResultsName("s") +
            n_bytes).setResultsName("font")

        # Set style attribute. The style value consists of the n bytes
        # following '-'. The syntax of the value is the same as specified for
        # a styleItem in style.
        style = (Literal("S").suppress() + n_bytes).setResultsName("style")

        # Shapes --------------------------------------------------------------

        # Filled ellipse ((x-x0)/w)^2 + ((y-y0)/h)^2 = 1
        filled_ellipse = (Literal("E").suppress() +
            integer.setResultsName("x0") + integer.setResultsName("y0") +
            integer.setResultsName("w") + integer.setResultsName("h")
        ).setResultsName("filled_ellipse")

        # Unfilled ellipse ((x-x0)/w)^2 + ((y-y0)/h)^2 = 1
        ellipse = (Literal("e").suppress() +
            integer.setResultsName("x0") + integer.setResultsName("y0") +
            integer.setResultsName("w") + integer.setResultsName("h")
        ).setResultsName("ellipse")

        # Filled polygon using the given n points.
        filled_polygon = (Literal("P").suppress() +
            n_points).setResultsName("filled_polygon")

        # Unfilled polygon using the given n points.
        polygon = (Literal("p").suppress() +

            n_points).setResultsName("polygon")