|
Class: Comment (private in Scanner
This class is only visible from within
Scanner.
Object
|
+--Scanner::Comment
- Package:
- stx:libcomp
- Category:
- System-Compiler
- Owner:
- Scanner
accessing
-
commentString
-
return the value of the instance variable 'commentString' (automatically generated)
-
commentString: aString
-
set the value of the instance variable 'commentString' (automatically generated)
-
commentString: commentStringArg commentType: commentTypeArg
-
-
commentType
-
-
commentType: typeSymbol
-
-
endPosition
-
-
endPosition: anInteger
-
Modified (format): / 14-07-2020 / 10:21:12 / cg
-
startPosition
-
-
startPosition: anInteger
-
Modified (format): / 14-07-2020 / 10:20:59 / cg
-
startPosition: startPositionArg endPosition: endPositionArg
-
-
string
-
converting
-
asString
-
-
asStringCollection
-
printing & storing
-
displayOn: aStream
-
(comment from inherited method)
Compatibility
append a printed desription on some stream (Dolphin, Squeak)
OR:
display the receiver in a graphicsContext at 0@0 (ST80).
This method allows for any object to be displayed in some view
(although the fallBack is to display its printString ...)
Notice: displayString and displayOn: are for developers, debugging and inspectors,
whereas printString and printOn: are for the program to print data.
queries
-
isDelimiterComment
-
a comment of the form "<<TOKEN ... TOKEN
-
isEndOfLineComment
-
a comment of the form "/ ...
-
isRegularComment
-
a regulat smalltalk comment
|