mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Parse docs
This commit is contained in:
parent
8843235f5f
commit
504f537208
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ module Ameba
|
|||
def ast
|
||||
@ast ||=
|
||||
Crystal::Parser.new(code)
|
||||
.tap { |parser| parser.wants_doc = true }
|
||||
.tap { |parser| parser.filename = @path }
|
||||
.parse
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue