Files
2125_GCE/gx_compiler/__pycache__/segmenter.cpython-314.pyc
T

20 lines
4.5 KiB
Plaintext
Raw Normal View History

+
„Ä
j=ãóP^RIHt^RIHt]!RR44t!RR4tR#)é)ÚList)Ú dataclasscó,a]tRt^toV3RltRtVtR#)ÚSegmentcób<V^8„dQh/S[;R&S[;R&S[;R&S[;R&S[;R&S[;R&#)éÚ
segment_idÚ
start_lineÚend_lineÚ
start_byteÚend_byteÚcontent)ÚstrÚint)ÚformatÚ
__classdict__s"€Ú-/home/dave/superdave/gx_compiler/segmenter.pyÚ __annotate__ÚSegment.__annotate__sKø‡áñññ
 ñ 
ñó©N)Ú__name__Ú
__module__Ú __qualname__Ú__firstlineno__Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__©rs@rrrsø‡rrcó„a]tRt^toV3RlRlt]V3RlRl4tV3RlRltV3RlRltV3R lR
lt R t
Vt R #)
ÚSourceSegmentercó <V^8„dQhRS[/#)rÚcode)r)rrs"€rrÚSourceSegmenter.__annotate__sø€÷&™Sñ&rcó>WnVPR4VnR#)Ú
N)r#ÚsplitÚlines)Úselfr#s&&rÚ__init__ÚSourceSegmenter.__init__sØŒ Ø—Z‘Z ÓŽ
rcó6<V^8„dQhRS[RS[S[,/#)rr#Úreturn)rrr)rrs"€rrr$sø€÷**™d¡7*rcó8\V4pVP4#)N)r!Ú_find_segments)r#Ú segmenters& rÚsegmentÚSourceSegmenter.segmentsä# )ˆ Ø×)rcó0<V^8„dQhRS[S[,/#©rr-)rr)rrs"€rrr$sø€÷ñ¡¡W¥
ñrc ó VP4p.p\V4FlwpwrERV 2pVPV4pVPV4pRPVPWE4p VP \
VVVVVV R74Kn V#)Úseg_r&)r r
r r r
r)Ú_find_boundariesÚ enumerateÚ _line_offsetÚjoinr(Úappendr)
r)Ú