Documentation on Grammars -- applyEndPatternLast


Would anyone point me to where I could get some information on this applyEndPatternLast in the Grammars.cson? Thanks!


In which grammar are you finding an example of this?


in these two packages:

  • language-groovy
  • language-groovy-cloned-from-java


So, this is not something that appears in the recommended grammar guide, nor in any of the resources I found, but, lo and behold, it’s in first-mate, which describes it as such. So it’s a flag that does precisely what it says: it applies the end pattern after the other patterns in the rule being assessed. What I’m not sure about is the specific use case.