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