using System.Collections.Generic;
using Jint.Parser.Ast;
namespace Jint.Parser
{
///
/// Used to safe references to all function delcarations in a specific scope.
///
public interface IFunctionScope: IVariableScope
{
IList FunctionDeclarations { get; set; }
}
public class FunctionScope : IFunctionScope
{
public FunctionScope()
{
FunctionDeclarations = new List();
}
public IList FunctionDeclarations { get; set; }
public IList VariableDeclarations { get; set; }
}
}