Created
June 28, 2012 13:00
-
-
Save akyoto/3011246 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return self.binaryOperatorDivideSyntax % (self.exprPrefix, op1, connector, op2, self.exprPostfix) | |
def checkInterfaceImplementation(self, classObj, interface): | |
debug("Checking '%s' for implementation of interface '%s'" % (classObj.name, interface.name)) | |
for method in interface.functions: | |
if not classObj.hasFunction(method): | |
raise CompilerException("Class '%s' does not define the '%s' method of interface '%s'" % (classObj.name, method, interface.name)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment