Skip to content

Instantly share code, notes, and snippets.

@akyoto
Created June 28, 2012 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akyoto/3011246 to your computer and use it in GitHub Desktop.
Save akyoto/3011246 to your computer and use it in GitHub Desktop.
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