... ---------------------------------------------------------------------- Ran 3 tests in 0.003s OK Module shared_variant { Type prod_with_attrs { Product { Field a string Field b string (attributes) Field spid int } } Type double_quoted { Product { Field left int Field tokens string (seq=True) } } Type expr { Sum { Constructor Binary { Field left expr Field right expr } Constructor DoubleQuoted %double_quoted (attributes) Field left_spid int Field right_spid int } } Type word_part { Sum { Constructor Literal { Field s string } Constructor DoubleQuoted %double_quoted } } Type cflow { Sum { Constructor Break Constructor Continue Constructor Return { Field val int } } } } (double_quoted left:5 tokens:[foo bar]) (expr.Binary left: (double_quoted left:5 tokens:[foo bar]) right: (double_quoted left:5 tokens:[foo bar]) )