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