Exemple #1
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(
         self, 'native', (Ast.StructTypeNode, Ast.TypedefNode))
Exemple #2
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(
         self,
         tuple('requires_' + suffix
               for suffix in ('authentication', 'guest', 'user')),
         Ast.FunctionNode)
Exemple #3
0
 def __init__(self):
     ValuelessAnnotationParser.__init__(self, 'deprecated', (Ast.EnumeratorNode, Ast.FieldNode))
 def __init__(self):
     ValuelessAnnotationParser.__init__(self, 'native', (Ast.StructTypeNode, Ast.TypedefNode))
 def __init__(self):
     ValuelessAnnotationParser.__init__(
         self,
         'union',
         (Ast.ExceptionTypeNode, Ast.StructTypeNode)
     )
Exemple #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))