예제 #1
0
 def visitAST(self, node):
     for n in node.declarations():
         if ast.shouldGenerateCodeForDecl(n):
             for c in n.comments():
                 if len(c.text()) > 2 and c.text()[2] == '*':
                     self.includes += c.text()[3:].strip()+"\n"
             n.accept(self)
예제 #2
0
 def visitAST(self, node):
     for n in node.declarations():
         if ast.shouldGenerateCodeForDecl(n):
             for c in n.comments():
                 if len(c.text()) > 2 and c.text()[2] == '*':
                     self.includes += c.text()[3:].strip()+"\n"
             n.accept(self)
예제 #3
0
파일: obv.py 프로젝트: Distrotech/omniORB
def visitAST(node):
    self.__completedModules = {}
    for n in node.declarations():
        if ast.shouldGenerateCodeForDecl(n):
            n.accept(self)
예제 #4
0
 def visitAST(self, node):
     for d in node.declarations():
         if ast.shouldGenerateCodeForDecl(d):
             d.accept(self)
예제 #5
0
def visitAST(node):
    for n in node.declarations():
        if ast.shouldGenerateCodeForDecl(n):
            n.accept(self)
예제 #6
0
def visitAST(node):
    for n in node.declarations():
        if ast.shouldGenerateCodeForDecl(n):
            n.accept(self)
예제 #7
0
파일: tie.py 프로젝트: gmwu/corba_examples
 def visitAST(self, node):
     for d in node.declarations():
         if ast.shouldGenerateCodeForDecl(d):
             d.accept(self)
예제 #8
0
 def visitAST(self, node):
     for declaration in node.declarations():
         if self.base_initialised:
             return
         if ast.shouldGenerateCodeForDecl(declaration):
             declaration.accept(self)
예제 #9
0
파일: poa.py 프로젝트: gmwu/corba_examples
def visitAST(node):
    self.__completedModules = {}
    for n in node.declarations():
        if ast.shouldGenerateCodeForDecl(n):
            n.accept(self)
예제 #10
0
 def visitAST(self, node):
     for declaration in node.declarations():
         if self.base_initialised:
             return
         if ast.shouldGenerateCodeForDecl(declaration):
             declaration.accept(self)