package sre_compile import ( πg "github.com/pygolin/runtime" // _ "github.com/pygolin/stdlib/sys" // _ "github.com/pygolin/stdlib/_sre" // _ "github.com/pygolin/stdlib/sre_constants" // _ "github.com/pygolin/stdlib/sre_parse" ) var Code *πg.Code func init() { Code = πg.NewCode("<module>", "/usr/lib/python2.7/sre_compile.py", nil, 0, func(πF *πg.Frame, _ []*πg.Object) (*πg.Object, *πg.BaseException) { var πR *πg.Object; _ = πR var πE *πg.BaseException; _ = πE ß := πg.InternStr("") ß0 := πg.InternStr("0") ß1 := πg.InternStr("1") ßANY := πg.InternStr("ANY") ßANY_ALL := πg.InternStr("ANY_ALL") ßASSERT := πg.InternStr("ASSERT") ßASSERT_NOT := πg.InternStr("ASSERT_NOT") ßAT := πg.InternStr("AT") ßATCODES := πg.InternStr("ATCODES") ßAT_LOCALE := πg.InternStr("AT_LOCALE") ßAT_MULTILINE := πg.InternStr("AT_MULTILINE") ßAT_UNICODE := πg.InternStr("AT_UNICODE") ßAssertionError := πg.InternStr("AssertionError") ßBIGCHARSET := πg.InternStr("BIGCHARSET") ßBRANCH := πg.InternStr("BRANCH") ßCALL := πg.InternStr("CALL") ßCATEGORY := πg.InternStr("CATEGORY") ßCHARSET := πg.InternStr("CHARSET") ßCHCODES := πg.InternStr("CHCODES") ßCH_LOCALE := πg.InternStr("CH_LOCALE") ßCH_UNICODE := πg.InternStr("CH_UNICODE") ßCODESIZE := πg.InternStr("CODESIZE") ßFAILURE := πg.InternStr("FAILURE") ßGROUPREF := πg.InternStr("GROUPREF") ßGROUPREF_EXISTS := πg.InternStr("GROUPREF_EXISTS") ßIN := πg.InternStr("IN") ßINFO := πg.InternStr("INFO") ßIN_IGNORE := πg.InternStr("IN_IGNORE") ßIndexError := πg.InternStr("IndexError") ßJUMP := πg.InternStr("JUMP") ßLITERAL := πg.InternStr("LITERAL") ßMAGIC := πg.InternStr("MAGIC") ßMARK := πg.InternStr("MARK") ßMAXCODE := πg.InternStr("MAXCODE") ßMAX_REPEAT := πg.InternStr("MAX_REPEAT") ßMAX_UNTIL := πg.InternStr("MAX_UNTIL") ßMIN_REPEAT := πg.InternStr("MIN_REPEAT") ßMIN_REPEAT_ONE := πg.InternStr("MIN_REPEAT_ONE") ßMIN_UNTIL := πg.InternStr("MIN_UNTIL") ßNEGATE := πg.InternStr("NEGATE") ßNOT_LITERAL := πg.InternStr("NOT_LITERAL") ßNameError := πg.InternStr("NameError") ßNone := πg.InternStr("None") ßOPCODES := πg.InternStr("OPCODES") ßOP_IGNORE := πg.InternStr("OP_IGNORE") ßRANGE := πg.InternStr("RANGE") ßREPEAT := πg.InternStr("REPEAT") ßREPEAT_ONE := πg.InternStr("REPEAT_ONE") ßSRE_FLAG_DOTALL := πg.InternStr("SRE_FLAG_DOTALL") ßSRE_FLAG_IGNORECASE := πg.InternStr("SRE_FLAG_IGNORECASE") ßSRE_FLAG_LOCALE := πg.InternStr("SRE_FLAG_LOCALE") ßSRE_FLAG_MULTILINE := πg.InternStr("SRE_FLAG_MULTILINE") ßSRE_FLAG_TEMPLATE := πg.InternStr("SRE_FLAG_TEMPLATE") ßSRE_FLAG_UNICODE := πg.InternStr("SRE_FLAG_UNICODE") ßSRE_INFO_CHARSET := πg.InternStr("SRE_INFO_CHARSET") ßSRE_INFO_LITERAL := πg.InternStr("SRE_INFO_LITERAL") ßSRE_INFO_PREFIX := πg.InternStr("SRE_INFO_PREFIX") ßSTRING_TYPES := πg.InternStr("STRING_TYPES") ßSUBPATTERN := πg.InternStr("SUBPATTERN") ßSUCCESS := πg.InternStr("SUCCESS") ßTrue := πg.InternStr("True") ßValueError := πg.InternStr("ValueError") ß_ASSERT_CODES := πg.InternStr("_ASSERT_CODES") ß_BITS_TRANS := πg.InternStr("_BITS_TRANS") ß_CODEBITS := πg.InternStr("_CODEBITS") ß_LITERAL_CODES := πg.InternStr("_LITERAL_CODES") ß_REPEATING_CODES := πg.InternStr("_REPEATING_CODES") ß_SUCCESS_CODES := πg.InternStr("_SUCCESS_CODES") ß__all__ := πg.InternStr("__all__") ß__doc__ := πg.InternStr("__doc__") ß_bytes_to_codes := πg.InternStr("_bytes_to_codes") ß_code := πg.InternStr("_code") ß_compile := πg.InternStr("_compile") ß_compile_charset := πg.InternStr("_compile_charset") ß_compile_info := πg.InternStr("_compile_info") ß_equivalences := πg.InternStr("_equivalences") ß_fixup_range := πg.InternStr("_fixup_range") ß_ignorecase_fixes := πg.InternStr("_ignorecase_fixes") ß_mk_bitmap := πg.InternStr("_mk_bitmap") ß_optimize_charset := πg.InternStr("_optimize_charset") ß_simple := πg.InternStr("_simple") ß_sre := πg.InternStr("_sre") ßappend := πg.InternStr("append") ßcompile := πg.InternStr("compile") ßdata := πg.InternStr("data") ßenumerate := πg.InternStr("enumerate") ßerror := πg.InternStr("error") ßflags := πg.InternStr("flags") ßget := πg.InternStr("get") ßgetattr := πg.InternStr("getattr") ßgetlower := πg.InternStr("getlower") ßgetwidth := πg.InternStr("getwidth") ßglobals := πg.InternStr("globals") ßgroupdict := πg.InternStr("groupdict") ßgroups := πg.InternStr("groups") ßinsert := πg.InternStr("insert") ßisinstance := πg.InternStr("isinstance") ßisstring := πg.InternStr("isstring") ßitems := πg.InternStr("items") ßl := πg.InternStr("l") ßlen := πg.InternStr("len") ßmap := πg.InternStr("map") ßmax := πg.InternStr("max") ßmin := πg.InternStr("min") ßname := πg.InternStr("name") ßparse := πg.InternStr("parse") ßpattern := πg.InternStr("pattern") ßrange := πg.InternStr("range") ßset := πg.InternStr("set") ßsre_constants := πg.InternStr("sre_constants") ßsre_parse := πg.InternStr("sre_parse") ßstr := πg.InternStr("str") ßsys := πg.InternStr("sys") ßtuple := πg.InternStr("tuple") ßtype := πg.InternStr("type") ßunicode := πg.InternStr("unicode") ßxrange := πg.InternStr("xrange") var πTemp001 *πg.Object _ = πTemp001 var πTemp002 []*πg.Object _ = πTemp002 var πTemp003 *πg.Object _ = πTemp003 var πTemp004 *πg.Object _ = πTemp004 var πTemp005 bool _ = πTemp005 var πTemp006 bool _ = πTemp006 var πTemp007 *πg.Object _ = πTemp007 var πTemp008 *πg.Object _ = πTemp008 var πTemp009 *πg.Object _ = πTemp009 var πTemp010 []*πg.Object _ = πTemp010 var πTemp011 []πg.Param _ = πTemp011 var πTemp012 *πg.Object _ = πTemp012 var πTemp013 *πg.Object _ = πTemp013 var πTemp014 *πg.Object _ = πTemp014 var πTemp015 *πg.Object _ = πTemp015 var πTemp016 *πg.Object _ = πTemp016 var πTemp017 *πg.Object _ = πTemp017 var πTemp018 *πg.Object _ = πTemp018 var πTemp019 *πg.BaseException _ = πTemp019 var πTemp020 *πg.Traceback _ = πTemp020 for ; πF.State() >= 0; πF.PopCheckpoint() { switch πF.State() { case 0: case 8: goto Label8 case 1: goto Label1 case 2: goto Label2 default: panic("unexpected function state") } // line 12: """Internal support module for sre""" πF.SetLineno(12) // line 12: """Internal support module for sre""" πF.SetLineno(12) if πE = πF.Globals().SetItem(πF, ß__doc__.ToObject(), πg.NewStr("Internal support module for sre").ToObject()); πE != nil { continue } // line 14: import sys πF.SetLineno(14) if πTemp002, πE = πg.ImportModule(πF, "sys"); πE != nil { continue } πTemp001 = πTemp002[0] if πE = πF.Globals().SetItem(πF, ßsys.ToObject(), πTemp001); πE != nil { continue } // line 15: import _sre πF.SetLineno(15) if πTemp002, πE = πg.ImportModule(πF, "_sre"); πE != nil { continue } πTemp001 = πTemp002[0] if πE = πF.Globals().SetItem(πF, ß_sre.ToObject(), πTemp001); πE != nil { continue } // line 16: import sre_parse πF.SetLineno(16) if πTemp002, πE = πg.ImportModule(πF, "sre_parse"); πE != nil { continue } πTemp001 = πTemp002[0] if πE = πF.Globals().SetItem(πF, ßsre_parse.ToObject(), πTemp001); πE != nil { continue } // line 19: import sre_constants πF.SetLineno(19) if πTemp002, πE = πg.ImportModule(πF, "sre_constants"); πE != nil { continue } πTemp001 = πTemp002[0] if πE = πF.Globals().SetItem(πF, ßsre_constants.ToObject(), πTemp001); πE != nil { continue } if πTemp003, πE = πg.ResolveGlobal(πF, ßsre_constants); πE != nil { continue } if πTemp004, πE = πg.GetAttr(πF, πTemp003, ß__all__, nil); πE != nil { continue } if πTemp001, πE = πg.Iter(πF, πTemp004); πE != nil { continue } πF.PushCheckpoint(2) πTemp005 = false Label1: if πE != nil || πR != nil { continue } if πTemp005 { πF.PopCheckpoint() goto Label3 } if πTemp003, πE = πg.Next(πF, πTemp001); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp006 = !isStop } else { πTemp006 = true if πE = πF.Globals().SetItem(πF, ßname.ToObject(), πTemp003); πE != nil { continue } } if πE != nil || !πTemp006 { continue } πF.PushCheckpoint(1) // line 21: globals()[name] = getattr(sre_constants, name) πF.SetLineno(21) πTemp002 = πF.MakeArgs(2) if πTemp003, πE = πg.ResolveGlobal(πF, ßsre_constants); πE != nil { continue } πTemp002[0] = πTemp003 if πTemp003, πE = πg.ResolveGlobal(πF, ßname); πE != nil { continue } πTemp002[1] = πTemp003 if πTemp003, πE = πg.ResolveGlobal(πF, ßgetattr); πE != nil { continue } if πTemp004, πE = πTemp003.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp003}, πTemp004); πE != nil { continue } if πTemp007, πE = πg.ResolveGlobal(πF, ßglobals); πE != nil { continue } if πTemp008, πE = πTemp007.Call(πF, nil, nil); πE != nil { continue } if πTemp009, πE = πg.ResolveGlobal(πF, ßname); πE != nil { continue } πTemp007 = πTemp009 if πE = πg.SetItem(πF, πTemp008, πTemp007, πTemp003); πE != nil { continue } continue Label2: if πE != nil || πR != nil { continue } Label3: // line 23: assert _sre.MAGIC == MAGIC, "SRE module mismatch" πF.SetLineno(23) if πTemp003, πE = πg.ResolveGlobal(πF, ß_sre); πE != nil { continue } if πTemp004, πE = πg.GetAttr(πF, πTemp003, ßMAGIC, nil); πE != nil { continue } if πTemp003, πE = πg.ResolveGlobal(πF, ßMAGIC); πE != nil { continue } if πTemp001, πE = πg.Eq(πF, πTemp004, πTemp003); πE != nil { continue } if πE = πg.Assert(πF, πTemp001, πg.NewStr("SRE module mismatch").ToObject()); πE != nil { continue } if πTemp003, πE = πg.ResolveGlobal(πF, ß_sre); πE != nil { continue } if πTemp004, πE = πg.GetAttr(πF, πTemp003, ßCODESIZE, nil); πE != nil { continue } if πTemp001, πE = πg.Eq(πF, πTemp004, πg.NewInt(2).ToObject()); πE != nil { continue } if πTemp005, πE = πg.IsTrue(πF, πTemp001); πE != nil { continue } if πTemp005 { goto Label4 } goto Label5 // line 25: if _sre.CODESIZE == 2: πF.SetLineno(25) Label4: // line 26: MAXCODE = 65535 πF.SetLineno(26) if πE = πF.Globals().SetItem(πF, ßMAXCODE.ToObject(), πg.NewInt(65535).ToObject()); πE != nil { continue } goto Label6 Label5: // line 28: MAXCODE = 0xFFFFFFFFL πF.SetLineno(28) if πE = πF.Globals().SetItem(πF, ßMAXCODE.ToObject(), πg.NewLongFromBytes([]byte{0xff,0xff,0xff,0xff,}).ToObject()); πE != nil { continue } goto Label6 Label6: // line 30: _LITERAL_CODES = set([LITERAL, NOT_LITERAL]) πF.SetLineno(30) πTemp002 = πF.MakeArgs(1) πTemp010 = make([]*πg.Object, 2) if πTemp001, πE = πg.ResolveGlobal(πF, ßLITERAL); πE != nil { continue } πTemp010[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßNOT_LITERAL); πE != nil { continue } πTemp010[1] = πTemp001 πTemp001 = πg.NewList(πTemp010...).ToObject() πTemp002[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßset); πE != nil { continue } if πTemp003, πE = πTemp001.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) if πE = πF.Globals().SetItem(πF, ß_LITERAL_CODES.ToObject(), πTemp003); πE != nil { continue } // line 31: _REPEATING_CODES = set([REPEAT, MIN_REPEAT, MAX_REPEAT]) πF.SetLineno(31) πTemp002 = πF.MakeArgs(1) πTemp010 = make([]*πg.Object, 3) if πTemp001, πE = πg.ResolveGlobal(πF, ßREPEAT); πE != nil { continue } πTemp010[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßMIN_REPEAT); πE != nil { continue } πTemp010[1] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßMAX_REPEAT); πE != nil { continue } πTemp010[2] = πTemp001 πTemp001 = πg.NewList(πTemp010...).ToObject() πTemp002[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßset); πE != nil { continue } if πTemp003, πE = πTemp001.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) if πE = πF.Globals().SetItem(πF, ß_REPEATING_CODES.ToObject(), πTemp003); πE != nil { continue } // line 32: _SUCCESS_CODES = set([SUCCESS, FAILURE]) πF.SetLineno(32) πTemp002 = πF.MakeArgs(1) πTemp010 = make([]*πg.Object, 2) if πTemp001, πE = πg.ResolveGlobal(πF, ßSUCCESS); πE != nil { continue } πTemp010[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßFAILURE); πE != nil { continue } πTemp010[1] = πTemp001 πTemp001 = πg.NewList(πTemp010...).ToObject() πTemp002[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßset); πE != nil { continue } if πTemp003, πE = πTemp001.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) if πE = πF.Globals().SetItem(πF, ß_SUCCESS_CODES.ToObject(), πTemp003); πE != nil { continue } // line 33: _ASSERT_CODES = set([ASSERT, ASSERT_NOT]) πF.SetLineno(33) πTemp002 = πF.MakeArgs(1) πTemp010 = make([]*πg.Object, 2) if πTemp001, πE = πg.ResolveGlobal(πF, ßASSERT); πE != nil { continue } πTemp010[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßASSERT_NOT); πE != nil { continue } πTemp010[1] = πTemp001 πTemp001 = πg.NewList(πTemp010...).ToObject() πTemp002[0] = πTemp001 if πTemp001, πE = πg.ResolveGlobal(πF, ßset); πE != nil { continue } if πTemp003, πE = πTemp001.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) if πE = πF.Globals().SetItem(πF, ß_ASSERT_CODES.ToObject(), πTemp003); πE != nil { continue } // line 36: _equivalences = ( πF.SetLineno(36) πTemp002 = make([]*πg.Object, 13) πTemp003 = πg.NewTuple2(πg.NewInt(105).ToObject(), πg.NewInt(305).ToObject()).ToObject() πTemp002[0] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(115).ToObject(), πg.NewInt(383).ToObject()).ToObject() πTemp002[1] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(181).ToObject(), πg.NewInt(956).ToObject()).ToObject() πTemp002[2] = πTemp003 πTemp003 = πg.NewTuple3(πg.NewInt(837).ToObject(), πg.NewInt(953).ToObject(), πg.NewInt(8126).ToObject()).ToObject() πTemp002[3] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(946).ToObject(), πg.NewInt(976).ToObject()).ToObject() πTemp002[4] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(949).ToObject(), πg.NewInt(1013).ToObject()).ToObject() πTemp002[5] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(952).ToObject(), πg.NewInt(977).ToObject()).ToObject() πTemp002[6] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(954).ToObject(), πg.NewInt(1008).ToObject()).ToObject() πTemp002[7] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(960).ToObject(), πg.NewInt(982).ToObject()).ToObject() πTemp002[8] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(961).ToObject(), πg.NewInt(1009).ToObject()).ToObject() πTemp002[9] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(962).ToObject(), πg.NewInt(963).ToObject()).ToObject() πTemp002[10] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(966).ToObject(), πg.NewInt(981).ToObject()).ToObject() πTemp002[11] = πTemp003 πTemp003 = πg.NewTuple2(πg.NewInt(7777).ToObject(), πg.NewInt(7835).ToObject()).ToObject() πTemp002[12] = πTemp003 πTemp001 = πg.NewTuple(πTemp002...).ToObject() if πE = πF.Globals().SetItem(πF, ß_equivalences.ToObject(), πTemp001); πE != nil { continue } // line 66: _ignorecase_fixes = {i: tuple(j for j in t if i != j) πF.SetLineno(66) πTemp011 = make([]πg.Param, 0) πTemp003 = πg.NewFunction(πg.NewCode("<generator>", "/usr/lib/python2.7/sre_compile.py", πTemp011, 0, func(πF *πg.Frame, πArgs []*πg.Object) (*πg.Object, *πg.BaseException) { var µt *πg.Object = πg.UnboundLocal; _ = µt var µi *πg.Object = πg.UnboundLocal; _ = µi var πTemp001 *πg.Object _ = πTemp001 var πTemp002 *πg.Object _ = πTemp002 var πTemp003 bool _ = πTemp003 var πTemp004 bool _ = πTemp004 var πTemp005 bool _ = πTemp005 var πTemp006 *πg.Object _ = πTemp006 var πTemp007 []*πg.Object _ = πTemp007 var πTemp008 *πg.Object _ = πTemp008 var πTemp009 []πg.Param _ = πTemp009 var πTemp010 *πg.Object _ = πTemp010 var πTemp011 *πg.Object _ = πTemp011 var πR *πg.Object; _ = πR var πE *πg.BaseException; _ = πE return πg.NewGenerator(πF, func(πSent *πg.Object) (*πg.Object, *πg.BaseException) { for ; πF.State() >= 0; πF.PopCheckpoint() { switch πF.State() { case 0: case 1: goto Label1 case 2: goto Label2 case 4: goto Label4 case 5: goto Label5 case 7: goto Label7 default: panic("unexpected function state") } if πTemp002, πE = πg.ResolveGlobal(πF, ß_equivalences); πE != nil { continue } if πTemp001, πE = πg.Iter(πF, πTemp002); πE != nil { continue } πF.PushCheckpoint(2) πTemp003 = false Label1: if πE != nil || πR != nil { continue } if πTemp003 { πF.PopCheckpoint() goto Label3 } if πTemp002, πE = πg.Next(πF, πTemp001); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp004 = !isStop } else { πTemp004 = true µt = πTemp002 } if πE != nil || !πTemp004 { continue } πF.PushCheckpoint(1) if πE = πg.CheckLocal(πF, µt, "t"); πE != nil { continue } if πTemp002, πE = πg.Iter(πF, µt); πE != nil { continue } πF.PushCheckpoint(5) πTemp004 = false Label4: if πE != nil || πR != nil { continue } if πTemp004 { πF.PopCheckpoint() goto Label6 } if πTemp006, πE = πg.Next(πF, πTemp002); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp005 = !isStop } else { πTemp005 = true µi = πTemp006 } if πE != nil || !πTemp005 { continue } πF.PushCheckpoint(4) // line 66: _ignorecase_fixes = {i: tuple(j for j in t if i != j) πF.SetLineno(66) if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } πTemp007 = πF.MakeArgs(1) πTemp009 = make([]πg.Param, 0) πTemp008 = πg.NewFunction(πg.NewCode("<generator>", "/usr/lib/python2.7/sre_compile.py", πTemp009, 0, func(πF *πg.Frame, πArgs []*πg.Object) (*πg.Object, *πg.BaseException) { var µj *πg.Object = πg.UnboundLocal; _ = µj var πTemp001 *πg.Object _ = πTemp001 var πTemp002 bool _ = πTemp002 var πTemp003 bool _ = πTemp003 var πTemp004 *πg.Object _ = πTemp004 var πR *πg.Object; _ = πR var πE *πg.BaseException; _ = πE return πg.NewGenerator(πF, func(πSent *πg.Object) (*πg.Object, *πg.BaseException) { for ; πF.State() >= 0; πF.PopCheckpoint() { switch πF.State() { case 0: case 1: goto Label1 case 2: goto Label2 case 6: goto Label6 default: panic("unexpected function state") } if πE = πg.CheckLocal(πF, µt, "t"); πE != nil { continue } if πTemp001, πE = πg.Iter(πF, µt); πE != nil { continue } πF.PushCheckpoint(2) πTemp002 = false Label1: if πE != nil || πR != nil { continue } if πTemp002 { πF.PopCheckpoint() goto Label3 } if πTemp004, πE = πg.Next(πF, πTemp001); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp003 = !isStop } else { πTemp003 = true µj = πTemp004 } if πE != nil || !πTemp003 { continue } πF.PushCheckpoint(1) if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } if πE = πg.CheckLocal(πF, µj, "j"); πE != nil { continue } if πTemp004, πE = πg.NE(πF, µi, µj); πE != nil { continue } if πTemp003, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp003 { goto Label4 } goto Label5 // line 66: _ignorecase_fixes = {i: tuple(j for j in t if i != j) πF.SetLineno(66) Label4: // line 66: _ignorecase_fixes = {i: tuple(j for j in t if i != j) πF.SetLineno(66) if πE = πg.CheckLocal(πF, µj, "j"); πE != nil { continue } πF.PushCheckpoint(6) return µj, nil Label6: πTemp004 = πSent goto Label5 Label5: continue Label2: if πE != nil || πR != nil { continue } Label3: } return nil, πE }).ToObject(), nil }), πF.Globals()).ToObject() if πTemp010, πE = πTemp008.Call(πF, nil, nil); πE != nil { continue } πTemp007[0] = πTemp010 if πTemp010, πE = πg.ResolveGlobal(πF, ßtuple); πE != nil { continue } if πTemp011, πE = πTemp010.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) πTemp006 = πg.NewTuple2(µi, πTemp011).ToObject() πF.PushCheckpoint(7) return πTemp006, nil Label7: πTemp010 = πSent continue Label5: if πE != nil || πR != nil { continue } Label6: continue Label2: if πE != nil || πR != nil { continue } Label3: } return nil, πE }).ToObject(), nil }), πF.Globals()).ToObject() if πTemp004, πE = πTemp003.Call(πF, nil, nil); πE != nil { continue } if πTemp001, πE = πg.DictType.Call(πF, πg.Args{πTemp004}, nil); πE != nil { continue } if πE = πF.Globals().SetItem(πF, ß_ignorecase_fixes.ToObject(), πTemp001); πE != nil { continue } // line 69: def _compile(code, pattern, flags): πF.SetLineno(69) πTemp011 = make([]πg.Param, 3) πTemp011[0] = πg.Param{Name: "code", Def: nil} πTemp011[1] = πg.Param{Name: "pattern", Def: nil} πTemp011[2] = πg.Param{Name: "flags", Def: nil} πTemp001 = πg.NewFunction(πg.NewCode("_compile", "/usr/lib/python2.7/sre_compile.py", πTemp011, 0, func(πF *πg.Frame, πArgs []*πg.Object) (*πg.Object, *πg.BaseException) { var µcode *πg.Object = πArgs[0]; _ = µcode var µpattern *πg.Object = πArgs[1]; _ = µpattern var µflags *πg.Object = πArgs[2]; _ = µflags var µemit *πg.Object = πg.UnboundLocal; _ = µemit var µ_len *πg.Object = πg.UnboundLocal; _ = µ_len var µLITERAL_CODES *πg.Object = πg.UnboundLocal; _ = µLITERAL_CODES var µREPEATING_CODES *πg.Object = πg.UnboundLocal; _ = µREPEATING_CODES var µSUCCESS_CODES *πg.Object = πg.UnboundLocal; _ = µSUCCESS_CODES var µASSERT_CODES *πg.Object = πg.UnboundLocal; _ = µASSERT_CODES var µfixes *πg.Object = πg.UnboundLocal; _ = µfixes var µop *πg.Object = πg.UnboundLocal; _ = µop var µav *πg.Object = πg.UnboundLocal; _ = µav var µlo *πg.Object = πg.UnboundLocal; _ = µlo var µskip *πg.Object = πg.UnboundLocal; _ = µskip var µk *πg.Object = πg.UnboundLocal; _ = µk var µfixup *πg.Object = πg.UnboundLocal; _ = µfixup var µhi *πg.Object = πg.UnboundLocal; _ = µhi var µtail *πg.Object = πg.UnboundLocal; _ = µtail var µtailappend *πg.Object = πg.UnboundLocal; _ = µtailappend var µskipyes *πg.Object = πg.UnboundLocal; _ = µskipyes var µskipno *πg.Object = πg.UnboundLocal; _ = µskipno var πTemp001 *πg.Object _ = πTemp001 var πTemp002 bool _ = πTemp002 var πTemp003 *πg.Object _ = πTemp003 var πTemp004 *πg.Object _ = πTemp004 var πTemp005 *πg.Object _ = πTemp005 var πTemp006 bool _ = πTemp006 var πTemp007 []*πg.Object _ = πTemp007 var πTemp008 bool _ = πTemp008 var πTemp009 *πg.Object _ = πTemp009 var πTemp010 *πg.Object _ = πTemp010 var πTemp011 []πg.Param _ = πTemp011 var πTemp012 *πg.Object _ = πTemp012 var πTemp013 []*πg.Object _ = πTemp013 var πR *πg.Object; _ = πR var πE *πg.BaseException; _ = πE for ; πF.State() >= 0; πF.PopCheckpoint() { switch πF.State() { case 0: case 32: goto Label32 case 33: goto Label33 case 66: goto Label66 case 67: goto Label67 case 5: goto Label5 case 6: goto Label6 case 70: goto Label70 case 69: goto Label69 default: panic("unexpected function state") } // line 71: emit = code.append πF.SetLineno(71) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πTemp001, πE = πg.GetAttr(πF, µcode, ßappend, nil); πE != nil { continue } µemit = πTemp001 // line 72: _len = len πF.SetLineno(72) if πTemp001, πE = πg.ResolveGlobal(πF, ßlen); πE != nil { continue } µ_len = πTemp001 // line 73: LITERAL_CODES = _LITERAL_CODES πF.SetLineno(73) if πTemp001, πE = πg.ResolveGlobal(πF, ß_LITERAL_CODES); πE != nil { continue } µLITERAL_CODES = πTemp001 // line 74: REPEATING_CODES = _REPEATING_CODES πF.SetLineno(74) if πTemp001, πE = πg.ResolveGlobal(πF, ß_REPEATING_CODES); πE != nil { continue } µREPEATING_CODES = πTemp001 // line 75: SUCCESS_CODES = _SUCCESS_CODES πF.SetLineno(75) if πTemp001, πE = πg.ResolveGlobal(πF, ß_SUCCESS_CODES); πE != nil { continue } µSUCCESS_CODES = πTemp001 // line 76: ASSERT_CODES = _ASSERT_CODES πF.SetLineno(76) if πTemp001, πE = πg.ResolveGlobal(πF, ß_ASSERT_CODES); πE != nil { continue } µASSERT_CODES = πTemp001 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_IGNORECASE); πE != nil { continue } if πTemp003, πE = πg.And(πF, µflags, πTemp004); πE != nil { continue } πTemp001 = πTemp003 if πTemp002, πE = πg.IsTrue(πF, πTemp001); πE != nil { continue } if !πTemp002 { goto Label1 } if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_LOCALE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } πTemp003 = πg.GetBool(!πTemp006).ToObject() πTemp001 = πTemp003 if πTemp002, πE = πg.IsTrue(πF, πTemp001); πE != nil { continue } if !πTemp002 { goto Label1 } if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_UNICODE); πE != nil { continue } if πTemp003, πE = πg.And(πF, µflags, πTemp004); πE != nil { continue } πTemp001 = πTemp003 Label1: if πTemp002, πE = πg.IsTrue(πF, πTemp001); πE != nil { continue } if πTemp002 { goto Label2 } goto Label3 // line 77: if (flags & SRE_FLAG_IGNORECASE and πF.SetLineno(77) Label2: // line 80: fixes = _ignorecase_fixes πF.SetLineno(80) if πTemp001, πE = πg.ResolveGlobal(πF, ß_ignorecase_fixes); πE != nil { continue } µfixes = πTemp001 goto Label4 Label3: // line 82: fixes = None πF.SetLineno(82) if πTemp001, πE = πg.ResolveGlobal(πF, ßNone); πE != nil { continue } µfixes = πTemp001 goto Label4 Label4: if πE = πg.CheckLocal(πF, µpattern, "pattern"); πE != nil { continue } if πTemp001, πE = πg.Iter(πF, µpattern); πE != nil { continue } πF.PushCheckpoint(6) πTemp002 = false Label5: if πE != nil || πR != nil { continue } if πTemp002 { πF.PopCheckpoint() goto Label7 } if πTemp003, πE = πg.Next(πF, πTemp001); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp006 = !isStop } else { πTemp006 = true if πE = πg.Tie(πF, πg.TieTarget{Children: []πg.TieTarget{πg.TieTarget{Target: &πTemp004}, πg.TieTarget{Target: &πTemp005}}}, πTemp003); πE != nil { continue } µop = πTemp004 µav = πTemp005 } if πE != nil || !πTemp006 { continue } πF.PushCheckpoint(5) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πE = πg.CheckLocal(πF, µLITERAL_CODES, "LITERAL_CODES"); πE != nil { continue } if πTemp006, πE = πg.Contains(πF, µLITERAL_CODES, µop); πE != nil { continue } πTemp003 = πg.GetBool(πTemp006).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label8 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßIN); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label9 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßANY); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label10 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πE = πg.CheckLocal(πF, µREPEATING_CODES, "REPEATING_CODES"); πE != nil { continue } if πTemp006, πE = πg.Contains(πF, µREPEATING_CODES, µop); πE != nil { continue } πTemp003 = πg.GetBool(πTemp006).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label11 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSUBPATTERN); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label12 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πE = πg.CheckLocal(πF, µSUCCESS_CODES, "SUCCESS_CODES"); πE != nil { continue } if πTemp006, πE = πg.Contains(πF, µSUCCESS_CODES, µop); πE != nil { continue } πTemp003 = πg.GetBool(πTemp006).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label13 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πE = πg.CheckLocal(πF, µASSERT_CODES, "ASSERT_CODES"); πE != nil { continue } if πTemp006, πE = πg.Contains(πF, µASSERT_CODES, µop); πE != nil { continue } πTemp003 = πg.GetBool(πTemp006).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label14 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßCALL); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label15 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßAT); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label16 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßBRANCH); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label17 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßCATEGORY); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label18 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßGROUPREF); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label19 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßGROUPREF_EXISTS); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label20 } goto Label21 // line 84: if op in LITERAL_CODES: πF.SetLineno(84) Label8: if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_IGNORECASE); πE != nil { continue } if πTemp003, πE = πg.And(πF, µflags, πTemp004); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label23 } goto Label24 // line 85: if flags & SRE_FLAG_IGNORECASE: πF.SetLineno(85) Label23: // line 86: lo = _sre.getlower(av, flags) πF.SetLineno(86) πTemp007 = πF.MakeArgs(2) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[0] = µav if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[1] = µflags if πTemp003, πE = πg.ResolveGlobal(πF, ß_sre); πE != nil { continue } if πTemp004, πE = πg.GetAttr(πF, πTemp003, ßgetlower, nil); πE != nil { continue } if πTemp003, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µlo = πTemp003 if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } πTemp003 = µfixes if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if !πTemp006 { goto Label26 } if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } if πTemp008, πE = πg.Contains(πF, µfixes, µlo); πE != nil { continue } πTemp004 = πg.GetBool(πTemp008).ToObject() πTemp003 = πTemp004 Label26: if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label27 } goto Label28 // line 87: if fixes and lo in fixes: πF.SetLineno(87) Label27: // line 88: emit(OPCODES[IN_IGNORE]) πF.SetLineno(88) πTemp007 = πF.MakeArgs(1) if πTemp004, πE = πg.ResolveGlobal(πF, ßIN_IGNORE); πE != nil { continue } πTemp003 = πTemp004 if πTemp005, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp005, πTemp003); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 89: skip = _len(code); emit(0) πF.SetLineno(89) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp003, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp003 // line 89: skip = _len(code); emit(0) πF.SetLineno(89) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßNOT_LITERAL); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label30 } goto Label31 // line 90: if op is NOT_LITERAL: πF.SetLineno(90) Label30: // line 91: emit(OPCODES[NEGATE]) πF.SetLineno(91) πTemp007 = πF.MakeArgs(1) if πTemp004, πE = πg.ResolveGlobal(πF, ßNEGATE); πE != nil { continue } πTemp003 = πTemp004 if πTemp005, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp005, πTemp003); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label31 Label31: if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } πTemp005 = πg.NewTuple1(µlo).ToObject() if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } πTemp009 = µlo if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } if πTemp010, πE = πg.GetItem(πF, µfixes, πTemp009); πE != nil { continue } if πTemp004, πE = πg.Add(πF, πTemp005, πTemp010); πE != nil { continue } if πTemp003, πE = πg.Iter(πF, πTemp004); πE != nil { continue } πF.PushCheckpoint(33) πTemp006 = false Label32: if πE != nil || πR != nil { continue } if πTemp006 { πF.PopCheckpoint() goto Label34 } if πTemp004, πE = πg.Next(πF, πTemp003); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp008 = !isStop } else { πTemp008 = true µk = πTemp004 } if πE != nil || !πTemp008 { continue } πF.PushCheckpoint(32) // line 93: emit(OPCODES[LITERAL]) πF.SetLineno(93) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßLITERAL); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 94: emit(k) πF.SetLineno(94) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µk, "k"); πE != nil { continue } πTemp007[0] = µk if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) continue Label33: if πE != nil || πR != nil { continue } Label34: // line 95: emit(OPCODES[FAILURE]) πF.SetLineno(95) πTemp007 = πF.MakeArgs(1) if πTemp004, πE = πg.ResolveGlobal(πF, ßFAILURE); πE != nil { continue } πTemp003 = πTemp004 if πTemp005, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp005, πTemp003); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 96: code[skip] = _len(code) - skip πF.SetLineno(96) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp003, πE = πg.Sub(πF, πTemp004, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp004}, πTemp003); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp005 = µskip if πE = πg.SetItem(πF, µcode, πTemp005, πTemp004); πE != nil { continue } goto Label29 Label28: // line 98: emit(OPCODES[OP_IGNORE[op]]) πF.SetLineno(98) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOP_IGNORE); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp003 = πTemp005 if πTemp005, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp005, πTemp003); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 99: emit(lo) πF.SetLineno(99) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } πTemp007[0] = µlo if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label29 Label29: goto Label25 Label24: // line 101: emit(OPCODES[op]) πF.SetLineno(101) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp003 = µop if πTemp005, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp005, πTemp003); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 102: emit(av) πF.SetLineno(102) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[0] = µav if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label25 Label25: goto Label22 // line 103: elif op is IN: πF.SetLineno(103) Label9: if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_IGNORECASE); πE != nil { continue } if πTemp003, πE = πg.And(πF, µflags, πTemp004); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label35 } goto Label36 // line 104: if flags & SRE_FLAG_IGNORECASE: πF.SetLineno(104) Label35: // line 105: emit(OPCODES[OP_IGNORE[op]]) πF.SetLineno(105) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOP_IGNORE); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp003 = πTemp005 if πTemp005, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp005, πTemp003); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 106: def fixup(literal, flags=flags): πF.SetLineno(106) πTemp011 = make([]πg.Param, 2) πTemp011[0] = πg.Param{Name: "literal", Def: nil} if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp011[1] = πg.Param{Name: "flags", Def: µflags} πTemp003 = πg.NewFunction(πg.NewCode("fixup", "/usr/lib/python2.7/sre_compile.py", πTemp011, 0, func(πF *πg.Frame, πArgs []*πg.Object) (*πg.Object, *πg.BaseException) { var µliteral *πg.Object = πArgs[0]; _ = µliteral var µflags *πg.Object = πArgs[1]; _ = µflags var πTemp001 []*πg.Object _ = πTemp001 var πTemp002 *πg.Object _ = πTemp002 var πTemp003 *πg.Object _ = πTemp003 var πR *πg.Object; _ = πR var πE *πg.BaseException; _ = πE for ; πF.State() >= 0; πF.PopCheckpoint() { switch πF.State() { case 0: default: panic("unexpected function state") } // line 107: return _sre.getlower(literal, flags) πF.SetLineno(107) πTemp001 = πF.MakeArgs(2) if πE = πg.CheckLocal(πF, µliteral, "literal"); πE != nil { continue } πTemp001[0] = µliteral if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp001[1] = µflags if πTemp002, πE = πg.ResolveGlobal(πF, ß_sre); πE != nil { continue } if πTemp003, πE = πg.GetAttr(πF, πTemp002, ßgetlower, nil); πE != nil { continue } if πTemp002, πE = πTemp003.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) πR = πTemp002 continue } if πE != nil { πR = nil } else if πR == nil { πR = πg.None } return πR, πE }), πF.Globals()).ToObject() µfixup = πTemp003 goto Label37 Label36: // line 109: emit(OPCODES[op]) πF.SetLineno(109) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 110: fixup = None πF.SetLineno(110) if πTemp004, πE = πg.ResolveGlobal(πF, ßNone); πE != nil { continue } µfixup = πTemp004 goto Label37 Label37: // line 111: skip = _len(code); emit(0) πF.SetLineno(111) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp004 // line 111: skip = _len(code); emit(0) πF.SetLineno(111) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 112: _compile_charset(av, flags, code, fixup, fixes) πF.SetLineno(112) πTemp007 = πF.MakeArgs(5) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[0] = µav if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[1] = µflags if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[2] = µcode if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } πTemp007[3] = µfixup if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } πTemp007[4] = µfixes if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile_charset); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 113: code[skip] = _len(code) - skip πF.SetLineno(113) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp005, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp009 = µskip if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } goto Label22 // line 114: elif op is ANY: πF.SetLineno(114) Label10: if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_DOTALL); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label38 } goto Label39 // line 115: if flags & SRE_FLAG_DOTALL: πF.SetLineno(115) Label38: // line 116: emit(OPCODES[ANY_ALL]) πF.SetLineno(116) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßANY_ALL); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label40 Label39: // line 118: emit(OPCODES[ANY]) πF.SetLineno(118) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßANY); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label40 Label40: goto Label22 // line 119: elif op in REPEATING_CODES: πF.SetLineno(119) Label11: if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_TEMPLATE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label41 } πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[0] = µav if πTemp005, πE = πg.ResolveGlobal(πF, ß_simple); πE != nil { continue } if πTemp009, πE = πTemp005.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) πTemp004 = πTemp009 if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if !πTemp006 { goto Label42 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp009, πE = πg.ResolveGlobal(πF, ßREPEAT); πE != nil { continue } πTemp005 = πg.GetBool(µop != πTemp009).ToObject() πTemp004 = πTemp005 Label42: if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label43 } goto Label44 // line 120: if flags & SRE_FLAG_TEMPLATE: πF.SetLineno(120) Label41: if πTemp004, πE = πg.ResolveGlobal(πF, ßerror); πE != nil { continue } // line 121: raise error, "internal: unsupported template operator" πF.SetLineno(121) πE = πF.Raise(πTemp004, πg.NewStr("internal: unsupported template operator").ToObject(), nil) continue // line 122: emit(OPCODES[REPEAT]) πF.SetLineno(122) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßREPEAT); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 123: skip = _len(code); emit(0) πF.SetLineno(123) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp004 // line 123: skip = _len(code); emit(0) πF.SetLineno(123) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 124: emit(av[0]) πF.SetLineno(124) πTemp007 = πF.MakeArgs(1) πTemp004 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 125: emit(av[1]) πF.SetLineno(125) πTemp007 = πF.MakeArgs(1) πTemp004 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 126: _compile(code, av[2], flags) πF.SetLineno(126) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode πTemp004 = πg.NewInt(2).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[1] = πTemp005 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 127: emit(OPCODES[SUCCESS]) πF.SetLineno(127) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßSUCCESS); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 128: code[skip] = _len(code) - skip πF.SetLineno(128) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp005, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp009 = µskip if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } goto Label45 // line 129: elif _simple(av) and op is not REPEAT: πF.SetLineno(129) Label43: if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßMAX_REPEAT); πE != nil { continue } πTemp004 = πg.GetBool(µop == πTemp005).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label46 } goto Label47 // line 130: if op is MAX_REPEAT: πF.SetLineno(130) Label46: // line 131: emit(OPCODES[REPEAT_ONE]) πF.SetLineno(131) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßREPEAT_ONE); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label48 Label47: // line 133: emit(OPCODES[MIN_REPEAT_ONE]) πF.SetLineno(133) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßMIN_REPEAT_ONE); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label48 Label48: // line 134: skip = _len(code); emit(0) πF.SetLineno(134) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp004 // line 134: skip = _len(code); emit(0) πF.SetLineno(134) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 135: emit(av[0]) πF.SetLineno(135) πTemp007 = πF.MakeArgs(1) πTemp004 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 136: emit(av[1]) πF.SetLineno(136) πTemp007 = πF.MakeArgs(1) πTemp004 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 137: _compile(code, av[2], flags) πF.SetLineno(137) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode πTemp004 = πg.NewInt(2).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[1] = πTemp005 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 138: emit(OPCODES[SUCCESS]) πF.SetLineno(138) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßSUCCESS); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 139: code[skip] = _len(code) - skip πF.SetLineno(139) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp005, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp009 = µskip if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } goto Label45 Label44: // line 141: emit(OPCODES[REPEAT]) πF.SetLineno(141) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßREPEAT); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 142: skip = _len(code); emit(0) πF.SetLineno(142) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp004 // line 142: skip = _len(code); emit(0) πF.SetLineno(142) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 143: emit(av[0]) πF.SetLineno(143) πTemp007 = πF.MakeArgs(1) πTemp004 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 144: emit(av[1]) πF.SetLineno(144) πTemp007 = πF.MakeArgs(1) πTemp004 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 145: _compile(code, av[2], flags) πF.SetLineno(145) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode πTemp004 = πg.NewInt(2).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[1] = πTemp005 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 146: code[skip] = _len(code) - skip πF.SetLineno(146) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp005, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp009 = µskip if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßMAX_REPEAT); πE != nil { continue } πTemp004 = πg.GetBool(µop == πTemp005).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label49 } goto Label50 // line 147: if op is MAX_REPEAT: πF.SetLineno(147) Label49: // line 148: emit(OPCODES[MAX_UNTIL]) πF.SetLineno(148) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßMAX_UNTIL); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label51 Label50: // line 150: emit(OPCODES[MIN_UNTIL]) πF.SetLineno(150) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßMIN_UNTIL); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label51 Label51: goto Label45 Label45: goto Label22 // line 151: elif op is SUBPATTERN: πF.SetLineno(151) Label12: πTemp004 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp005); πE != nil { continue } if πTemp006 { goto Label52 } goto Label53 // line 152: if av[0]: πF.SetLineno(152) Label52: // line 153: emit(OPCODES[MARK]) πF.SetLineno(153) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßMARK); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 154: emit((av[0]-1)*2) πF.SetLineno(154) πTemp007 = πF.MakeArgs(1) πTemp009 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp010, πE = πg.GetItem(πF, µav, πTemp009); πE != nil { continue } if πTemp005, πE = πg.Sub(πF, πTemp010, πg.NewInt(1).ToObject()); πE != nil { continue } if πTemp004, πE = πg.Mul(πF, πTemp005, πg.NewInt(2).ToObject()); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label53 Label53: // line 156: _compile(code, av[1], flags) πF.SetLineno(156) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode πTemp004 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[1] = πTemp005 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) πTemp004 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp005); πE != nil { continue } if πTemp006 { goto Label54 } goto Label55 // line 157: if av[0]: πF.SetLineno(157) Label54: // line 158: emit(OPCODES[MARK]) πF.SetLineno(158) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßMARK); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 159: emit((av[0]-1)*2+1) πF.SetLineno(159) πTemp007 = πF.MakeArgs(1) πTemp010 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp012, πE = πg.GetItem(πF, µav, πTemp010); πE != nil { continue } if πTemp009, πE = πg.Sub(πF, πTemp012, πg.NewInt(1).ToObject()); πE != nil { continue } if πTemp005, πE = πg.Mul(πF, πTemp009, πg.NewInt(2).ToObject()); πE != nil { continue } if πTemp004, πE = πg.Add(πF, πTemp005, πg.NewInt(1).ToObject()); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label55 Label55: goto Label22 // line 160: elif op in SUCCESS_CODES: πF.SetLineno(160) Label13: // line 161: emit(OPCODES[op]) πF.SetLineno(161) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label22 // line 162: elif op in ASSERT_CODES: πF.SetLineno(162) Label14: // line 163: emit(OPCODES[op]) πF.SetLineno(163) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 164: skip = _len(code); emit(0) πF.SetLineno(164) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp004 // line 164: skip = _len(code); emit(0) πF.SetLineno(164) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) πTemp005 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp009, πE = πg.GetItem(πF, µav, πTemp005); πE != nil { continue } if πTemp004, πE = πg.GE(πF, πTemp009, πg.NewInt(0).ToObject()); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label56 } goto Label57 // line 165: if av[0] >= 0: πF.SetLineno(165) Label56: // line 166: emit(0) # look ahead πF.SetLineno(166) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label58 Label57: // line 168: lo, hi = av[1].getwidth() πF.SetLineno(168) πTemp004 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } if πTemp004, πE = πg.GetAttr(πF, πTemp005, ßgetwidth, nil); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, nil, nil); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Children: []πg.TieTarget{πg.TieTarget{Target: &πTemp004}, πg.TieTarget{Target: &πTemp009}}}, πTemp005); πE != nil { continue } µlo = πTemp004 µhi = πTemp009 if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } if πE = πg.CheckLocal(πF, µhi, "hi"); πE != nil { continue } if πTemp004, πE = πg.NE(πF, µlo, µhi); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label59 } goto Label60 // line 169: if lo != hi: πF.SetLineno(169) Label59: if πTemp004, πE = πg.ResolveGlobal(πF, ßerror); πE != nil { continue } // line 170: raise error, "look-behind requires fixed-width pattern" πF.SetLineno(170) πE = πF.Raise(πTemp004, πg.NewStr("look-behind requires fixed-width pattern").ToObject(), nil) continue goto Label60 Label60: // line 171: emit(lo) # look behind πF.SetLineno(171) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } πTemp007[0] = µlo if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label58 Label58: // line 172: _compile(code, av[1], flags) πF.SetLineno(172) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode πTemp004 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[1] = πTemp005 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 173: emit(OPCODES[SUCCESS]) πF.SetLineno(173) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßSUCCESS); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 174: code[skip] = _len(code) - skip πF.SetLineno(174) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp005, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp009 = µskip if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } goto Label22 // line 175: elif op is CALL: πF.SetLineno(175) Label15: // line 176: emit(OPCODES[op]) πF.SetLineno(176) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 177: skip = _len(code); emit(0) πF.SetLineno(177) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp004 // line 177: skip = _len(code); emit(0) πF.SetLineno(177) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 178: _compile(code, av, flags) πF.SetLineno(178) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[1] = µav if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 179: emit(OPCODES[SUCCESS]) πF.SetLineno(179) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßSUCCESS); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 180: code[skip] = _len(code) - skip πF.SetLineno(180) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp005, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp009 = µskip if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } goto Label22 // line 181: elif op is AT: πF.SetLineno(181) Label16: // line 182: emit(OPCODES[op]) πF.SetLineno(182) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_MULTILINE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label61 } goto Label62 // line 183: if flags & SRE_FLAG_MULTILINE: πF.SetLineno(183) Label61: // line 184: av = AT_MULTILINE.get(av, av) πF.SetLineno(184) πTemp007 = πF.MakeArgs(2) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[0] = µav if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[1] = µav if πTemp004, πE = πg.ResolveGlobal(πF, ßAT_MULTILINE); πE != nil { continue } if πTemp005, πE = πg.GetAttr(πF, πTemp004, ßget, nil); πE != nil { continue } if πTemp004, πE = πTemp005.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µav = πTemp004 goto Label62 Label62: if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_LOCALE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label63 } if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_UNICODE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label64 } goto Label65 // line 185: if flags & SRE_FLAG_LOCALE: πF.SetLineno(185) Label63: // line 186: av = AT_LOCALE.get(av, av) πF.SetLineno(186) πTemp007 = πF.MakeArgs(2) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[0] = µav if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[1] = µav if πTemp004, πE = πg.ResolveGlobal(πF, ßAT_LOCALE); πE != nil { continue } if πTemp005, πE = πg.GetAttr(πF, πTemp004, ßget, nil); πE != nil { continue } if πTemp004, πE = πTemp005.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µav = πTemp004 goto Label65 // line 187: elif flags & SRE_FLAG_UNICODE: πF.SetLineno(187) Label64: // line 188: av = AT_UNICODE.get(av, av) πF.SetLineno(188) πTemp007 = πF.MakeArgs(2) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[0] = µav if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[1] = µav if πTemp004, πE = πg.ResolveGlobal(πF, ßAT_UNICODE); πE != nil { continue } if πTemp005, πE = πg.GetAttr(πF, πTemp004, ßget, nil); πE != nil { continue } if πTemp004, πE = πTemp005.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µav = πTemp004 goto Label65 Label65: // line 189: emit(ATCODES[av]) πF.SetLineno(189) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp004 = µav if πTemp009, πE = πg.ResolveGlobal(πF, ßATCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label22 // line 190: elif op is BRANCH: πF.SetLineno(190) Label17: // line 191: emit(OPCODES[op]) πF.SetLineno(191) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 192: tail = [] πF.SetLineno(192) πTemp007 = make([]*πg.Object, 0) πTemp004 = πg.NewList(πTemp007...).ToObject() µtail = πTemp004 // line 193: tailappend = tail.append πF.SetLineno(193) if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } if πTemp004, πE = πg.GetAttr(πF, µtail, ßappend, nil); πE != nil { continue } µtailappend = πTemp004 πTemp005 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp009, πE = πg.GetItem(πF, µav, πTemp005); πE != nil { continue } if πTemp004, πE = πg.Iter(πF, πTemp009); πE != nil { continue } πF.PushCheckpoint(67) πTemp006 = false Label66: if πE != nil || πR != nil { continue } if πTemp006 { πF.PopCheckpoint() goto Label68 } if πTemp005, πE = πg.Next(πF, πTemp004); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp008 = !isStop } else { πTemp008 = true µav = πTemp005 } if πE != nil || !πTemp008 { continue } πF.PushCheckpoint(66) // line 195: skip = _len(code); emit(0) πF.SetLineno(195) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskip = πTemp005 // line 195: skip = _len(code); emit(0) πF.SetLineno(195) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp005, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 197: _compile(code, av, flags) πF.SetLineno(197) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp007[1] = µav if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp005, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp009, πE = πTemp005.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 198: emit(OPCODES[JUMP]) πF.SetLineno(198) πTemp007 = πF.MakeArgs(1) if πTemp009, πE = πg.ResolveGlobal(πF, ßJUMP); πE != nil { continue } πTemp005 = πTemp009 if πTemp010, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp009, πE = πg.GetItem(πF, πTemp010, πTemp005); πE != nil { continue } πTemp007[0] = πTemp009 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp005, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 199: tailappend(_len(code)); emit(0) πF.SetLineno(199) πTemp007 = πF.MakeArgs(1) πTemp013 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp013[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp013, nil); πE != nil { continue } πF.FreeArgs(πTemp013) πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µtailappend, "tailappend"); πE != nil { continue } if πTemp005, πE = µtailappend.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 199: tailappend(_len(code)); emit(0) πF.SetLineno(199) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp005, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 200: code[skip] = _len(code) - skip πF.SetLineno(200) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp009, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } if πTemp005, πE = πg.Sub(πF, πTemp009, µskip); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp009}, πTemp005); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskip, "skip"); πE != nil { continue } πTemp010 = µskip if πE = πg.SetItem(πF, µcode, πTemp010, πTemp009); πE != nil { continue } continue Label67: if πE != nil || πR != nil { continue } Label68: // line 201: emit(0) # end of branch πF.SetLineno(201) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } if πTemp004, πE = πg.Iter(πF, µtail); πE != nil { continue } πF.PushCheckpoint(70) πTemp006 = false Label69: if πE != nil || πR != nil { continue } if πTemp006 { πF.PopCheckpoint() goto Label71 } if πTemp005, πE = πg.Next(πF, πTemp004); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp008 = !isStop } else { πTemp008 = true µtail = πTemp005 } if πE != nil || !πTemp008 { continue } πF.PushCheckpoint(69) // line 203: code[tail] = _len(code) - tail πF.SetLineno(203) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp009, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } if πTemp005, πE = πg.Sub(πF, πTemp009, µtail); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp009}, πTemp005); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } πTemp010 = µtail if πE = πg.SetItem(πF, µcode, πTemp010, πTemp009); πE != nil { continue } continue Label70: if πE != nil || πR != nil { continue } Label71: goto Label22 // line 204: elif op is CATEGORY: πF.SetLineno(204) Label18: // line 205: emit(OPCODES[op]) πF.SetLineno(205) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_LOCALE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label72 } if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_UNICODE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label73 } goto Label74 // line 206: if flags & SRE_FLAG_LOCALE: πF.SetLineno(206) Label72: // line 207: av = CH_LOCALE[av] πF.SetLineno(207) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp004 = µav if πTemp009, πE = πg.ResolveGlobal(πF, ßCH_LOCALE); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } µav = πTemp005 goto Label74 // line 208: elif flags & SRE_FLAG_UNICODE: πF.SetLineno(208) Label73: // line 209: av = CH_UNICODE[av] πF.SetLineno(209) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp004 = µav if πTemp009, πE = πg.ResolveGlobal(πF, ßCH_UNICODE); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } µav = πTemp005 goto Label74 Label74: // line 210: emit(CHCODES[av]) πF.SetLineno(210) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp004 = µav if πTemp009, πE = πg.ResolveGlobal(πF, ßCHCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label22 // line 211: elif op is GROUPREF: πF.SetLineno(211) Label19: if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp005, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_IGNORECASE); πE != nil { continue } if πTemp004, πE = πg.And(πF, µflags, πTemp005); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp004); πE != nil { continue } if πTemp006 { goto Label75 } goto Label76 // line 212: if flags & SRE_FLAG_IGNORECASE: πF.SetLineno(212) Label75: // line 213: emit(OPCODES[OP_IGNORE[op]]) πF.SetLineno(213) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp005 = µop if πTemp010, πE = πg.ResolveGlobal(πF, ßOP_IGNORE); πE != nil { continue } if πTemp009, πE = πg.GetItem(πF, πTemp010, πTemp005); πE != nil { continue } πTemp004 = πTemp009 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label77 Label76: // line 215: emit(OPCODES[op]) πF.SetLineno(215) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label77 Label77: // line 216: emit(av-1) πF.SetLineno(216) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, µav, πg.NewInt(1).ToObject()); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) goto Label22 // line 217: elif op is GROUPREF_EXISTS: πF.SetLineno(217) Label20: // line 218: emit(OPCODES[op]) πF.SetLineno(218) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp004 = µop if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 219: emit(av[0]-1) πF.SetLineno(219) πTemp007 = πF.MakeArgs(1) πTemp005 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp009, πE = πg.GetItem(πF, µav, πTemp005); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp009, πg.NewInt(1).ToObject()); πE != nil { continue } πTemp007[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 220: skipyes = _len(code); emit(0) πF.SetLineno(220) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskipyes = πTemp004 // line 220: skipyes = _len(code); emit(0) πF.SetLineno(220) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 221: _compile(code, av[1], flags) πF.SetLineno(221) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode πTemp004 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[1] = πTemp005 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) πTemp004 = πg.NewInt(2).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp005); πE != nil { continue } if πTemp006 { goto Label78 } goto Label79 // line 222: if av[2]: πF.SetLineno(222) Label78: // line 223: emit(OPCODES[JUMP]) πF.SetLineno(223) πTemp007 = πF.MakeArgs(1) if πTemp005, πE = πg.ResolveGlobal(πF, ßJUMP); πE != nil { continue } πTemp004 = πTemp005 if πTemp009, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, πTemp009, πTemp004); πE != nil { continue } πTemp007[0] = πTemp005 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 224: skipno = _len(code); emit(0) πF.SetLineno(224) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp004, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) µskipno = πTemp004 // line 224: skipno = _len(code); emit(0) πF.SetLineno(224) πTemp007 = πF.MakeArgs(1) πTemp007[0] = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp004, πE = µemit.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 225: code[skipyes] = _len(code) - skipyes + 1 πF.SetLineno(225) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp009, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskipyes, "skipyes"); πE != nil { continue } if πTemp005, πE = πg.Sub(πF, πTemp009, µskipyes); πE != nil { continue } if πTemp004, πE = πg.Add(πF, πTemp005, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskipyes, "skipyes"); πE != nil { continue } πTemp009 = µskipyes if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } // line 226: _compile(code, av[2], flags) πF.SetLineno(226) πTemp007 = πF.MakeArgs(3) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode πTemp004 = πg.NewInt(2).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp005, πE = πg.GetItem(πF, µav, πTemp004); πE != nil { continue } πTemp007[1] = πTemp005 if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } πTemp007[2] = µflags if πTemp004, πE = πg.ResolveGlobal(πF, ß_compile); πE != nil { continue } if πTemp005, πE = πTemp004.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) // line 227: code[skipno] = _len(code) - skipno πF.SetLineno(227) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp005, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskipno, "skipno"); πE != nil { continue } if πTemp004, πE = πg.Sub(πF, πTemp005, µskipno); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskipno, "skipno"); πE != nil { continue } πTemp009 = µskipno if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } goto Label80 Label79: // line 229: code[skipyes] = _len(code) - skipyes + 1 πF.SetLineno(229) πTemp007 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } πTemp007[0] = µcode if πE = πg.CheckLocal(πF, µ_len, "_len"); πE != nil { continue } if πTemp009, πE = µ_len.Call(πF, πTemp007, nil); πE != nil { continue } πF.FreeArgs(πTemp007) if πE = πg.CheckLocal(πF, µskipyes, "skipyes"); πE != nil { continue } if πTemp005, πE = πg.Sub(πF, πTemp009, µskipyes); πE != nil { continue } if πTemp004, πE = πg.Add(πF, πTemp005, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp005}, πTemp004); πE != nil { continue } if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µskipyes, "skipyes"); πE != nil { continue } πTemp009 = µskipyes if πE = πg.SetItem(πF, µcode, πTemp009, πTemp005); πE != nil { continue } goto Label80 Label80: goto Label22 Label21: if πTemp004, πE = πg.ResolveGlobal(πF, ßValueError); πE != nil { continue } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp005 = πg.NewTuple2(πg.NewStr("unsupported operand type").ToObject(), µop).ToObject() // line 231: raise ValueError, ("unsupported operand type", op) πF.SetLineno(231) πE = πF.Raise(πTemp004, πTemp005, nil) continue goto Label22 Label22: continue Label6: if πE != nil || πR != nil { continue } Label7: } if πE != nil { πR = nil } else if πR == nil { πR = πg.None } return πR, πE }), πF.Globals()).ToObject() if πE = πF.Globals().SetItem(πF, ß_compile.ToObject(), πTemp001); πE != nil { continue } // line 233: def _compile_charset(charset, flags, code, fixup=None, fixes=None): πF.SetLineno(233) πTemp011 = make([]πg.Param, 5) πTemp011[0] = πg.Param{Name: "charset", Def: nil} πTemp011[1] = πg.Param{Name: "flags", Def: nil} πTemp011[2] = πg.Param{Name: "code", Def: nil} if πTemp007, πE = πg.ResolveGlobal(πF, ßNone); πE != nil { continue } πTemp011[3] = πg.Param{Name: "fixup", Def: πTemp007} if πTemp007, πE = πg.ResolveGlobal(πF, ßNone); πE != nil { continue } πTemp011[4] = πg.Param{Name: "fixes", Def: πTemp007} πTemp004 = πg.NewFunction(πg.NewCode("_compile_charset", "/usr/lib/python2.7/sre_compile.py", πTemp011, 0, func(πF *πg.Frame, πArgs []*πg.Object) (*πg.Object, *πg.BaseException) { var µcharset *πg.Object = πArgs[0]; _ = µcharset var µflags *πg.Object = πArgs[1]; _ = µflags var µcode *πg.Object = πArgs[2]; _ = µcode var µfixup *πg.Object = πArgs[3]; _ = µfixup var µfixes *πg.Object = πArgs[4]; _ = µfixes var µemit *πg.Object = πg.UnboundLocal; _ = µemit var µop *πg.Object = πg.UnboundLocal; _ = µop var µav *πg.Object = πg.UnboundLocal; _ = µav var πTemp001 *πg.Object _ = πTemp001 var πTemp002 []*πg.Object _ = πTemp002 var πTemp003 *πg.Object _ = πTemp003 var πTemp004 *πg.Object _ = πTemp004 var πTemp005 bool _ = πTemp005 var πTemp006 bool _ = πTemp006 var πTemp007 *πg.Object _ = πTemp007 var πTemp008 *πg.Object _ = πTemp008 var πR *πg.Object; _ = πR var πE *πg.BaseException; _ = πE for ; πF.State() >= 0; πF.PopCheckpoint() { switch πF.State() { case 0: case 1: goto Label1 case 2: goto Label2 default: panic("unexpected function state") } // line 235: emit = code.append πF.SetLineno(235) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πTemp001, πE = πg.GetAttr(πF, µcode, ßappend, nil); πE != nil { continue } µemit = πTemp001 πTemp002 = πF.MakeArgs(4) if πE = πg.CheckLocal(πF, µcharset, "charset"); πE != nil { continue } πTemp002[0] = µcharset if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } πTemp002[1] = µfixup if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } πTemp002[2] = µfixes if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_UNICODE); πE != nil { continue } if πTemp003, πE = πg.And(πF, µflags, πTemp004); πE != nil { continue } πTemp002[3] = πTemp003 if πTemp003, πE = πg.ResolveGlobal(πF, ß_optimize_charset); πE != nil { continue } if πTemp004, πE = πTemp003.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) if πTemp001, πE = πg.Iter(πF, πTemp004); πE != nil { continue } πF.PushCheckpoint(2) πTemp005 = false Label1: if πE != nil || πR != nil { continue } if πTemp005 { πF.PopCheckpoint() goto Label3 } if πTemp003, πE = πg.Next(πF, πTemp001); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp006 = !isStop } else { πTemp006 = true if πE = πg.Tie(πF, πg.TieTarget{Children: []πg.TieTarget{πg.TieTarget{Target: &πTemp004}, πg.TieTarget{Target: &πTemp007}}}, πTemp003); πE != nil { continue } µop = πTemp004 µav = πTemp007 } if πE != nil || !πTemp006 { continue } πF.PushCheckpoint(1) // line 238: emit(OPCODES[op]) πF.SetLineno(238) πTemp002 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } πTemp003 = µop if πTemp007, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp007, πTemp003); πE != nil { continue } πTemp002[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßNEGATE); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label4 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßLITERAL); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label5 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßRANGE); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label6 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßCHARSET); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label7 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßBIGCHARSET); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label8 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßCATEGORY); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp004).ToObject() if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label9 } goto Label10 // line 239: if op is NEGATE: πF.SetLineno(239) Label4: // line 240: pass πF.SetLineno(240) goto Label11 // line 241: elif op is LITERAL: πF.SetLineno(241) Label5: // line 242: emit(av) πF.SetLineno(242) πTemp002 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp002[0] = µav if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) goto Label11 // line 243: elif op is RANGE: πF.SetLineno(243) Label6: // line 244: emit(av[0]) πF.SetLineno(244) πTemp002 = πF.MakeArgs(1) πTemp003 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, µav, πTemp003); πE != nil { continue } πTemp002[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) // line 245: emit(av[1]) πF.SetLineno(245) πTemp002 = πF.MakeArgs(1) πTemp003 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, µav, πTemp003); πE != nil { continue } πTemp002[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) goto Label11 // line 246: elif op is CHARSET: πF.SetLineno(246) Label7: // line 248: code += (av) πF.SetLineno(248) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp003, πE = πg.IAdd(πF, µcode, µav); πE != nil { continue } µcode = πTemp003 goto Label11 // line 249: elif op is BIGCHARSET: πF.SetLineno(249) Label8: // line 251: code += (av) πF.SetLineno(251) if πE = πg.CheckLocal(πF, µcode, "code"); πE != nil { continue } if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp003, πE = πg.IAdd(πF, µcode, µav); πE != nil { continue } µcode = πTemp003 goto Label11 // line 252: elif op is CATEGORY: πF.SetLineno(252) Label9: if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_LOCALE); πE != nil { continue } if πTemp003, πE = πg.And(πF, µflags, πTemp004); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label12 } if πE = πg.CheckLocal(πF, µflags, "flags"); πE != nil { continue } if πTemp004, πE = πg.ResolveGlobal(πF, ßSRE_FLAG_UNICODE); πE != nil { continue } if πTemp003, πE = πg.And(πF, µflags, πTemp004); πE != nil { continue } if πTemp006, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp006 { goto Label13 } goto Label14 // line 253: if flags & SRE_FLAG_LOCALE: πF.SetLineno(253) Label12: // line 254: emit(CHCODES[CH_LOCALE[av]]) πF.SetLineno(254) πTemp002 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp004 = µav if πTemp008, πE = πg.ResolveGlobal(πF, ßCH_LOCALE); πE != nil { continue } if πTemp007, πE = πg.GetItem(πF, πTemp008, πTemp004); πE != nil { continue } πTemp003 = πTemp007 if πTemp007, πE = πg.ResolveGlobal(πF, ßCHCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp007, πTemp003); πE != nil { continue } πTemp002[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) goto Label15 // line 255: elif flags & SRE_FLAG_UNICODE: πF.SetLineno(255) Label13: // line 256: emit(CHCODES[CH_UNICODE[av]]) πF.SetLineno(256) πTemp002 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp004 = µav if πTemp008, πE = πg.ResolveGlobal(πF, ßCH_UNICODE); πE != nil { continue } if πTemp007, πE = πg.GetItem(πF, πTemp008, πTemp004); πE != nil { continue } πTemp003 = πTemp007 if πTemp007, πE = πg.ResolveGlobal(πF, ßCHCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp007, πTemp003); πE != nil { continue } πTemp002[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) goto Label15 Label14: // line 258: emit(CHCODES[av]) πF.SetLineno(258) πTemp002 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp003 = µav if πTemp007, πE = πg.ResolveGlobal(πF, ßCHCODES); πE != nil { continue } if πTemp004, πE = πg.GetItem(πF, πTemp007, πTemp003); πE != nil { continue } πTemp002[0] = πTemp004 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp003, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) goto Label15 Label15: goto Label11 Label10: if πTemp003, πE = πg.ResolveGlobal(πF, ßerror); πE != nil { continue } // line 260: raise error, "internal: unsupported set operator" πF.SetLineno(260) πE = πF.Raise(πTemp003, πg.NewStr("internal: unsupported set operator").ToObject(), nil) continue goto Label11 Label11: continue Label2: if πE != nil || πR != nil { continue } Label3: // line 261: emit(OPCODES[FAILURE]) πF.SetLineno(261) πTemp002 = πF.MakeArgs(1) if πTemp003, πE = πg.ResolveGlobal(πF, ßFAILURE); πE != nil { continue } πTemp001 = πTemp003 if πTemp004, πE = πg.ResolveGlobal(πF, ßOPCODES); πE != nil { continue } if πTemp003, πE = πg.GetItem(πF, πTemp004, πTemp001); πE != nil { continue } πTemp002[0] = πTemp003 if πE = πg.CheckLocal(πF, µemit, "emit"); πE != nil { continue } if πTemp001, πE = µemit.Call(πF, πTemp002, nil); πE != nil { continue } πF.FreeArgs(πTemp002) } if πE != nil { πR = nil } else if πR == nil { πR = πg.None } return πR, πE }), πF.Globals()).ToObject() if πE = πF.Globals().SetItem(πF, ß_compile_charset.ToObject(), πTemp004); πE != nil { continue } // line 263: def _optimize_charset(charset, fixup, fixes, isunicode): πF.SetLineno(263) πTemp011 = make([]πg.Param, 4) πTemp011[0] = πg.Param{Name: "charset", Def: nil} πTemp011[1] = πg.Param{Name: "fixup", Def: nil} πTemp011[2] = πg.Param{Name: "fixes", Def: nil} πTemp011[3] = πg.Param{Name: "isunicode", Def: nil} πTemp007 = πg.NewFunction(πg.NewCode("_optimize_charset", "/usr/lib/python2.7/sre_compile.py", πTemp011, 0, func(πF *πg.Frame, πArgs []*πg.Object) (*πg.Object, *πg.BaseException) { var µcharset *πg.Object = πArgs[0]; _ = µcharset var µfixup *πg.Object = πArgs[1]; _ = µfixup var µfixes *πg.Object = πArgs[2]; _ = µfixes var µisunicode *πg.Object = πArgs[3]; _ = µisunicode var µout *πg.Object = πg.UnboundLocal; _ = µout var µtail *πg.Object = πg.UnboundLocal; _ = µtail var µcharmap *πg.Object = πg.UnboundLocal; _ = µcharmap var µop *πg.Object = πg.UnboundLocal; _ = µop var µav *πg.Object = πg.UnboundLocal; _ = µav var µi *πg.Object = πg.UnboundLocal; _ = µi var µk *πg.Object = πg.UnboundLocal; _ = µk var µr *πg.Object = πg.UnboundLocal; _ = µr var µlo *πg.Object = πg.UnboundLocal; _ = µlo var µhi *πg.Object = πg.UnboundLocal; _ = µhi var µranges *πg.Object = πg.UnboundLocal; _ = µranges var µruns *πg.Object = πg.UnboundLocal; _ = µruns var µq *πg.Object = πg.UnboundLocal; _ = µq var µchar_find *πg.Object = πg.UnboundLocal; _ = µchar_find var µp *πg.Object = πg.UnboundLocal; _ = µp var µdata *πg.Object = πg.UnboundLocal; _ = µdata var µcomps *πg.Object = πg.UnboundLocal; _ = µcomps var µmapping *πg.Object = πg.UnboundLocal; _ = µmapping var µblock *πg.Object = πg.UnboundLocal; _ = µblock var µchunk *πg.Object = πg.UnboundLocal; _ = µchunk var πTemp001 []*πg.Object _ = πTemp001 var πTemp002 *πg.Object _ = πTemp002 var πTemp003 *πg.Object _ = πTemp003 var πTemp004 bool _ = πTemp004 var πTemp005 bool _ = πTemp005 var πTemp006 *πg.Object _ = πTemp006 var πTemp007 *πg.Object _ = πTemp007 var πTemp008 bool _ = πTemp008 var πTemp009 bool _ = πTemp009 var πTemp010 *πg.Object _ = πTemp010 var πTemp011 bool _ = πTemp011 var πTemp012 *πg.BaseException _ = πTemp012 var πTemp013 *πg.Traceback _ = πTemp013 var πTemp014 []*πg.Object _ = πTemp014 var πTemp015 []πg.Param _ = πTemp015 var πTemp016 *πg.Object _ = πTemp016 var πTemp017 *πg.Dict _ = πTemp017 var πR *πg.Object; _ = πR var πE *πg.BaseException; _ = πE for ; πF.State() >= 0; πF.PopCheckpoint() { switch πF.State() { case 0: case 64: goto Label64 case 1: goto Label1 case 2: goto Label2 case 35: goto Label35 case 4: goto Label4 case 5: goto Label5 case 38: goto Label38 case 65: goto Label65 case 8: goto Label8 case 75: goto Label75 case 76: goto Label76 case 34: goto Label34 case 47: goto Label47 case 48: goto Label48 case 53: goto Label53 case 20: goto Label20 case 21: goto Label21 case 54: goto Label54 case 29: goto Label29 case 30: goto Label30 case 37: goto Label37 default: panic("unexpected function state") } // line 265: out = [] πF.SetLineno(265) πTemp001 = make([]*πg.Object, 0) πTemp002 = πg.NewList(πTemp001...).ToObject() µout = πTemp002 // line 266: tail = [] πF.SetLineno(266) πTemp001 = make([]*πg.Object, 0) πTemp002 = πg.NewList(πTemp001...).ToObject() µtail = πTemp002 // line 268: charmap = [0] * 256 πF.SetLineno(268) πTemp001 = make([]*πg.Object, 1) πTemp001[0] = πg.NewInt(0).ToObject() πTemp003 = πg.NewList(πTemp001...).ToObject() if πTemp002, πE = πg.Mul(πF, πTemp003, πg.NewInt(256).ToObject()); πE != nil { continue } µcharmap = πTemp002 if πE = πg.CheckLocal(πF, µcharset, "charset"); πE != nil { continue } if πTemp002, πE = πg.Iter(πF, µcharset); πE != nil { continue } πF.PushCheckpoint(2) πTemp004 = false Label1: if πE != nil || πR != nil { continue } if πTemp004 { πF.PopCheckpoint() goto Label3 } if πTemp003, πE = πg.Next(πF, πTemp002); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp005 = !isStop } else { πTemp005 = true if πE = πg.Tie(πF, πg.TieTarget{Children: []πg.TieTarget{πg.TieTarget{Target: &πTemp006}, πg.TieTarget{Target: &πTemp007}}}, πTemp003); πE != nil { continue } µop = πTemp006 µav = πTemp007 } if πE != nil || !πTemp005 { continue } πF.PushCheckpoint(1) // line 270: while True: πF.SetLineno(270) πF.PushCheckpoint(5) πTemp005 = false Label4: if πE != nil || πR != nil { continue } if πTemp005 { πF.PopCheckpoint() goto Label6 } if πTemp003, πE = πg.ResolveGlobal(πF, ßTrue); πE != nil { continue } if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πE != nil || !πTemp008 { continue } πF.PushCheckpoint(4) // line 271: try: πF.SetLineno(271) πF.PushCheckpoint(8) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp006, πE = πg.ResolveGlobal(πF, ßLITERAL); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp006).ToObject() if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp008 { goto Label9 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp006, πE = πg.ResolveGlobal(πF, ßRANGE); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp006).ToObject() if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp008 { goto Label10 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp006, πE = πg.ResolveGlobal(πF, ßNEGATE); πE != nil { continue } πTemp003 = πg.GetBool(µop == πTemp006).ToObject() if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp008 { goto Label11 } goto Label12 // line 272: if op is LITERAL: πF.SetLineno(272) Label9: if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } if πTemp008, πE = πg.IsTrue(πF, µfixup); πE != nil { continue } if πTemp008 { goto Label14 } goto Label15 // line 273: if fixup: πF.SetLineno(273) Label14: // line 274: i = fixup(av) πF.SetLineno(274) πTemp001 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp001[0] = µav if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } if πTemp003, πE = µfixup.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) µi = πTemp003 // line 275: charmap[i] = 1 πF.SetLineno(275) if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp003}, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } πTemp006 = µi if πE = πg.SetItem(πF, µcharmap, πTemp006, πTemp003); πE != nil { continue } if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } πTemp003 = µfixes if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if !πTemp008 { goto Label17 } if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } if πTemp009, πE = πg.Contains(πF, µfixes, µi); πE != nil { continue } πTemp006 = πg.GetBool(πTemp009).ToObject() πTemp003 = πTemp006 Label17: if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp008 { goto Label18 } goto Label19 // line 276: if fixes and i in fixes: πF.SetLineno(276) Label18: if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } πTemp006 = µi if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } if πTemp007, πE = πg.GetItem(πF, µfixes, πTemp006); πE != nil { continue } if πTemp003, πE = πg.Iter(πF, πTemp007); πE != nil { continue } πF.PushCheckpoint(21) πTemp008 = false Label20: if πE != nil || πR != nil { continue } if πTemp008 { πF.PopCheckpoint() goto Label22 } if πTemp006, πE = πg.Next(πF, πTemp003); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp009 = !isStop } else { πTemp009 = true µk = πTemp006 } if πE != nil || !πTemp009 { continue } πF.PushCheckpoint(20) // line 278: charmap[k] = 1 πF.SetLineno(278) if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp006}, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } if πE = πg.CheckLocal(πF, µk, "k"); πE != nil { continue } πTemp007 = µk if πE = πg.SetItem(πF, µcharmap, πTemp007, πTemp006); πE != nil { continue } continue Label21: if πE != nil || πR != nil { continue } Label22: goto Label19 Label19: goto Label16 Label15: // line 280: charmap[av] = 1 πF.SetLineno(280) if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp003}, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp006 = µav if πE = πg.SetItem(πF, µcharmap, πTemp006, πTemp003); πE != nil { continue } goto Label16 Label16: goto Label13 // line 281: elif op is RANGE: πF.SetLineno(281) Label10: // line 282: r = range(av[0], av[1]+1) πF.SetLineno(282) πTemp001 = πF.MakeArgs(2) πTemp003 = πg.NewInt(0).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp006, πE = πg.GetItem(πF, µav, πTemp003); πE != nil { continue } πTemp001[0] = πTemp006 πTemp006 = πg.NewInt(1).ToObject() if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πTemp007, πE = πg.GetItem(πF, µav, πTemp006); πE != nil { continue } if πTemp003, πE = πg.Add(πF, πTemp007, πg.NewInt(1).ToObject()); πE != nil { continue } πTemp001[1] = πTemp003 if πTemp003, πE = πg.ResolveGlobal(πF, ßrange); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) µr = πTemp006 if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } if πTemp008, πE = πg.IsTrue(πF, µfixup); πE != nil { continue } if πTemp008 { goto Label23 } goto Label24 // line 283: if fixup: πF.SetLineno(283) Label23: // line 284: r = map(fixup, r) πF.SetLineno(284) πTemp001 = πF.MakeArgs(2) if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } πTemp001[0] = µfixup if πE = πg.CheckLocal(πF, µr, "r"); πE != nil { continue } πTemp001[1] = µr if πTemp003, πE = πg.ResolveGlobal(πF, ßmap); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) µr = πTemp006 goto Label24 Label24: if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } πTemp003 = µfixup if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if !πTemp008 { goto Label25 } if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } πTemp003 = µfixes Label25: if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp008 { goto Label26 } goto Label27 // line 285: if fixup and fixes: πF.SetLineno(285) Label26: if πE = πg.CheckLocal(πF, µr, "r"); πE != nil { continue } if πTemp003, πE = πg.Iter(πF, µr); πE != nil { continue } πF.PushCheckpoint(30) πTemp008 = false Label29: if πE != nil || πR != nil { continue } if πTemp008 { πF.PopCheckpoint() goto Label31 } if πTemp006, πE = πg.Next(πF, πTemp003); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp009 = !isStop } else { πTemp009 = true µi = πTemp006 } if πE != nil || !πTemp009 { continue } πF.PushCheckpoint(29) // line 287: charmap[i] = 1 πF.SetLineno(287) if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp006}, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } πTemp007 = µi if πE = πg.SetItem(πF, µcharmap, πTemp007, πTemp006); πE != nil { continue } if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } if πTemp009, πE = πg.Contains(πF, µfixes, µi); πE != nil { continue } πTemp006 = πg.GetBool(πTemp009).ToObject() if πTemp009, πE = πg.IsTrue(πF, πTemp006); πE != nil { continue } if πTemp009 { goto Label32 } goto Label33 // line 288: if i in fixes: πF.SetLineno(288) Label32: if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } πTemp007 = µi if πE = πg.CheckLocal(πF, µfixes, "fixes"); πE != nil { continue } if πTemp010, πE = πg.GetItem(πF, µfixes, πTemp007); πE != nil { continue } if πTemp006, πE = πg.Iter(πF, πTemp010); πE != nil { continue } πF.PushCheckpoint(35) πTemp009 = false Label34: if πE != nil || πR != nil { continue } if πTemp009 { πF.PopCheckpoint() goto Label36 } if πTemp007, πE = πg.Next(πF, πTemp006); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp011 = !isStop } else { πTemp011 = true µk = πTemp007 } if πE != nil || !πTemp011 { continue } πF.PushCheckpoint(34) // line 290: charmap[k] = 1 πF.SetLineno(290) if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp007}, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } if πE = πg.CheckLocal(πF, µk, "k"); πE != nil { continue } πTemp010 = µk if πE = πg.SetItem(πF, µcharmap, πTemp010, πTemp007); πE != nil { continue } continue Label35: if πE != nil || πR != nil { continue } Label36: goto Label33 Label33: continue Label30: if πE != nil || πR != nil { continue } Label31: goto Label28 Label27: if πE = πg.CheckLocal(πF, µr, "r"); πE != nil { continue } if πTemp003, πE = πg.Iter(πF, µr); πE != nil { continue } πF.PushCheckpoint(38) πTemp008 = false Label37: if πE != nil || πR != nil { continue } if πTemp008 { πF.PopCheckpoint() goto Label39 } if πTemp006, πE = πg.Next(πF, πTemp003); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp009 = !isStop } else { πTemp009 = true µi = πTemp006 } if πE != nil || !πTemp009 { continue } πF.PushCheckpoint(37) // line 293: charmap[i] = 1 πF.SetLineno(293) if πE = πg.Tie(πF, πg.TieTarget{Target: &πTemp006}, πg.NewInt(1).ToObject()); πE != nil { continue } if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } if πE = πg.CheckLocal(πF, µi, "i"); πE != nil { continue } πTemp007 = µi if πE = πg.SetItem(πF, µcharmap, πTemp007, πTemp006); πE != nil { continue } continue Label38: if πE != nil || πR != nil { continue } Label39: goto Label28 Label28: goto Label13 // line 294: elif op is NEGATE: πF.SetLineno(294) Label11: // line 295: out.append((op, av)) πF.SetLineno(295) πTemp001 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp003 = πg.NewTuple2(µop, µav).ToObject() πTemp001[0] = πTemp003 if πE = πg.CheckLocal(πF, µout, "out"); πE != nil { continue } if πTemp003, πE = πg.GetAttr(πF, µout, ßappend, nil); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) goto Label13 Label12: // line 297: tail.append((op, av)) πF.SetLineno(297) πTemp001 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp003 = πg.NewTuple2(µop, µav).ToObject() πTemp001[0] = πTemp003 if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } if πTemp003, πE = πg.GetAttr(πF, µtail, ßappend, nil); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) goto Label13 Label13: πF.PopCheckpoint() goto Label7 Label8: if πE == nil { continue } πE = nil πTemp012, πTemp013 = πF.ExcInfo() if πTemp003, πE = πg.ResolveGlobal(πF, ßIndexError); πE != nil { continue } if πTemp008, πE = πg.IsInstance(πF, πTemp012.ToObject(), πTemp003); πE != nil { continue } if πTemp008 { goto Label40 } πE = πF.Raise(πTemp012.ToObject(), nil, πTemp013.ToObject()) continue // line 298: except IndexError: πF.SetLineno(298) Label40: πTemp001 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } πTemp001[0] = µcharmap if πTemp006, πE = πg.ResolveGlobal(πF, ßlen); πE != nil { continue } if πTemp007, πE = πTemp006.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) if πTemp003, πE = πg.Eq(πF, πTemp007, πg.NewInt(256).ToObject()); πE != nil { continue } if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp008 { goto Label41 } goto Label42 // line 299: if len(charmap) == 256: πF.SetLineno(299) Label41: // line 301: charmap += b'\0' * 0xff00 πF.SetLineno(301) if πE = πg.CheckLocal(πF, µcharmap, "charmap"); πE != nil { continue } if πTemp003, πE = πg.Mul(πF, πg.NewStr("\x00").ToObject(), πg.NewInt(65280).ToObject()); πE != nil { continue } if πTemp006, πE = πg.IAdd(πF, µcharmap, πTemp003); πE != nil { continue } µcharmap = πTemp006 // line 302: continue πF.SetLineno(302) continue goto Label42 Label42: if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } πTemp003 = µfixup if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if !πTemp008 { goto Label43 } if πE = πg.CheckLocal(πF, µisunicode, "isunicode"); πE != nil { continue } πTemp003 = µisunicode if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if !πTemp008 { goto Label43 } if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πTemp007, πE = πg.ResolveGlobal(πF, ßRANGE); πE != nil { continue } πTemp006 = πg.GetBool(µop == πTemp007).ToObject() πTemp003 = πTemp006 Label43: if πTemp008, πE = πg.IsTrue(πF, πTemp003); πE != nil { continue } if πTemp008 { goto Label44 } goto Label45 // line 304: if fixup and isunicode and op is RANGE: πF.SetLineno(304) Label44: // line 305: lo, hi = av πF.SetLineno(305) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } if πE = πg.Tie(πF, πg.TieTarget{Children: []πg.TieTarget{πg.TieTarget{Target: &πTemp003}, πg.TieTarget{Target: &πTemp006}}}, µav); πE != nil { continue } µlo = πTemp003 µhi = πTemp006 // line 306: ranges = [av] πF.SetLineno(306) πTemp001 = make([]*πg.Object, 1) if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp001[0] = µav πTemp003 = πg.NewList(πTemp001...).ToObject() µranges = πTemp003 // line 309: _fixup_range(max(0x10000, lo), min(0x11fff, hi), πF.SetLineno(309) πTemp001 = πF.MakeArgs(4) πTemp014 = πF.MakeArgs(2) πTemp014[0] = πg.NewInt(65536).ToObject() if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } πTemp014[1] = µlo if πTemp003, πE = πg.ResolveGlobal(πF, ßmax); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp014, nil); πE != nil { continue } πF.FreeArgs(πTemp014) πTemp001[0] = πTemp006 πTemp014 = πF.MakeArgs(2) πTemp014[0] = πg.NewInt(73727).ToObject() if πE = πg.CheckLocal(πF, µhi, "hi"); πE != nil { continue } πTemp014[1] = µhi if πTemp003, πE = πg.ResolveGlobal(πF, ßmin); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp014, nil); πE != nil { continue } πF.FreeArgs(πTemp014) πTemp001[1] = πTemp006 if πE = πg.CheckLocal(πF, µranges, "ranges"); πE != nil { continue } πTemp001[2] = µranges if πE = πg.CheckLocal(πF, µfixup, "fixup"); πE != nil { continue } πTemp001[3] = µfixup if πTemp003, πE = πg.ResolveGlobal(πF, ß_fixup_range); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) if πE = πg.CheckLocal(πF, µranges, "ranges"); πE != nil { continue } if πTemp003, πE = πg.Iter(πF, µranges); πE != nil { continue } πF.PushCheckpoint(48) πTemp008 = false Label47: if πE != nil || πR != nil { continue } if πTemp008 { πF.PopCheckpoint() goto Label49 } if πTemp006, πE = πg.Next(πF, πTemp003); πE != nil { isStop, exc := πg.IsInstance(πF, πE.ToObject(), πg.StopIterationType.ToObject()) if exc != nil { πE = exc } else if isStop { πE = nil πF.RestoreExc(nil, nil) } πTemp009 = !isStop } else { πTemp009 = true if πE = πg.Tie(πF, πg.TieTarget{Children: []πg.TieTarget{πg.TieTarget{Target: &πTemp007}, πg.TieTarget{Target: &πTemp010}}}, πTemp006); πE != nil { continue } µlo = πTemp007 µhi = πTemp010 } if πE != nil || !πTemp009 { continue } πF.PushCheckpoint(47) if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } if πE = πg.CheckLocal(πF, µhi, "hi"); πE != nil { continue } if πTemp006, πE = πg.Eq(πF, µlo, µhi); πE != nil { continue } if πTemp009, πE = πg.IsTrue(πF, πTemp006); πE != nil { continue } if πTemp009 { goto Label50 } goto Label51 // line 312: if lo == hi: πF.SetLineno(312) Label50: // line 313: tail.append((LITERAL, hi)) πF.SetLineno(313) πTemp001 = πF.MakeArgs(1) if πTemp007, πE = πg.ResolveGlobal(πF, ßLITERAL); πE != nil { continue } if πE = πg.CheckLocal(πF, µhi, "hi"); πE != nil { continue } πTemp006 = πg.NewTuple2(πTemp007, µhi).ToObject() πTemp001[0] = πTemp006 if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } if πTemp006, πE = πg.GetAttr(πF, µtail, ßappend, nil); πE != nil { continue } if πTemp007, πE = πTemp006.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) goto Label52 Label51: // line 315: tail.append((RANGE, (lo, hi))) πF.SetLineno(315) πTemp001 = πF.MakeArgs(1) if πTemp007, πE = πg.ResolveGlobal(πF, ßRANGE); πE != nil { continue } if πE = πg.CheckLocal(πF, µlo, "lo"); πE != nil { continue } if πE = πg.CheckLocal(πF, µhi, "hi"); πE != nil { continue } πTemp010 = πg.NewTuple2(µlo, µhi).ToObject() πTemp006 = πg.NewTuple2(πTemp007, πTemp010).ToObject() πTemp001[0] = πTemp006 if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } if πTemp006, πE = πg.GetAttr(πF, µtail, ßappend, nil); πE != nil { continue } if πTemp007, πE = πTemp006.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) goto Label52 Label52: continue Label48: if πE != nil || πR != nil { continue } Label49: goto Label46 Label45: // line 317: tail.append((op, av)) πF.SetLineno(317) πTemp001 = πF.MakeArgs(1) if πE = πg.CheckLocal(πF, µop, "op"); πE != nil { continue } if πE = πg.CheckLocal(πF, µav, "av"); πE != nil { continue } πTemp003 = πg.NewTuple2(µop, µav).ToObject() πTemp001[0] = πTemp003 if πE = πg.CheckLocal(πF, µtail, "tail"); πE != nil { continue } if πTemp003, πE = πg.GetAttr(πF, µtail, ßappend, nil); πE != nil { continue } if πTemp006, πE = πTemp003.Call(πF, πTemp001, nil); πE != nil { continue } πF.FreeArgs(πTemp001) goto Label46 Label46: πF.RestoreExc(nil, nil) goto Label7 Label7: // line 318: break πF.SetLineno(318) πTemp005 = true continue continue Label5: if πE != nil || πR != nil { continue } Label6: continue Label2: if πE != nil || πR != nil { continue } Label3: // line 321: runs = [] πF.SetLineno(321) πTemp001 = make([]*πg.Object, 0) πTemp002 = πg.NewList(πTemp001...).ToObject() µruns = πTemp002 // line 322: q = 0 πF.SetLineno(322) µq = πg.NewInt(0).ToObject() // line 323: def char_find(l, s, start): πF.SetLineno(323) πTemp015 = make([]πg.Param, 3) πTemp015[0] = πg.Param{Name: "l", Def: nil} πTemp015[1] = πg.Param{Name: "s", Def: nil} πTemp015[2] = πg.Param{Name: "start", Def: nil} πTemp002 = πg.NewFunction(πg.NewCode("char_find", "/usr/lib/python2.7/sre_compile.py", πTemp015, 0, func(πF *πg.Frame, πArgs []*πg.Object) (*πg.Object, *πg.BaseException) { var µl *πg.Object = πArgs[0]; _ = µl var µs *πg.Object = πArgs[1];