示例#1
0
    def addField(self, fType, name):
        if name == "color":
            return F0(fType, self)

        if name == "edges":
            return F1(fType, self)

        else:
            return LazyField(fType, name, self)
示例#2
0
    def addField(self, fType, name):
        if name == "bool":
            return F0(fType, self)

        if name == "boolean":
            return F1(fType, self)

        else:
            return LazyField(fType, name, self)
示例#3
0
    def addField(self, fType, name):
        if name == "for":
            return F2(fType, self)

        if name == "if":
            return F3(fType, self)

        else:
            return LazyField(fType, name, self)
示例#4
0
    def addField(self, fType, name):
        if name == "f":
            return F7(fType, self)

        if name == "n":
            return F8(fType, self)

        else:
            return LazyField(fType, name, self)
示例#5
0
    def addField(self, fType, name):
        if name == "arguments":
            return F17(fType, self)

        if name == "operator":
            return F18(fType, self)

        else:
            return LazyField(fType, name, self)
示例#6
0
    def addField(self, fType, name):
        if name == "edges":
            return F2(fType, self)

        if name == "map":
            return F3(fType, self)

        else:
            return LazyField(fType, name, self)
示例#7
0
    def addField(self, fType, name):
        if name == "float32":
            return F3(fType, self)

        if name == "float64":
            return F4(fType, self)

        else:
            return LazyField(fType, name, self)
示例#8
0
    def addField(self, fType, name):
        if name == "anabstractnode":
            return F0(fType, self)

        if name == "anannotation":
            return F1(fType, self)

        else:
            return LazyField(fType, name, self)
示例#9
0
    def addField(self, fType, name):
        if name == "name":
            return F9(fType, self)

        if name == "version":
            return F10(fType, self)

        else:
            return LazyField(fType, name, self)
示例#10
0
    def addField(self, fType, name):
        if name == "age":
            return F0(fType, self)

        if name == "name":
            return F1(fType, self)

        else:
            return LazyField(fType, name, self)
示例#11
0
    def addField(self, fType, name):
        if name == "ignoreddata":
            return F1(fType, self)

        if name == "reflectivelyinvisible":
            return F2(fType, self)

        else:
            return LazyField(fType, name, self)
示例#12
0
    def addField(self, fType, name):
        if name == "next":
            return F1(fType, self)

        if name == "name":
            raise SkillException(
                "The file contains a field declaration %s.%s, but there is an auto field of similar name!"
                .format(self.name(), name))
        else:
            return LazyField(fType, name, self)
示例#13
0
    def addField(self, fType, name):
        if name == "next":
            return F4(fType, self)

        if name == "color":
            return F5(fType, self)

        if name == "mark":
            return F6(fType, self)

        else:
            return LazyField(fType, name, self)
示例#14
0
    def addField(self, fType, name):
        if name == "one":
            return F0(fType, self)

        if name == "three":
            return F1(fType, self)

        if name == "two":
            return F2(fType, self)

        else:
            return LazyField(fType, name, self)
示例#15
0
    def addField(self, fType, name):
        if name == "property":
            return F0(fType, self)

        if name == "target":
            return F1(fType, self)

        if name == "text":
            return F2(fType, self)

        else:
            return LazyField(fType, name, self)
示例#16
0
    def addField(self, fType, name):
        if name == "age":
            return F6(fType, self)

        if name == "name":
            return F7(fType, self)

        if name == "reflectivelyvisible":
            return F8(fType, self)

        else:
            return LazyField(fType, name, self)
示例#17
0
    def addField(self, fType, name):
        if name == "int16":
            return F10(fType, self)

        if name == "int32":
            return F11(fType, self)

        if name == "int64i":
            return F12(fType, self)

        if name == "int64v":
            return F13(fType, self)

        if name == "int8":
            return F14(fType, self)

        else:
            return LazyField(fType, name, self)
示例#18
0
    def addField(self, fType, name):
        if name == "minuszero":
            return F5(fType, self)

        if name == "nan":
            return F6(fType, self)

        if name == "pi":
            return F7(fType, self)

        if name == "two":
            return F8(fType, self)

        if name == "zero":
            return F9(fType, self)

        else:
            return LazyField(fType, name, self)
示例#19
0
    def addField(self, fType, name):
        if name == "minuszero":
            return F0(fType, self)

        if name == "nan":
            return F1(fType, self)

        if name == "pi":
            return F2(fType, self)

        if name == "two":
            return F3(fType, self)

        if name == "zero":
            return F4(fType, self)

        else:
            return LazyField(fType, name, self)
示例#20
0
    def addField(self, fType, name):
        if name == "a":
            return F0(fType, self)

        if name == "b":
            return F1(fType, self)

        if name == "c":
            return F2(fType, self)

        if name == "d":
            return F3(fType, self)

        if name == "e":
            return F4(fType, self)

        else:
            return LazyField(fType, name, self)
示例#21
0
    def addField(self, fType, name):
        if name == "float":
            return F3(fType, self)

        if name == "message":
            return F4(fType, self)

        if name == "none":
            return F5(fType, self)

        if name == "nopdefault":
            return F6(fType, self)

        elif name == "system":
            raise SkillException(
                "The file contains a field declaration %s.%s, but there is an auto field of similar name!".format(
                    self.name(), name))
        else:
            return LazyField(fType, name, self)
示例#22
0
    def addField(self, fType, name):
        if name == "degrees":
            return F11(fType, self)

        if name == "degrees2":
            return F12(fType, self)

        if name == "negative":
            return F13(fType, self)

        if name == "negative2":
            return F14(fType, self)

        if name == "positive":
            return F15(fType, self)

        if name == "positive2":
            return F16(fType, self)

        else:
            return LazyField(fType, name, self)
示例#23
0
    def addField(self, fType, name):
        if name == "arr":
            return F0(fType, self)

        if name == "f":
            return F1(fType, self)

        if name == "l":
            return F2(fType, self)

        if name == "s":
            return F3(fType, self)

        if name == "someset":
            return F4(fType, self)

        if name == "varr":
            return F5(fType, self)

        else:
            return LazyField(fType, name, self)
示例#24
0
    def addField(self, fType, name):
        if name == "number":
            return F0(fType, self)

        else:
            return LazyField(fType, name, self)
示例#25
0
    def addField(self, fType, name):
        if name == "ä":
            return F1(fType, self)

        else:
            return LazyField(fType, name, self)
示例#26
0
    def addField(self, fType, name):
        if name == "value":
            return F2(fType, self)

        else:
            return LazyField(fType, name, self)
示例#27
0
    def addField(self, fType, name):
        if name == "basicstring":
            return F15(fType, self)

        else:
            return LazyField(fType, name, self)
示例#28
0
    def addField(self, fType, name):
        if name == "amap":
            return F3(fType, self)

        else:
            return LazyField(fType, name, self)
示例#29
0
    def addField(self, fType, name):
        if name == "basicint":
            return F9(fType, self)

        else:
            return LazyField(fType, name, self)
示例#30
0
    def addField(self, fType, name):
        if name == "basicbool":
            return F0(fType, self)

        else:
            return LazyField(fType, name, self)