You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"return an AST for this method. The AST is cached. see class comment of ASTCache"
^ ASTCache at: self
]
{ #category : #'*AST-Core' }
CompiledMethod >> comments [
"Answer a collection of strings representing the comments in the method. Return an empty collection if the method's source code does not contain a comment."
^ self ast allComments flatCollect: [:c| c contents]
]
{ #category : #'*AST-Core' }
CompiledMethod >> firstComment [
"Answer a string representing the first comment in the method associated with selector. Return an empty string if the method's source code does not contain a comment."