Exemple #1
0
 public static MethodCall createVBMethodCall(String code, InterpretationContext context) {
   if (TypeConversionExpression.isVBTypeConversionExpression(code, context)) {
     return TypeConversionExpression.createVBTypeConversionExpression(code, context);
   } else {
     MethodCall mc = new MethodCall(code, context);
     mc.parse(code, new VBExpressionFactory());
     return mc;
   }
 }
Exemple #2
0
 public static MethodCall createCSMethodCall(String code, InterpretationContext context) {
   MethodCall mc = new MethodCall(code, context);
   mc.parse(code, new CSExpressionFactory());
   return mc;
 }