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.2 date: 2021/01/20 15:37:55
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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:38:57 GMT