parameters: (filenode, node, member, release, include_version, meta)
return_statement: return cgen.Indent(member_code, tabs=0)
docstring: Returns a definition for a member function of an interface.
  
    Args:
      filenode - IDLNode for the file
      node - IDLNode for the interface
      member - IDLNode for the member function
      release - release to generate
      include_version - include the version in emitted function name.
      meta - ThunkMetadata for header hints
    Returns:
      A string with the member definition.
docstring_summary: Returns a definition for a member function of an interface.
docstring_tokens: Returns a definition for a member function of an interface .
function: def DefineMember(filenode, node, member, release, include_version, meta):
    """Returns a definition for a member function of an interface.
  
    Args:
      filenode - IDLNode for the file
      node - IDLNode for the interface
      member - IDLNode for the member function
      release - release to generate
      include_version - include the version in emitted function name.
      meta - ThunkMetadata for header hints
    Returns:
      A string with the member definition.
    """
    cgen = CGen()
    rtype, name, arrays, args = cgen.GetComponents(member, release, 'return')
  
    if _IsTypeCheck(node, member):
      body = '  %s\n' % _MakeEnterLine(filenode, node, args[0], False, None, meta)
      body += '  return PP_FromBool(enter.succeeded());'
    elif member.GetName() == 'Create':
      body = _MakeCreateMemberBody(node, member, args)
    else:
      body = _MakeNormalMemberBody(filenode, node, member, rtype, args, meta)
  
    signature = cgen.GetSignature(member, release, 'return', func_as_ptr=False,
                                  include_version=include_version)
    member_code = '%s {\n%s\n}' % (signature, body)
    return cgen.Indent(member_code, tabs=0)
function_tokens: def DefineMember ( filenode , node , member , release , include_version , meta ) : cgen = CGen ( ) rtype , name , arrays , args = cgen . GetComponents ( member , release , 'return' ) if _IsTypeCheck ( node , member ) : body = '  %s\n' % _MakeEnterLine ( filenode , node , args [ 0 ] , False , None , meta ) body += '  return PP_FromBool(enter.succeeded());' elif member . GetName ( ) == 'Create' : body = _MakeCreateMemberBody ( node , member , args ) else : body = _MakeNormalMemberBody ( filenode , node , member , rtype , args , meta ) signature = cgen . GetSignature ( member , release , 'return' , func_as_ptr = False , include_version = include_version ) member_code = '%s {\n%s\n}' % ( signature , body ) return cgen . Indent ( member_code , tabs = 0 )