parameters: (self,  p)
docstring: ConstType : PrimitiveType Null
                   | identifier Null
docstring_summary: ConstType : PrimitiveType Null
                   | identifier Null
docstring_tokens: ConstType : PrimitiveType Null | identifier Null
function: def p_ConstType(self,  p):
      """ConstType : PrimitiveType Null
                   | identifier Null"""
      if type(p[1]) == str:
        p[0] = self.BuildNamed('Typeref', p, 1, p[2])
      else:
        p[1].AddChildren(p[2])
        p[0] = p[1]
function_tokens: def p_ConstType ( self , p ) : if type ( p [ 1 ] ) == str : p [ 0 ] = self . BuildNamed ( 'Typeref' , p , 1 , p [ 2 ] ) else : p [ 1 ] . AddChildren ( p [ 2 ] ) p [ 0 ] = p [ 1 ]