Пример #1
0
 def __str__(self):
    return "SYNTAX %s" % CompilationError.__str__(self)
Пример #2
0
 def __init__(self, startIndex, endIndex, typeName):
    CompilationError.__init__(self, startIndex, endIndex)
    self.__typeName = typeName
Пример #3
0
 def __str__(self):
    return "'%s' - PREVIOUSLY DEFINED TYPE %s" % \
           (self.__featureName, CompilationError.__str__(self))
Пример #4
0
 def __str__(self):
    # XXX come back and figure out printing of erors.
    return "UNEXPECTED SYMBOL %s" % CompilationError.__str__(self)
Пример #5
0
 def __str__(self):
    # XXX come back and figure out printing of erors.
    return "SYNTAX %s" % CompilationError.__str__(self)
Пример #6
0
 def __str__(self):
    return "UNDEFINED SYMBOL %s" % CompilationError.__str__(self)