Beispiel #1
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, ClrName /*!*/ self, [NotNull] RubyRegex /*!*/ regex)
 {
     return(MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), regex));
 }
Beispiel #2
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, ClrName /*!*/ self, [DefaultProtocol, NotNull] MutableString /*!*/ pattern)
 {
     return(MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), pattern));
 }
Beispiel #3
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, MutableString/*!*/ self, [DefaultProtocol, NotNull]MutableString/*!*/ pattern) {
     var site = storage.GetCallSite("match", new RubyCallSignature(1, RubyCallFlags.HasImplicitSelf | RubyCallFlags.HasScope));
     return site.Target(site, scope, new RubyRegex(pattern, RubyRegexOptions.NONE), self);
 }
Beispiel #4
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, ClrName /*!*/ self, object obj)
 {
     return(MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), obj));
 }
Beispiel #5
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, MutableString/*!*/ self, object obj) {
     var site = storage.GetCallSite("=~", new RubyCallSignature(1, RubyCallFlags.HasScope | RubyCallFlags.HasImplicitSelf));
     return site.Target(site, scope, obj, self);
 }
Beispiel #6
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, MutableString/*!*/ self, [NotNull]RubyRegex/*!*/ regex) {
     var site = storage.GetCallSite("match", new RubyCallSignature(1, RubyCallFlags.HasImplicitSelf | RubyCallFlags.HasScope));
     return site.Target(site, scope, regex, self);
 }
Beispiel #7
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, RubySymbol/*!*/ self, [NotNull]RubyRegex/*!*/ regex) {
     return MutableStringOps.Match(storage, scope, self.ToMutableString(), regex);
 }
Beispiel #8
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, RubySymbol/*!*/ self, [DefaultProtocol, NotNull]MutableString/*!*/ pattern) {
     return MutableStringOps.Match(storage, scope, self.ToMutableString(), pattern);
 }
Beispiel #9
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, RubySymbol /*!*/ self, [DefaultProtocol, NotNull] MutableString /*!*/ pattern)
 {
     return(MutableStringOps.Match(storage, scope, self.String.Clone(), pattern));
 }
Beispiel #10
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, RubySymbol/*!*/ self, object obj) {
     return MutableStringOps.Match(storage, scope, self.ToMutableString(), obj);
 }
Beispiel #11
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, RubySymbol /*!*/ self, [NotNull] RubyRegex /*!*/ regex)
 {
     return(MutableStringOps.Match(storage, scope, self.String.Clone(), regex));
 }
Beispiel #12
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, RubySymbol /*!*/ self, object obj)
 {
     return(MutableStringOps.Match(storage, scope, self.String.Clone(), obj));
 }
Beispiel #13
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, ClrName/*!*/ self, [DefaultProtocol, NotNull]MutableString/*!*/ pattern) {
     return MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), pattern);
 }
Beispiel #14
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, ClrName/*!*/ self, [NotNull]RubyRegex/*!*/ regex) {
     return MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), regex);
 }
Beispiel #15
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, ClrName/*!*/ self, object obj) {
     return MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), obj);
 }