예제 #1
0
		public void AddFunction(Function function)
		{
			function.Parent = this;
			Functions[function.Name] = function;
			FunctionList.Add(function);
			
			if (function.Name == "Go")
			{
				EntryPoint = function;
			}
		}
예제 #2
0
		public Program()
		{
			Functions = new Dictionary<string, Function>();
			FunctionList = new List<Function>();
			EntryPoint = null;
		}