org.jruby
Class RubyMatchData.RString

java.lang.Object
  extended by org.jruby.RubyObject
      extended by org.jruby.RubyMatchData
          extended by org.jruby.RubyMatchData.RString
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject
Enclosing class:
RubyMatchData

public static final class RubyMatchData.RString
extends RubyMatchData


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.RubyMatchData
RubyMatchData.JavaString, RubyMatchData.RString
 
Nested classes/interfaces inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
 
Fields inherited from class org.jruby.RubyMatchData
matcher
 
Fields inherited from class org.jruby.RubyObject
instanceVariables, isTrue, metaClass, NEVER, OBJECT_ALLOCATOR
 
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
 
Constructor Summary
RubyMatchData.RString(Ruby runtime, RubyString original, Matcher matcher)
           
 
Method Summary
 IRubyObject captures()
           
 IRubyObject doClone()
           
 long getSize()
           
 IRubyObject group(long _n)
           
 void invalidateRegs()
           
 int matchEndPosition()
           
 int matchStartPosition()
           
 IRubyObject nth_match(int nth)
           
 RubyString post_match()
          match_post_match
 RubyString pre_match()
          match_pre_match
 RubyString string()
          match_string
 RubyArray to_a()
          match_to_a
 IRubyObject to_s()
          match_to_s
 
Methods inherited from class org.jruby.RubyMatchData
aref, begin, begin, createMatchDataClass, end, end, find, inspect, offset, proceed, size, subseq
 
Methods inherited from class org.jruby.RubyObject
addFinalizer, anyToString, asString, asSymbol, attachToObjectSpace, callInit, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodMissing, callMethodMissing, callSuper, checkArrayType, checkFrozen, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToType, convertToTypeWithCheck, createObjectClass, dataGetStruct, dataWrapStruct, display, dup, eql, eqlInternal, equal, equalInternal, equals, evalSimple, evalUnder, evalWithBinding, extend, freeze, frozen, getInstanceVariable, getInstanceVariables, getInstanceVariablesSnapshot, getJavaClass, getMetaClass, getNativeTypeIndex, getRuntime, getSingletonClass, getSingletonClassClone, getType, hash, hashCode, id_deprecated, id, infectBy, inherited, initCopy, initialize_copy, initialize, instance_eval, instance_exec, instance_of, instance_variable_get, instance_variable_set, instance_variables, instanceVariableNames, isFalse, isFrozen, isImmediate, isKindOf, isNil, isSingleton, isTaint, isTrue, kind_of, makeMetaClass, match, method, methods, nil_p, obj_equal, private_methods, protected_methods, public_methods, puts, rbClone, remove_instance_variable, removeFinalizers, removeInstanceVariable, respond_to, respondsTo, safeGetInstanceVariables, safeHasInstanceVariables, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, singleton_methods, specificEval, taint, tainted, testFrozen, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RubyMatchData.RString

public RubyMatchData.RString(Ruby runtime,
                             RubyString original,
                             Matcher matcher)
Method Detail

invalidateRegs

public void invalidateRegs()
Overrides:
invalidateRegs in class RubyMatchData

getSize

public long getSize()
Overrides:
getSize in class RubyMatchData

captures

public IRubyObject captures()
Specified by:
captures in class RubyMatchData

nth_match

public IRubyObject nth_match(int nth)

group

public IRubyObject group(long _n)
Specified by:
group in class RubyMatchData

pre_match

public RubyString pre_match()
Description copied from class: RubyMatchData
match_pre_match

Specified by:
pre_match in class RubyMatchData

post_match

public RubyString post_match()
Description copied from class: RubyMatchData
match_post_match

Specified by:
post_match in class RubyMatchData

string

public RubyString string()
Description copied from class: RubyMatchData
match_string

Specified by:
string in class RubyMatchData

to_a

public RubyArray to_a()
Description copied from class: RubyMatchData
match_to_a

Specified by:
to_a in class RubyMatchData

to_s

public IRubyObject to_s()
Description copied from class: RubyMatchData
match_to_s

Specified by:
to_s in class RubyMatchData

doClone

public IRubyObject doClone()
Specified by:
doClone in class RubyMatchData

matchStartPosition

public int matchStartPosition()
Overrides:
matchStartPosition in class RubyMatchData

matchEndPosition

public int matchEndPosition()
Overrides:
matchEndPosition in class RubyMatchData


Copyright © 2002-2007 JRuby Team. All Rights Reserved.