Ejemplo n.º 1
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(
         self, 'native', (Ast.StructTypeNode, Ast.TypedefNode))
Ejemplo n.º 2
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(
         self,
         tuple('requires_' + suffix
               for suffix in ('authentication', 'guest', 'user')),
         Ast.FunctionNode)
Ejemplo n.º 3
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(self, 'deprecated', (Ast.EnumeratorNode, Ast.FieldNode))
Ejemplo n.º 4
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(self, 'native', (Ast.StructTypeNode, Ast.TypedefNode))
Ejemplo n.º 5
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(
         self,
         'union',
         (Ast.ExceptionTypeNode, Ast.StructTypeNode)
     )
Ejemplo n.º 6
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(self, tuple('requires_' + suffix for suffix in ('authentication', 'guest', 'user')), Ast.FunctionNode)
 def __init__(self):
     ValuelessAnnotationParser.__init__(self, 'deprecated',
                                        (Ast.EnumeratorNode, Ast.FieldNode))