new(text, old_name, new_name, comment, singleton = false)
public
Creates a new Alias with a token
stream of text that aliases old_name to
new_name, has comment and is a singleton
context.
Show source
def initialize(text, old_name, new_name, comment, singleton = false)
super()
@text = text
@singleton = singleton
@old_name = old_name
@new_name = new_name
self.comment = comment
end