Github user ottobackwards commented on a diff in the pull request:

    https://github.com/apache/metron/pull/814#discussion_r147568062
  
    --- 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 --
    
    I'll try that again.  I don't remember the specific reason why I ended up 
with it factored like this.  But this is what ended up working ;)



---

Reply via email to