eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBReturnNode':

Home

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

Class: RBReturnNode


Inheritance:

   Object
   |
   +--RBProgramNode
      |
      +--RBStatementNode
         |
         +--RBReturnNode

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-AST-Nodes
Version:
rev: 1.16 date: 2019/05/27 13:12:28
user: cg
file: RBReturnNode.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Description:


BRReturnNode is an AST node that represents a return expression.

Instance Variables:
	return	<Integer>	the position of the ^ character
	value	<BRValueNode>	the value that is being returned


Class protocol:

instance creation
o  return: returnInteger value: aValueNode

o  value: aNode


Instance protocol:

accessing
o  children

o  start

o  stop

o  stopWithoutParentheses

o  value

o  value: valueNode

comparing
o  = anObject

o  equalTo: anObject withMapping: aDictionary
return true, if I am equal to another node, with a given variable name mapping.
Side effect: update the mapping dictionary as required to reflect a matching mapping (if possible)

o  equalTo: anObject withSelectorMapping: aDictionary
return true, if I am equal to another node, with a given selector name mapping.
Side effect: update the mapping dictionary as required to reflect a matching mapping (if possible)

o  hash

o  semanticallyEqualTo: anObject withMapping: aDictionary
return true, if I am semantically equal to another node, with a given variable name mapping.
Side effect: update the mapping dictionary as required to reflect a matching mapping (if possible)

copying-private
o  postCopy

enumeration
o  allReturnNodesDo: aBlock
evaluate a Block for all return nodes

o  variableNodesDo: aBlock
evaluate a Block for all variable nodes

initialization & release
o  return: returnInteger value: aValueNode

matching
o  copyInContext: aDictionary

o  match: aNode inContext: aDictionary

queries
o  lastLineNumber

replacing
o  replaceNode: aNode withNode: anotherNode

testing
o  containsReturn

o  isReturn

visitor
o  acceptVisitor: aProgramNodeVisitor



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 21:48:28 GMT