示例#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))