Exemplo n.º 1
0
public virtual global::System.Object usePattern(global::java.util.regex.Pattern n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.Matcher: java.util.regex.Matcher usePattern(java.util.regex.Pattern)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    global::org.xmlvm._nElement _r7;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r9_o = null;
    global::System.Object _r10_o = null;
    _r9_o = this;
    _r10_o = n1;
    if (_r10_o != null) goto label14;
    _r0_o = new global::java.lang.IllegalArgumentException();
    // Value=regex.1B
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 66))}));
    _r1_o = global::[email protected]((global::java.lang.String) _r1_o);
    ((global::java.lang.IllegalArgumentException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label14:;
    _r0_o = ((global::java.util.regex.Matcher) _r9_o)._fmatchResult;
    _r7.i = ((global::java.util.regex.MatchResultImpl) _r0_o).getPreviousMatchEnd();
    _r0_o = ((global::java.util.regex.Matcher) _r9_o)._fmatchResult;
    _r8.i = ((global::java.util.regex.MatchResultImpl) _r0_o).mode();
    ((global::java.util.regex.Matcher) _r9_o)._fpat = (global::java.util.regex.Pattern) _r10_o;
    _r0_o = ((global::java.util.regex.Pattern) _r10_o)._fstart;
    ((global::java.util.regex.Matcher) _r9_o)._fstart = (global::java.util.regex.AbstractSet) _r0_o;
    _r0_o = new global::java.util.regex.MatchResultImpl();
    _r1_o = ((global::java.util.regex.Matcher) _r9_o)._fstring;
    _r2.i = ((global::java.util.regex.Matcher) _r9_o)._fleftBound;
    _r3.i = ((global::java.util.regex.Matcher) _r9_o)._frightBound;
    _r4.i = ((global::java.util.regex.Pattern) _r10_o).groupCount();
    _r5.i = ((global::java.util.regex.Pattern) _r10_o).compCount();
    _r6.i = ((global::java.util.regex.Pattern) _r10_o).consCount();
    ((global::java.util.regex.MatchResultImpl) _r0_o).@this((global::java.lang.CharSequence) _r1_o, (int) _r2.i, (int) _r3.i, (int) _r4.i, (int) _r5.i, (int) _r6.i);
    ((global::java.util.regex.Matcher) _r9_o)._fmatchResult = (global::java.util.regex.MatchResultImpl) _r0_o;
    _r0_o = ((global::java.util.regex.Matcher) _r9_o)._fmatchResult;
    ((global::java.util.regex.MatchResultImpl) _r0_o).setStartIndex((int) _r7.i);
    _r0_o = ((global::java.util.regex.Matcher) _r9_o)._fmatchResult;
    ((global::java.util.regex.MatchResultImpl) _r0_o).setMode((int) _r8.i);
    return (global::java.util.regex.Matcher) _r9_o;
//XMLVM_END_WRAPPER[java.util.regex.Matcher: java.util.regex.Matcher usePattern(java.util.regex.Pattern)]
}
Exemplo n.º 2
0
public void @this(global::java.util.regex.Pattern n1, global::java.lang.CharSequence n2){
//XMLVM_BEGIN_WRAPPER[java.util.regex.Matcher: void <init>(java.util.regex.Pattern, java.lang.CharSequence)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r7_o = null;
    global::System.Object _r8_o = null;
    global::System.Object _r9_o = null;
    _r7_o = this;
    _r8_o = n1;
    _r9_o = n2;
    _r2.i = 0;
    _r1.i = -1;
    _r0_o = null;
    ((global::java.lang.Object) _r7_o).@this();
    ((global::java.util.regex.Matcher) _r7_o)._fpat = (global::java.util.regex.Pattern) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._fstart = (global::java.util.regex.AbstractSet) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._fstring = (global::java.lang.CharSequence) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._fmatchResult = (global::java.util.regex.MatchResultImpl) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._fleftBound = _r1.i;
    ((global::java.util.regex.Matcher) _r7_o)._frightBound = _r1.i;
    ((global::java.util.regex.Matcher) _r7_o)._fappendPos = _r2.i;
    ((global::java.util.regex.Matcher) _r7_o)._freplacement = (global::java.lang.String) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._fprocessedRepl = (global::java.lang.String) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._freplacementParts = (global::java.util.ArrayList) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._fpat = (global::java.util.regex.Pattern) _r8_o;
    _r0_o = ((global::java.util.regex.Pattern) _r8_o)._fstart;
    ((global::java.util.regex.Matcher) _r7_o)._fstart = (global::java.util.regex.AbstractSet) _r0_o;
    ((global::java.util.regex.Matcher) _r7_o)._fstring = (global::java.lang.CharSequence) _r9_o;
    ((global::java.util.regex.Matcher) _r7_o)._fleftBound = _r2.i;
    _r0_o = ((global::java.util.regex.Matcher) _r7_o)._fstring;
    _r0.i = ((global::java.lang.CharSequence) _r0_o).length();
    ((global::java.util.regex.Matcher) _r7_o)._frightBound = _r0.i;
    _r0_o = new global::java.util.regex.MatchResultImpl();
    _r2.i = ((global::java.util.regex.Matcher) _r7_o)._fleftBound;
    _r3.i = ((global::java.util.regex.Matcher) _r7_o)._frightBound;
    _r4.i = ((global::java.util.regex.Pattern) _r8_o).groupCount();
    _r5.i = ((global::java.util.regex.Pattern) _r8_o).compCount();
    _r6.i = ((global::java.util.regex.Pattern) _r8_o).consCount();
    _r1_o = _r9_o;
    ((global::java.util.regex.MatchResultImpl) _r0_o).@this((global::java.lang.CharSequence) _r1_o, (int) _r2.i, (int) _r3.i, (int) _r4.i, (int) _r5.i, (int) _r6.i);
    ((global::java.util.regex.Matcher) _r7_o)._fmatchResult = (global::java.util.regex.MatchResultImpl) _r0_o;
    return;
//XMLVM_END_WRAPPER[java.util.regex.Matcher: void <init>(java.util.regex.Pattern, java.lang.CharSequence)]
}
Exemplo n.º 3
0
public virtual global::System.Object cloneImpl(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: java.util.regex.MatchResult cloneImpl()]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r7_o = null;
    _r7_o = this;
    _r5.i = 0;
    _r0_o = new global::java.util.regex.MatchResultImpl();
    _r1_o = ((global::java.util.regex.MatchResultImpl) _r7_o)._fstring;
    _r2.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fleftBound;
    _r3.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._frightBound;
    _r4.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fgroupCount;
    _r6.i = 1;
    _r4.i = _r4.i - _r6.i;
    _r6.i = _r5.i;
    ((global::java.util.regex.MatchResultImpl) _r0_o).@this((global::java.lang.CharSequence) _r1_o, (int) _r2.i, (int) _r3.i, (int) _r4.i, (int) _r5.i, (int) _r6.i);
    _r1.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fvalid ? 1 : 0;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._fvalid = 0!=_r1.i;
    _r1.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fvalid ? 1 : 0;
    if (_r1.i == 0) goto label35;
    _r1_o = ((global::java.util.regex.MatchResultImpl) _r7_o)._fgroupBounds;
    _r2_o = ((global::java.util.regex.MatchResultImpl) _r0_o)._fgroupBounds;
    _r3_o = ((global::java.util.regex.MatchResultImpl) _r7_o)._fgroupBounds;
    _r3.i = ((global::org.xmlvm._nIArray) _r3_o).Length;
    global::java.lang.System.arraycopy((global::java.lang.Object) _r1_o, (int) _r5.i, (global::java.lang.Object) _r2_o, (int) _r5.i, (int) _r3.i);
    label35:;
    return (global::java.util.regex.MatchResult) _r0_o;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: java.util.regex.MatchResult cloneImpl()]
}