예제 #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));
 }
예제 #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));
 }
예제 #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);
 }
예제 #4
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, ClrName /*!*/ self, object obj)
 {
     return(MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), obj));
 }
예제 #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);
 }
예제 #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);
 }
예제 #7
0
파일: SymbolOps.cs 프로젝트: nieve/ironruby
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, RubySymbol/*!*/ self, [NotNull]RubyRegex/*!*/ regex) {
     return MutableStringOps.Match(storage, scope, self.ToMutableString(), regex);
 }
예제 #8
0
파일: SymbolOps.cs 프로젝트: nieve/ironruby
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, RubySymbol/*!*/ self, [DefaultProtocol, NotNull]MutableString/*!*/ pattern) {
     return MutableStringOps.Match(storage, scope, self.ToMutableString(), pattern);
 }
예제 #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));
 }
예제 #10
0
파일: SymbolOps.cs 프로젝트: nieve/ironruby
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, RubySymbol/*!*/ self, object obj) {
     return MutableStringOps.Match(storage, scope, self.ToMutableString(), obj);
 }
예제 #11
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, RubySymbol /*!*/ self, [NotNull] RubyRegex /*!*/ regex)
 {
     return(MutableStringOps.Match(storage, scope, self.String.Clone(), regex));
 }
예제 #12
0
 public static object Match(BinaryOpStorageWithScope /*!*/ storage, RubyScope /*!*/ scope, RubySymbol /*!*/ self, object obj)
 {
     return(MutableStringOps.Match(storage, scope, self.String.Clone(), obj));
 }
예제 #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);
 }
예제 #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);
 }
예제 #15
0
 public static object Match(BinaryOpStorageWithScope/*!*/ storage, RubyScope/*!*/ scope, ClrName/*!*/ self, object obj) {
     return MutableStringOps.Match(storage, scope, GetRubyName(scope.RubyContext, self), obj);
 }