fix(library/init/lean/parser/command): add partial modifier
This commit is contained in:
parent
b2e1ff8b3e
commit
ee5ffb8ee2
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,8 @@ def «protected» := parser! "protected "
|
|||
def visibility := «private» <|> «protected»
|
||||
def «noncomputable» := parser! "noncomputable "
|
||||
def «unsafe» := parser! "unsafe "
|
||||
def declModifiers := parser! optional docComment >> optional «attributes» >> optional visibility >> optional «noncomputable» >> optional «unsafe»
|
||||
def «partial» := parser! "partial "
|
||||
def declModifiers := parser! optional docComment >> optional «attributes» >> optional visibility >> optional «noncomputable» >> optional «unsafe» >> optional «partial»
|
||||
def declId := parser! ident >> optional (".{" >> sepBy1 ident ", " >> "}")
|
||||
def declSig := parser! many Term.bracktedBinder >> Term.typeSpec
|
||||
def optDeclSig := parser! many Term.bracktedBinder >> Term.optType
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue