Github user ottobackwards commented on a diff in the pull request: https://github.com/apache/metron/pull/814#discussion_r147785631 --- Diff: metron-stellar/stellar-common/src/main/antlr4/org/apache/metron/stellar/common/generated/Stellar.g4 --- @@ -272,4 +278,30 @@ lambda_variable: IDENTIFIER ; +match_expr : + MATCH LBRACE match_clauses RBRACE #MatchClauses + ; + +match_clauses : + match_clause (COMMA match_clause)* + ; + +match_clause : + match_clause_check COLON match_clause_action + ; + +match_clause_action : + match_clause_action_expr #MatchClauseAction + ; +match_clause_action_expr : + transformation_expr + ; + +match_clause_check : --- End diff -- Done
---