public override IValue interpret(Context context) { context.enterMethod(this); try { CSharpNativeCall stmt = FindStatement(); return(stmt.interpretNative(context, returnType)); } finally { context.leaveMethod(this); } }
protected override IType fullCheck(Context context, bool isStart) { if (isStart) { context = context.newLocalContext(); registerParameters(context); } if (parameters != null) { parameters.check(context); } CSharpNativeCall stmt = FindStatement(); return(stmt.checkNative(context, returnType)); }
public NativeGetterMethodDeclaration(String name, StatementList statements) : base(name, statements) { statement = findNativeStatement(); }