JintFunctionDeclarationStatement.cs 474 B

12345678910111213141516
  1. using Esprima.Ast;
  2. namespace Jint.Runtime.Interpreter.Statements
  3. {
  4. internal sealed class JintFunctionDeclarationStatement : JintStatement<FunctionDeclaration>
  5. {
  6. public JintFunctionDeclarationStatement(Engine engine, FunctionDeclaration statement) : base(engine, statement)
  7. {
  8. }
  9. protected override Completion ExecuteInternal()
  10. {
  11. return new Completion(CompletionType.Normal, null, null, Location);
  12. }
  13. }
  14. }