eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBStringReplacement':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: RBStringReplacement


Inheritance:

   Object
   |
   +--RBStringReplacement

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-AST-Nodes
Version:
rev: 1.1 date: 2014/03/04 23:34:58
user: cg
file: RBStringReplacement.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Description:


RBStringReplacement represents replacing source in the original method with a different string. 
These are used when reformatting code after a parse tree change has been made. 
Depending on the change, it may be possible to minimally change the parse tree without needing to format it.

Instance Variables:
    startPosition   <Integer>       the start position in the original source
    stopPosition    <Integer>       the end position in the original source
    string  <String>        replaces everything from the startPosition to the endPosition with this string


Class protocol:

instance creation
o  replaceFrom: startInteger to: stopInteger with: aString


Instance protocol:

accessing
o  startPosition

o  stopPosition

o  string

initialize-release
o  startPosition: anInteger

o  stopPosition: anInteger

o  string: aString



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 22 Jul 2018 02:54:18 GMT