eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBToken':

Home

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

Class: RBToken


Inheritance:

   Object
   |
   +--RBToken
      |
      +--RBAssignmentToken
      |
      +--RBEndOfFileToken
      |
      +--RBOptimizedToken
      |
      +--RBValueToken

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-Scanner
Version:
rev: 1.32 date: 2019/06/28 07:08:34
user: cg
file: RBToken.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Class protocol:

instance creation
o  start: anInterval

o  start: anInterval lineNumber: tokenLineNumber


Instance protocol:

accessing
o  columnNumber

o  columnNumber: something

o  comments

o  comments: anObject

o  endPosition

o  length

o  lineNumber

o  lineNumber: something
self assert:(lineNumber notNil).

o  originalCodeIn: source

o  removePositions

o  start

o  startPosition

o  stop

initialization & release
o  start: anInteger

o  start: anInteger lineNumber: tokenLineNumber
self assert:(lineNumber notNil).

printing
o  printOn: aStream
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.

testing
o  isAssignment

o  isBinary

o  isEOF
(comment from inherited method)
Return true if the receiver is the EOF token.
This is (and should only be) redefined in EOFObject,
for the one and only instance of it, void

o  isIdentifier

o  isKeyword

o  isLiteral

o  isLiteralArray

o  isLiteralByteArray

o  isLiteralCString

o  isLiteralCharacter

o  isLiteralFloat

o  isLiteralInteger

o  isLiteralNil

o  isLiteralNumber

o  isLiteralString

o  isLiteralSymbol

o  isMetaVariable

o  isOptimized

o  isPatternBlock

o  isPatternVariable

o  isSTXPrimitiveCode

o  isSpecial



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 13:10:40 GMT