All Downloads are FREE. Search and download functionalities are using the official Maven repository.

messages.attributeDescriptions.pin.html Maven / Gradle / Ivy

The newest version!


The number or pattern of expression to pin.

The contract:

  1. Pin is applied to items of grammar sequence expressions
  2. While matching a sequence parser will ignore errors after a pinned item

Parenthesized list example:


  {
    tokens=[number="regexp:\d+" comma="," paren1="(" paren2=")"]
  }
  list ::= "(" items? ")" {pin=1} // or {pin="("}
  private items ::= [!")" item (',' item) * ] {pin(".*")=1}
  item ::= number {recoverWhile=item_recover}
  private item_recover ::= !(")" | ",")




© 2015 - 2025 Weber Informatics LLC | Privacy Policy