using System;
using System.Collections.Generic;
using System.IO;
using GRGEN_LIBGR = de.unika.ipd.grGen.libGr;
using GRGEN_LGSP = de.unika.ipd.grGen.lgsp;
using GRGEN_MODEL = de.unika.ipd.grGen.Model_bitbucket2;

namespace de.unika.ipd.grGen.expression
{
	public partial class ExternalFunctions
	{
		public static int TestFunction(GRGEN_LIBGR.IActionExecutionEnvironment actionEnv, GRGEN_LIBGR.IGraph graph)
		{
			return 42;
		}

		public static int TestFunction(GRGEN_LIBGR.IActionExecutionEnvironment actionEnv, GRGEN_LIBGR.IGraph graph, int threadId)
		{
			return 42;
		}

		public static int TestFunction2(GRGEN_LIBGR.IActionExecutionEnvironment actionEnv, GRGEN_LIBGR.IGraph graph, string in_0)
        {
            return 42 + in_0.Length;
        }
	}
}

namespace de.unika.ipd.grGen.expression
{
	public partial class ExternalProcedures
	{
		public static void TestProcedure(GRGEN_LIBGR.IActionExecutionEnvironment actionEnv, GRGEN_LIBGR.IGraph graph)
		{
            graph.AddNode(graph.Model.NodeModel.GetType("Node"));
		}

        public static void TestProcedure2(GRGEN_LIBGR.IActionExecutionEnvironment actionEnv, GRGEN_LIBGR.IGraph graph, string in_0, out int out_0)
        {
            out_0 = in_0.Length;
        }
	}
}
