Пример #1
0
		/// <summary>
		/// Used by the reflection.
		/// </summary>
		public PhpRoutine(DRoutineDesc/*!*/ functionDesc)
			: base(functionDesc)
		{
			this.signature = null; // to be written up
			this.builder = null; // unused
		}
Пример #2
0
		/// <summary>
		/// Used by the compiler.
		/// </summary>
		internal PhpRoutine(DRoutineDesc/*!*/ functionDesc, Signature astSignature, TypeSignature astTypeSignature)
			: base(functionDesc)
		{
			this.signature = null; // to be written up
			this.builder = new PhpRoutineBuilder(this, astSignature, astTypeSignature);
		}