internal void InsertMethodName(string /*!*/ methodName) { // insert the method name argument into the args object symbol = RubyContext.EncodeIdentifier(methodName); InsertSimple(0, new DynamicMetaObject(AstUtils.Constant(symbol), BindingRestrictions.Empty, symbol)); }
public RubySymbol /*!*/ GetSymbol(RubyContext /*!*/ context) { return(_symbol ?? (_symbol = context.EncodeIdentifier(_string))); }
public static RubySymbol /*!*/ ToSymbol(RubyContext /*!*/ context, ClrName /*!*/ self) { return(context.EncodeIdentifier(self.MangledName)); }
public RubySymbol/*!*/ GetSymbol(RubyContext/*!*/ context) { return _symbol ?? (_symbol = context.EncodeIdentifier(_string)); }
public static bool RespondTo(CallSite <Func <CallSite, object, object, object> > /*!*/ respondToSite, RubyContext /*!*/ context, object target, string /*!*/ methodName) { return(IsTrue(respondToSite.Target(respondToSite, target, context.EncodeIdentifier(methodName)))); }
public static bool RespondTo(CallSite<Func<CallSite, object, object, object>>/*!*/ respondToSite, RubyContext/*!*/ context, object target, string/*!*/ methodName) { return IsTrue(respondToSite.Target(respondToSite, target, context.EncodeIdentifier(methodName))); }
public static RubySymbol/*!*/ ToSymbol(RubyContext/*!*/ context, ClrName/*!*/ self) { return context.EncodeIdentifier(self.MangledName); }