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.35 date: 2021/01/20 11:45:50
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

** This method must be redefined in concrete classes (subclassResponsibility) **

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  isAnySpecial: possibleChars

o  isAssignment

o  isBinary

o  isBinary: whichValue

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  isLiteralEString

o  isLiteralFloat

o  isLiteralIString

o  isLiteralInteger

o  isLiteralNil

o  isLiteralNumber

o  isLiteralRString

o  isLiteralString

o  isLiteralSymbol

o  isMetaVariable

o  isOptimized

o  isPatternBlock

o  isPatternVariable

o  isSTXPrimitiveCode

o  isSpecial

o  isSpecial: char



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 11:42:05 GMT