blob: 99f0eca5a6a2af2522b392fbc1d8d398dcd11e5d [file] [edit]
module RBS
module AST
# RBS allows writing documentation of declarations and members.
#
# # This is a doc for class.
# class Hello
# end
#
class Comment
attr_reader string: String
attr_reader location: Location?
def initialize: (string: String, location: Location?) -> void
def ==: (untyped other) -> bool
alias eql? ==
def hash: () -> Integer
def to_json: (*untyped) -> String
def concat: (string: String, location: Location?) -> self
end
end
end