using System.Collections.Generic; namespace Jint.Parser.Ast { public class FunctionDeclaration : Statement, IFunctionDeclaration { public FunctionDeclaration() { VariableDeclarations = new List(); } public Identifier Id { get; set; } public IEnumerable Parameters { get; set; } public Statement Body { get; set; } public bool Strict { get; set; } public IList VariableDeclarations { get; set; } #region ECMA6 public IEnumerable Defaults; public SyntaxNode Rest; public bool Generator; public bool Expression; #endregion public IList FunctionDeclarations { get; set; } } }