예제 #1
0
파일: TypeDecl.cs 프로젝트: Ashod/Phalanger
		internal void PreAnalyze(Analyzer/*!*/ analyzer, GenericParameter/*!*/ parameter)
		{
			this.parameter = parameter;

			PhpRoutine routine = parameter.DeclaringMember as PhpRoutine;
			PhpType type = (routine != null) ? routine.DeclaringType as PhpType : parameter.DeclaringPhpType;

			parameter.WriteUp(analyzer.ResolveType(defaultType, type, routine, position, false));
		}