|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.RubyObject
org.jruby.RubyMatchData
public abstract class RubyMatchData
Nested Class Summary | |
---|---|
static class |
RubyMatchData.JavaString
|
static class |
RubyMatchData.RString
|
Nested classes/interfaces inherited from class org.jruby.RubyObject |
---|
RubyObject.Finalizer |
Field Summary | |
---|---|
protected Matcher |
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(Ruby runtime,
Matcher matcher)
|
Method Summary | |
---|---|
IRubyObject |
aref(IRubyObject[] args)
match_aref |
int |
begin(int index)
|
IRubyObject |
begin(IRubyObject index)
match_begin |
abstract IRubyObject |
captures()
|
static RubyClass |
createMatchDataClass(Ruby runtime)
|
abstract IRubyObject |
doClone()
|
int |
end(int index)
|
IRubyObject |
end(IRubyObject index)
match_end |
boolean |
find()
|
long |
getSize()
|
abstract IRubyObject |
group(long n)
|
IRubyObject |
inspect()
rb_obj_inspect |
void |
invalidateRegs()
|
int |
matchEndPosition()
|
int |
matchStartPosition()
|
IRubyObject |
offset(IRubyObject index)
match_offset |
abstract RubyString |
post_match()
match_post_match |
abstract RubyString |
pre_match()
match_pre_match |
boolean |
proceed()
|
RubyFixnum |
size()
match_size |
abstract RubyString |
string()
match_string |
IRubyObject |
subseq(long beg,
long len)
|
abstract RubyArray |
to_a()
match_to_a |
abstract IRubyObject |
to_s()
match_to_s |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Matcher matcher
Constructor Detail |
---|
public RubyMatchData(Ruby runtime, Matcher matcher)
Method Detail |
---|
public static RubyClass createMatchDataClass(Ruby runtime)
public abstract IRubyObject captures()
public IRubyObject subseq(long beg, long len)
public long getSize()
public boolean proceed()
public boolean find()
public void invalidateRegs()
public abstract IRubyObject group(long n)
public int matchStartPosition()
public int matchEndPosition()
public IRubyObject aref(IRubyObject[] args)
public IRubyObject begin(IRubyObject index)
public int begin(int index)
public IRubyObject end(IRubyObject index)
public int end(int index)
public IRubyObject inspect()
RubyObject
inspect
in interface IRubyObject
inspect
in class RubyObject
public RubyFixnum size()
public IRubyObject offset(IRubyObject index)
public abstract RubyString pre_match()
public abstract RubyString post_match()
public abstract RubyString string()
public abstract RubyArray to_a()
public abstract IRubyObject to_s()
to_s
in class RubyObject
public abstract IRubyObject doClone()
doClone
in class RubyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |