SmallSense__SelectorNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 02 Sep 2013 14:45:35 +0100
changeset 78 16cd76c8d70c
parent 64 2257d7223898
permissions -rw-r--r--
Fix in SmallSense::Recognizer: use customized SmalltalkParser to parse smalltalk code. SmalltalkParser can do some basic error-recovery and thus provides better tree for completion.

"
 COPYRIGHT (c) 2006 by eXept Software AG
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'jv:smallsense' }"

"{ NameSpace: SmallSense }"

ParseNode subclass:#SelectorNode
	instanceVariableNames:'receiver selectors selectorsPosition lines'
	classVariableNames:''
	poolDictionaries:''
	category:'SmallSense-Core'
!

!SelectorNode class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2006 by eXept Software AG
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!SelectorNode methodsFor:'accessing'!

lines
    ^ lines
!

lines:something
    lines := something.
!

receiver
    ^ receiver
!

receiver:something
    receiver := something.
!

selectors
    ^ selectors
!

selectors:something
    selectors := something.
!

selectorsPosition
    ^ selectorsPosition
!

selectorsPosition:something
    selectorsPosition := something.
! !

!SelectorNode methodsFor:'printing & storing'!

printOn:aStream indent:i 
selectors printString printOn:aStream.

    "Created: / 22-02-2011 / 22:01:05 / Jakub <zelenja7@fel.cvut.cz>"
! !

!SelectorNode methodsFor:'testing'!

isSelector
    ^ true

    "Modified: / 08-04-2011 / 21:11:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!SelectorNode class methodsFor:'documentation'!

version_HG

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

version_SVN
    ^ '$Id: SmallSenseSelectorNode.st 7823 2011-11-26 16:55:59Z vranyj1 $'
! !