def p_decl__trans1(self, p): "decl : TRANS '(' idents ',' idents pairs ')' idents" p[0] = ast.TransitionDeclAST(self, p[3], p[5], None, p[6], p[8])
def p_decl__trans2(self, p): "decl : TRANS '(' idents ',' idents ',' ident_or_star ')' idents idents" p[0] = ast.TransitionDeclAST(self, p[9], p[3], p[5], p[7], p[10])
def p_decl__trans0(self, p): "decl : TRANS '(' idents ',' idents ',' ident pairs ')' idents" p[0] = ast.TransitionDeclAST(self, p[3], p[5], p[7], p[8], p[10])
def p_decl__trans0(self, p): "decl : TRANS '(' idents ',' idents ',' ident ')' idents" p[0] = ast.TransitionDeclAST(self, [], p[3], p[5], p[7], p[9])