Changes

Summary

  1. - add property API to RBComment (which shows that it might be better a (details)
Commit 07e8f7f78afb530b7c61156097e594a9d8e0b450 by marcus.denker
- add property API to RBComment (which shows that it might be better a
subclass of RBProgramNode?) - implement #hasDocComment: quick check for
>>> and check if property is alrready defined. - #pharoDocCommentNodes
checks hasDocComment, caches result in property - DocCommentIconStyler
uses hasDocComment
Benchmark:
[(Behavior>>#methodDict) ast pharoDocCommentNodes] bench.
The file was modifiedsrc/AST-Core/RBComment.class.st (diff)
The file was modifiedsrc/PharoDocComment/RBComment.extension.st (diff)
The file was modifiedsrc/PharoDocComment/DocCommentIconStyler.class.st (diff)

Summary

  1. - add property API to RBComment (which shows that it might be better a (details)
Commit 07e8f7f78afb530b7c61156097e594a9d8e0b450 by marcus.denker
- add property API to RBComment (which shows that it might be better a
subclass of RBProgramNode?) - implement #hasDocComment: quick check for
>>> and check if property is alrready defined. - #pharoDocCommentNodes
checks hasDocComment, caches result in property - DocCommentIconStyler
uses hasDocComment
Benchmark:
[(Behavior>>#methodDict) ast pharoDocCommentNodes] bench.
The file was modifiedsrc/PharoDocComment/DocCommentIconStyler.class.st (diff)
The file was modifiedsrc/PharoDocComment/RBComment.extension.st (diff)
The file was modifiedsrc/AST-Core/RBComment.class.st (diff)