Add OpenFOAM parser

This commit is contained in:
Elwardi 2021-12-14 13:45:56 +01:00 committed by Stephan Seitz
parent 50fee51d35
commit 16e77495c4
9 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,8 @@
(dict) @class.outer
((dict_core) @class.inner)
((key_value value: _? @_start (_)* _? @parameter.inner)
(#make-range! "function.inner" @_start @parameter.inner)) @function.outer
(code (_)* @class.inner) @class.outer
((comment) @_start ((comment)+) @_end
(#make-range! "comment.outer" @_start @_end))
(comment) @comment.inner