js/src/frontend/NameFunctions.h
author Alex Crichton <acrichton@mozilla.com>
Sat, 18 Aug 2012 21:33:20 -0700
changeset 105146 d7568555261ce6c7166c880f35bd64d5ba99a94b
permissions -rw-r--r--
Bug 433529: Part 1 - Statically resolve names for anonymous functions. r=jimb

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 * vim: set ts=8 sw=4 et tw=99:
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef NameFunctions_h__
#define NameFunctions_h__

struct JSContext;

namespace js {
namespace frontend {

struct ParseNode;

bool
NameFunctions(JSContext *cx, ParseNode *pn);

} /* namespace frontend */
} /* namespace js */

#endif /* NameFunctions_h__ */