org.jruby
Class RubyStringScanner
java.lang.Object
org.jruby.RubyObject
org.jruby.RubyStringScanner
- All Implemented Interfaces:
- java.lang.Cloneable, IRubyObject
- public class RubyStringScanner
- extends RubyObject
- Author:
- kscott
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, callMethodMissingIfNecessary, callSuper, checkArrayType, checkFrozen, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToType, convertToTypeWithCheck, createObjectClass, dataGetStruct, dataWrapStruct, display, doClone, 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, 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, to_s, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RubyStringScanner
protected RubyStringScanner(Ruby runtime,
RubyClass type)
createScannerClass
public static RubyClass createScannerClass(Ruby runtime)
initialize
public IRubyObject initialize(IRubyObject[] args,
Block unusedBlock)
- Overrides:
initialize
in class RubyObject
concat
public IRubyObject concat(IRubyObject obj)
group
public IRubyObject group(RubyFixnum num)
bol_p
public RubyBoolean bol_p()
check
public IRubyObject check(RubyRegexp rx)
check_until
public IRubyObject check_until(RubyRegexp rx)
terminate
public IRubyObject terminate()
eos_p
public RubyBoolean eos_p()
exist_p
public IRubyObject exist_p(RubyRegexp rx)
getch
public IRubyObject getch()
inspect
public IRubyObject inspect()
- Description copied from class:
RubyObject
- rb_obj_inspect
- Specified by:
inspect
in interface IRubyObject
- Overrides:
inspect
in class RubyObject
match_p
public IRubyObject match_p(RubyRegexp rx)
matched
public IRubyObject matched()
matched_p
public RubyBoolean matched_p()
matched_size
public IRubyObject matched_size()
peek
public IRubyObject peek(RubyFixnum length)
pos
public RubyFixnum pos()
set_pos
public RubyFixnum set_pos(RubyFixnum pos)
post_match
public IRubyObject post_match()
pre_match
public IRubyObject pre_match()
reset
public IRubyObject reset()
rest
public RubyString rest()
rest_p
public RubyBoolean rest_p()
rest_size
public RubyFixnum rest_size()
scan
public IRubyObject scan(RubyRegexp rx)
scan_full
public IRubyObject scan_full(RubyRegexp rx,
RubyBoolean adv_ptr,
RubyBoolean ret_str)
scan_until
public IRubyObject scan_until(RubyRegexp rx)
search_full
public IRubyObject search_full(RubyRegexp rx,
RubyBoolean adv_ptr,
RubyBoolean ret_str)
skip
public IRubyObject skip(RubyRegexp rx)
skip_until
public IRubyObject skip_until(RubyRegexp rx)
string
public RubyString string()
set_string
public RubyString set_string(RubyString str)
unscan
public IRubyObject unscan()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.