Permalink
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (50 sloc) 1.21 KB
using System;
using Mono.Debugger.Backend;
namespace Mono.Debugger.Languages
{
internal delegate void MethodLoadedHandler (TargetAccess target, Method method);
public abstract class TargetFunctionType : TargetType
{
protected TargetFunctionType (Language language)
: base (language, TargetObjectKind.Function)
{ }
public abstract string FullName {
get;
}
public abstract MethodSource GetSourceCode ();
public abstract bool IsStatic {
get;
}
public abstract bool IsConstructor {
get;
}
public abstract bool HasReturnValue {
get;
}
public abstract TargetType ReturnType {
get;
}
public abstract TargetType[] ParameterTypes {
get;
}
// <summary>
// The current programming language's native representation of
// a method.
// </summary>
public abstract object MethodHandle {
get;
}
public Module Module {
get { return DeclaringType.Module; }
}
public abstract TargetClassType DeclaringType {
get;
}
public abstract bool IsManaged {
get;
}
internal abstract FunctionBreakpointHandle GetBreakpointHandle (
Breakpoint breakpoint, int line, int column);
public abstract TargetMethodSignature GetSignature (Thread target);
}
}