tools/JavaSourcePartition.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 06 Sep 2013 02:45:44 +0200
changeset 2678 c865275e48a7
child 2731 13f5be2bf83b
permissions -rw-r--r--
Updated to match Mercurial revision a00302fe5083 with two tweaks: - JavaConstants: conditional compilation of __ACX_MULTIVERS flag (not present in eXept's stc/librun) - JavaNativeMethod: disabled call to __jbindnative() (not present in eXept's librun)

"{ Package: 'stx:libjava/tools' }"

Object subclass:#JavaSourcePartition
	instanceVariableNames:'offset length'
	classVariableNames:''
	poolDictionaries:''
	category:'Languages-Java-Parser-Utils'
!

JavaSourcePartition subclass:#Method
	instanceVariableNames:'selector'
	classVariableNames:''
	poolDictionaries:''
	privateIn:JavaSourcePartition
!


!JavaSourcePartition class methodsFor:'instance creation'!

newMethod
    ^Method new

    "Created: / 04-04-2013 / 00:25:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!JavaSourcePartition methodsFor:'accessing'!

offset:offs length:len 
    offset := offs.
    length := len.
!

start:start stop:stop 
    self offset: start length: stop-start+1

    "Created: / 04-04-2013 / 00:28:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!JavaSourcePartition class methodsFor:'documentation'!

version_CVS
    ^ '$Header: /cvs/stx/stx/libjava/tools/JavaSourcePartition.st,v 1.1 2013-09-06 00:45:28 vrany Exp $'
!

version_HG

    ^ '$Changeset: <not expanded> $'
! !